cookbook/static/main.css

79 lines
1.2 KiB
CSS

:root {
--color-muted: #818181;
--color-bg: #fff;
--color-fg: #000;
--color-primary: #009688;
}
@media (prefers-color-scheme: dark) {
:root {
--color-muted: #818181;
--color-bg: #000;
--color-fg: #fff;
--color-primary: #009688;
}
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1.2em;
line-height: 1.5em;
background: var(--color-bg);
color: var(--color-fg);
}
main {
max-width: 800px;
margin-left: auto;
margin-right: auto;
padding: 2em;
}
#recipe-details {
font-size: 0.9em;
color: var(--color-muted);
}
#recipe-instructions li {
margin-bottom: 25px;
}
#recipe-footer {
font-size: 0.9em;
color: var(--color-muted);
font-style: italic;
}
a {
color: var(--color-primary);
}
a:hover {
text-decoration: none;
}
.recipe-item > * {
display: block;
}
.recipe-item .recipe-title {
font-weight: bold;
}
.recipe-item .recipe-description {
font-style: italic;
font-size: 1rem;
}
.recipe-item .recipe-user {
font-weight: normal;
font-style: italic;
font-size: 0.8rem;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 1em;
margin-bottom: 1.2em;
}