recipe-site/style.css

60 lines
869 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;
}
2020-03-01 06:47:33 +00:00
.subrecipe-heading h3 {
display: inline-block;
}
.subrecipe-toggle {
margin-left: 10px;
}
.subrecipe-toggle::after {
font-style: italic;
}
.subrecipe .subrecipe-toggle::after {
content: "Show";
}
.subrecipe.open .subrecipe-toggle::after {
content: "Hide";
}
2020-02-29 19:01:50 +00:00
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;
}