sofi-web/static/assets/css/base.css
2023-12-06 18:17:16 +01:00

101 lines
1.9 KiB
CSS

:root {
font-family: "Rubik", Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
min-height: 150vh;
color: rgba(255, 255, 255, 0.9);
background-color: #2d1740;
background-image: radial-gradient(hsl(324, 80%, 55%) 0.75px, hsl(273, 48%, 20%) 0.75px), radial-gradient(hsl(324, 80%, 55%) 0.75px, hsl(273, 48%, 20%) 0.75px);
background-size: 25px 25px;
background-position: 10px 10px;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
a {
color: #e74cac;
}
body {
margin: 0;
}
body > h1 {
font-size: 50px;
text-align: center;
font-family: "Nunito", "Rubik", Inter, Avenir, Helvetica, Arial, sans-serif;
}
body > h1 > a {
color: #fafafa;
text-decoration: underline;
text-decoration-color: #d52c9c;
}
main {
width: 40vw;
text-align: justify;
padding: 1rem;
background-color: rgba(10, 10, 10, 0.35);
border-radius: 5px;
}
.page-container {
display: flex;
margin: 0 10px;
gap: 15px;
flex-direction: row-reverse;
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: #dc3f99;
border: solid 3px;
border-color: #f38cc2 #dc158d #dc158d #f38cc2;
color: white;
}
@media only screen and (max-width: 900px) {
nav {
display: flex;
gap: 10px;
overflow: scroll;
}
}