public/_static/site.css in utopia-project-0.4.0 vs public/_static/site.css in utopia-project-0.5.0
- old
+ new
@@ -140,5 +140,30 @@
font-size: 0.65rem;
margin: 1rem;
margin-top: 5rem;
}
+
+section.collapsible input[type=checkbox] {
+ display: none;
+}
+
+section.collapsible pre {
+ display: none;
+}
+
+section.collapsible input[type=checkbox]:checked ~ pre {
+ display: block;
+}
+
+section.collapsible > label {
+ cursor: pointer;
+}
+
+section.collapsible input[type=checkbox] ~ label > *:last-child:after {
+ content: '▸';
+ padding: 0 0.5rem;
+}
+
+section.collapsible input[type=checkbox]:checked ~ label > *:last-child:after {
+ content: '▾';
+}