63 lines
820 B
CSS
63 lines
820 B
CSS
/* Light Theme */
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
--background: #fffee6;
|
|
--foreground: #0f0f0e;
|
|
--accent: #26A269;
|
|
--link: #E7044C;
|
|
--link-visited: #A43737;
|
|
}
|
|
}
|
|
|
|
/* Dark Theme */
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #241F31;
|
|
--foreground: #F6F5F4;
|
|
--accent: #50C878;
|
|
--link: #FD8BAF;
|
|
--link-visited: #FB0452;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
max-width: 800px;
|
|
margin: auto;
|
|
padding: 0 16px;
|
|
font-family: 'Atkinson Hyperlegible', sans-serif;
|
|
}
|
|
|
|
a {
|
|
color: var(--link);
|
|
padding: 5px;
|
|
}
|
|
|
|
a:visited {
|
|
color: var(--link-visited);
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
footer {
|
|
text-align: center ;
|
|
}
|
|
|
|
img {
|
|
max-width: 600px ;
|
|
width: 100% ;
|
|
margin: auto ;
|
|
display: block ;
|
|
}
|
|
|
|
ul {
|
|
column-count: 3;
|
|
}
|
|
|
|
ul.recipe {
|
|
column-count: 1;
|
|
}
|