recipe-site/style.css

43 lines
604 B
CSS
Raw Normal View History

2020-02-29 19:01:50 +00:00
body {
2020-02-29 20:26:37 +00:00
font-family: "DejaVu Sans", "Bitstream Vera Sans", "Helvetica", "Roboto", sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
background: #fafafa;
2020-02-29 19:01:50 +00:00
}
2020-02-29 20:26:37 +00:00
body div {
flex-grow: 1;
}
2020-02-29 19:01:50 +00:00
.subrecipe {
2020-02-29 20:26:37 +00:00
background: #eee;
2020-02-29 19:01:50 +00:00
padding: 5px;
}
.subrecipe h3 {
margin: 0;
}
.subrecipe-output {
height: 0;
overflow-y: hidden;
}
.subrecipe.open .subrecipe-output {
height: min-content;
}
ul {
list-style-type: "- ";
}
ul, ol {
list-style-position: inside;
padding-left: 10px;
}
2020-02-29 20:26:37 +00:00
footer {
text-align: center;
margin: 20px auto;
}
footer, .subtle {
color: grey;
font-style: italic;
}