group heading styles together
authorDan Allen <dan@opendevise.com>
Wed, 17 Jul 2019 07:48:36 +0000 (01:48 -0600)
committerDan Allen <dan@opendevise.com>
Wed, 17 Jul 2019 07:48:36 +0000 (01:48 -0600)
src/css/doc.css

index c91937b..bc092bf 100644 (file)
   margin: 1rem 0 0;
 }
 
-.doc h3 {
+.doc > h1.page:first-child {
+  font-size: 2rem;
+  margin: 2rem 0 1.5rem;
+}
+
+#preamble + .sect1,
+.doc .sect1 + .sect1 {
+  margin-top: 2.5rem;
+}
+
+.doc h2:not(.discrete) {
+  border-bottom: 1px solid var(--section-divider-color);
+  margin-left: -1rem;
+  margin-right: -1rem;
+  padding: 0.4rem 1rem 0.1rem;
+}
+
+.doc h3:not(.discrete) {
   font-weight: 500;
 }
 
   max-width: 100%;
 }
 
-.doc > h1.page:first-child {
-  font-size: 2rem;
-  margin: 2rem 0 1.5rem;
-}
-
-#preamble + .sect1,
-.doc .sect1 + .sect1 {
-  margin-top: 2.5rem;
-}
-
-.doc h2:not(.discrete) {
-  border-bottom: 1px solid var(--section-divider-color);
-  margin-left: -1rem;
-  margin-right: -1rem;
-  padding: 0.4rem 1rem 0.1rem;
-}
-
 /*
 .doc .ulist .paragraph,
 .doc .olist .paragraph {