bigblase.xyz/themes/violette/assets/css/main.css
2024-05-10 00:20:07 -04:00

153 lines
2.1 KiB
CSS

:root {
--bg: white;
--border: white;
--text: black;
--text-pink-dark: #ed61e1;
--text-mauve-dark: #c282e0;
--text-pink-light: #9d5191;
--text-mauve-light: #c282e0;
--text-pink: blue;
--text-mauve: #c282e0;
}
@media (prefers-color-scheme: dark) {
:root {
--bg:black;
--text:white;
--text-pink: var(--text-pink-light);
--text-mauve: var(--text-mauve-dark);
}
}
#color-mode:checked ~ .color-scheme-wrapper {
--bg:black;
--text:white;
--text-pink: var(--text-pink-dark)
--text-mauve: var(--text-mauve-dark)
}
@media (prefers-color-scheme: dark) {
#color-mode:checked ~ .color-scheme-wrapper {
--bg:white;
--text:black;
--text-pink: var(--text-pink-light)
--text-mauve: var(--text-mauve-light)
}
}
.color-scheme-wrapper {
min-height:100vh;
background:var(--bg);
transition: 1s all;
color:var(--text);
}
.margin {
padding-left: 20px;
padding-right: 20px;
}
#color-mode {
display: none;
}
body {
font-family: sans-serif;
line-height: 1.5;
margin: 0;
}
header {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
h1 {
width: 100%;
padding-top: 10px;
color: var(--text-pink);
text-align: center;
transition: 300ms color;
margin-top: 0;
}
h1:hover {
color: var(--text-mauve);
}
h2 {
color: var(--text-pink);
transition: 300ms color;
}
h2:hover {
color: var(--text-mauve);
transition-duration: 500ms;
}
h3 {
color: var(--text-pink);
padding-left: 20px;
}
footer {
border-top: 1px solid #222;
margin-top: 0;
padding-top: 0;
width: 100%;
display: flex;
position: sticky;
}
.footer {
color: var(--text);
align-items: center;
width: 100%;
display: flex;
justify-content: center;
gap: 10px;
}
.nav {
display: flex;
list-style-type: none;
margin: 5pt;
}
.nav-right {
display: flex;
align-items:flex-end;
justify-content: flex-end;
list-style-type: none;
width: 100%;
}
li {
padding-left: 5pt;
padding-right: 5pt;
}
ul {
padding-right: 5pt;
margin-left: 5pt;
}
a, label {
color: #c282e0;
text-decoration: none;
}
.toggle-dark {
align-self: flex-end;
width: auto;
padding-right: 20pt;
padding-left: 20pt;
}
.toggle-dark label {
width: 100%;
display: block;
}