thematdevdotorg/app/static/css/style.css

158 lines
2.7 KiB
CSS

*, ::after, ::before {
box-sizing: border-box;
}
body {
margin: 0;
}
.pagehead {
width: 100%;
height: 100vh;
position: relative;
background: #111;
display: flex;
/*align-items: center;
justify-content: center;*/
flex-direction: column;
margin: 0;
}
.pagehead-inner {
position: inherit;
margin: 0;
width: 27%;
height: 55vh;
top: 50%;
left: 50%;
margin-left: -12%;
margin-top: -27vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
/* .pagehead-inner {
position: inherit;
margin: 0;
top: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
} */
.pagehead-inner > p {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 300;
margin: 0;
}
.btn-container {
display: flex;
position: inherit;
flex-direction: row;
}
.btn-container .btn {
width: 69px;
height: 69px;
margin: 10px;
background: #222;
color: white;
border-radius: 15px;
text-decoration: none;
display: flex;
justify-content: center;
align-items: center;
}
.btn-container .btn:hover {
transform: scale(1.2);
-webkit-transition: transform 0.5s ease-in-out;
background: white;
color: green;
}
.btn-container .btn:active {
transform: scale(0.8);
-webkit-transition: transform 0.2s ease-in-out;
}
.mainh {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 700;
margin: 0;
}
.pagebody {
width: 100%;
min-height: 100vh;
position: relative;
background: #222;
display: flex;
flex-direction: column;
margin: 0;
}
.pagebody-inner-section {
}
.pagebody-inner-section > h1 {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 700;
text-align: center;
}
.project-container {
position: inherit;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
justify-content: center;
}
.project-container-row {
display: flex;
position: inherit;
flex-direction: row;
}
.project-element {
position: inherit;
width: 300px;
display: flex;
flex-direction: column;
margin: .2rem;
}
.project-element > h1 {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 700;
margin: 0;
align-self: center;
text-align: center;
}
.project-element > p {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 400;
margin: 0;
}
.project-element > img {
background: #222;
margin-top: 20px;
margin-bottom: 20px;
align-self: center;
}