194 lines
2.8 KiB
CSS
194 lines
2.8 KiB
CSS
:root {
|
|
--bg: white;
|
|
--border: white;
|
|
--text: black;
|
|
|
|
--text-pink-dark: #b261ed;
|
|
--text-mauve-dark: #ed61e1;
|
|
|
|
--text-pink-light: #630ea0;
|
|
--text-mauve-light: #8747a5;
|
|
|
|
--text-pink: var(--text-pink-light);
|
|
--text-mauve: var(--text-mauve-light);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--bg: black;
|
|
--text: white;
|
|
--text-pink: var(--text-pink-dark);
|
|
--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 {
|
|
background-color: var(--bg);
|
|
transition: 1s all;
|
|
color:var(--text);
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
scrollbar-color: var(--bg);
|
|
}
|
|
|
|
.margin {
|
|
min-height: 100vh;
|
|
padding-left: 5%;
|
|
padding-right: 5%;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#color-mode {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y:scroll;
|
|
}
|
|
|
|
header {
|
|
border-bottom: 1px solid #222;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
width: 100%;
|
|
padding-top: 10px;
|
|
color: var(--text-mauve);
|
|
text-align: center;
|
|
transition: 300ms color;
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1:hover {
|
|
color: var(--text-pink);
|
|
}
|
|
|
|
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: auto;
|
|
margin-bottom: 5pt;
|
|
padding-top: 0;
|
|
width: 100%;
|
|
min-height: 42pt;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.message {
|
|
display: flex;
|
|
flex-direction: horizontal;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin: 2pt;
|
|
}
|
|
|
|
|
|
.nav {
|
|
list-style-type: none;
|
|
margin: 5pt;
|
|
display: flex;
|
|
padding-left: 5pt;
|
|
padding-right: 5pt;
|
|
}
|
|
|
|
.nav-right {
|
|
list-style-type: none;
|
|
|
|
display: flex;
|
|
width: 50%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.nav-left {
|
|
list-style-type: none;
|
|
|
|
display: flex;
|
|
width: 50%;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
@media only screen and (max-width: 300pt) {
|
|
.nav {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.nav-right {
|
|
flex-direction: column;
|
|
display: flex;
|
|
}
|
|
|
|
.nav-left {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
li {
|
|
padding-left: 5pt;
|
|
padding-right: 5pt;
|
|
}
|
|
|
|
a, label {
|
|
color: var(--text-mauve);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* resize image that are in main, and center them */
|
|
main img {
|
|
max-width: 70vw;
|
|
max-height: 60vh;
|
|
min-width: 0;
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
display: flex;
|
|
float:none;
|
|
}
|