РАСКУРx3

This commit is contained in:
fox
2021-01-12 22:16:32 +03:00
parent 3b5e88055c
commit dcfaf13c08
8 changed files with 19 additions and 19 deletions

1
app/static/css/fonts.css Normal file
View File

@@ -0,0 +1 @@
@import url('https://fonts.googleapis.com/css2?family=Overpass+Mono:wght@300;400;600;700&display=swap');

140
app/static/css/style.css Normal file
View File

@@ -0,0 +1,140 @@
*, ::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: 24%;
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 > 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%;
height: 100vh;
position: relative;
background: #222;
display: flex;
flex-direction: column;
margin: 0;
}
.pagebody-inner-section {
margin-top: 100px; margin-left: 300px;
}
.pagebody-inner-section > h1 {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 700;
}
.project-container {
position: inherit;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.project-container-row {
display: flex;
position: inherit;
flex-direction: row;
}
.project-element {
position: inherit;
width: 300px;
margin-right: 70px;
display: flex;
flex-direction: column;
}
.project-element > h1 {
color: white;
font-family: "Overpass Mono", monospace;
font-weight: 700;
margin: 0;
}
.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;
}

View File

@@ -0,0 +1,62 @@
body {
margin: 0;
}
h1 {
margin: 0;
}
.headline {
background: red;
color: white;
font-family: 'Overpass Mono', monospace;
font-weight: 700;
text-align: center;
margin: 0;
}
h1 {
color: white;
font-family: 'Overpass Mono', monospace;
font-weight: 600;
text-align: center;
font-size: 28px;
}
.intro {
width: 100%;
background-color: #111;
background-size: cover;
padding=bottom: 20px;
}
.monotext {
color: white;
font-family: 'Overpass Mono', monospace;
font-weight: 400;
margin: 20%;
font-size: 18px;
margin-top: 0;
margin-bottom: 0;
}
.mathformula {
color: white;
text-align: center;
margin: 0;
}
.btn-tex {
background: #222;
color: #bbb;
fill: #bbb;
position: relative;
top: 50%;
left: 50%;
}
.btn-tex:hover {
background: red;
color: #228;
-webkit-transform: scale(1.2);
-webkit-transform: rotate(30deg);
}