body { font-family: sans-serif; } .subrecipe { background-color: #eee; 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; }