sofi-web/static/assets/css/base.css

96 lines
1.8 KiB
CSS
Raw Permalink Normal View History

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