sofi-web/static/css/base.css
2023-11-25 18:48:11 +00:00

91 lines
1.4 KiB
CSS

:root {
font-family: "Rubik", Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
min-height: 100%;
color: rgba(255, 255, 255, 0.9);
background: #29468c;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
a {
color: #b8c3de;
}
body {
margin: 0;
}
body > h1 {
font-size: 50px;
text-align: center;
}
body > h1 > a {
color: #fafafa;
text-decoration: underline;
text-decoration-color: #2c9ad5;
}
main {
width: 40vw;
margin-bottom: 75px;
}
.page-container {
display: flex;
margin: 0 10px;
gap: 15px;
justify-content: center;
}
@media only screen and (max-width: 1600px) {
:root {
background-repeat: repeat-y;
}
}
@media only screen and (max-width: 900px) {
.page-container {
display: block;
width: 100%;
}
main {
width: 90%;
}
}
nav ul {
padding: 0;
list-style: none;
}
nav div ul a {
display: block;
width: 175px;
padding: 3px;
margin: 10px 0;
transition: all 150ms;
background-color: #686b77;
border: solid 3px #2c9ad5;
color: white;
}
@media only screen and (max-width: 900px) {
nav {
display: flex;
gap: 10px;
overflow: scroll;
}
}