yukijoou.kemonomimi.gay/static/style.css

93 lines
1.4 KiB
CSS
Raw Normal View History

2023-08-16 13:10:41 +00:00
:root {
--color-background: #bad2e0;
--color-background-header: #d4abee;
--color-background-main: #efc2e7;
--color-text: #211237;
--color-link: #162fb6;
--color-shadow: #0f5a87;
}
@media (prefers-color-scheme: dark) {
:root {
--color-background: #38235e;
--color-background-header: #5c5185;
--color-background-main: #69265c;
--color-text: #e9ddf8;
--color-link: #96a9e2;
--color-shadow: #200256;
}
}
2023-05-27 13:32:46 +00:00
* {
font-family: "sans-serif" sans;
2023-08-16 13:10:41 +00:00
color: var(--color-text);
2023-05-27 13:32:46 +00:00
}
a {
2023-08-16 13:10:41 +00:00
color: var(--color-link);
2023-05-27 13:32:46 +00:00
}
a:visited {
2023-08-16 13:10:41 +00:00
color: var(--color-link);
2023-05-27 13:32:46 +00:00
}
body {
2023-08-16 13:10:41 +00:00
background-color: var(--color-background);
2023-05-27 13:32:46 +00:00
display: flex;
flex-direction: column;
align-items: center;
}
header {
max-width: 30rem;
padding: 1rem;
margin: 0 0 2rem 0;
2023-08-16 13:10:41 +00:00
background-color: var(--color-background-header);
box-shadow: 5px 5px var(--color-shadow);
2023-05-27 13:32:46 +00:00
text-align: center;
}
header h1 {
font-weight: 100;
margin: 1rem 0 0 0;
}
header .subtitle {
margin: 0;
text-decoration: underline;
}
main {
max-width: 50rem;
padding: 1rem;
2023-08-16 13:10:41 +00:00
background-color: var(--color-background-main);
box-shadow: 5px 5px var(--color-shadow);
2023-05-27 13:32:46 +00:00
}
footer {
max-width: 30rem;
margin-top: 2rem;
text-align: justify;
}
2023-08-16 13:33:14 +00:00
#site-navigation {
width: 100%;
}
#site-navigation ul {
width: 100%;
display: flex;
flex-wrap: wrap;
list-style-type: none;
justify-content: space-evenly;
padding: 0;
}
#site-navigation li {
padding: 0 1em;
}