thematdevdotorg/app/static/css/style.css

158 lines
2.7 KiB
CSS
Raw Normal View History

2020-11-04 11:30:38 +03:00
*, ::after, ::before {
box-sizing: border-box;
}
2020-11-06 17:51:15 +03:00
body {
margin: 0;
}
2020-11-04 11:30:38 +03:00
.pagehead {
width: 100%;
2020-11-06 17:51:15 +03:00
height: 100vh;
position: relative;
2020-11-04 11:30:38 +03:00
background: #111;
2020-11-06 17:51:15 +03:00
display: flex;
/*align-items: center;
justify-content: center;*/
flex-direction: column;
margin: 0;
}
.pagehead-inner {
position: inherit;
margin: 0;
width: 27%;
2020-11-07 15:10:52 +03:00
height: 55vh;
2020-11-06 17:51:15 +03:00
top: 50%;
left: 50%;
2020-11-07 15:10:52 +03:00
margin-left: -12%;
margin-top: -27vh;
2020-11-06 17:51:15 +03:00
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;
} */
2020-11-06 17:51:15 +03:00
.pagehead-inner > p {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 300;
margin: 0;
}
.btn-container {
display: flex;
position: inherit;
flex-direction: row;
}
2021-01-12 22:16:32 +03:00
.btn-container .btn {
2020-11-06 17:51:15 +03:00
width: 69px;
height: 69px;
margin: 10px;
background: #222;
color: white;
border-radius: 15px;
2021-01-12 22:16:32 +03:00
text-decoration: none;
display: flex;
2021-01-12 22:41:37 +03:00
justify-content: center;
align-items: center;
2020-11-06 17:51:15 +03:00
}
2021-01-12 22:16:32 +03:00
.btn-container .btn:hover {
2020-11-06 17:51:15 +03:00
transform: scale(1.2);
-webkit-transition: transform 0.5s ease-in-out;
background: white;
color: green;
2020-11-04 11:30:38 +03:00
}
2021-01-12 22:16:32 +03:00
.btn-container .btn:active {
2020-11-07 15:10:52 +03:00
transform: scale(0.8);
-webkit-transition: transform 0.2s ease-in-out;
}
2020-11-04 11:30:38 +03:00
.mainh {
color: white;
2020-11-06 17:51:15 +03:00
font-family: "Overpass Mono", monospace;
font-weight: 700;
margin: 0;
2020-11-04 11:30:38 +03:00
}
2020-11-06 17:51:15 +03:00
2020-11-07 15:10:52 +03:00
.pagebody {
width: 100%;
min-height: 100vh;
2020-11-07 15:10:52 +03:00
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;
2021-01-12 22:41:37 +03:00
text-align: center;
2020-11-07 15:10:52 +03:00
}
.project-container {
position: inherit;
display: flex;
2020-12-27 10:46:48 +03:00
flex-direction: row;
flex-wrap: wrap;
2021-01-12 22:41:37 +03:00
align-content: center;
justify-content: center;
2020-11-07 15:10:52 +03:00
}
.project-container-row {
display: flex;
position: inherit;
flex-direction: row;
}
.project-element {
position: inherit;
width: 300px;
display: flex;
flex-direction: column;
2021-01-12 22:41:37 +03:00
margin: .2rem;
2020-11-07 15:10:52 +03:00
}
.project-element > h1 {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 700;
margin: 0;
2021-01-12 22:41:37 +03:00
align-self: center;
text-align: center;
2020-11-07 15:10:52 +03:00
}
2021-01-12 22:41:37 +03:00
.project-element > p {
2020-11-07 15:10:52 +03:00
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 400;
margin: 0;
}
.project-element > img {
background: #222;
margin-top: 20px;
margin-bottom: 20px;
2021-01-12 22:41:37 +03:00
align-self: center;
2020-11-07 15:10:52 +03:00
}