]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - css/style.css
Remove older nth of type
[rbdr/r.bdr.sh] / css / style.css
index 2572c67afca88aaa0bb70bae8373df01ba065ea3..82b7a64bdac59d45c757c519a549e2af4b1b560d 100644 (file)
@@ -71,7 +71,7 @@ pre {
   overflow-x: auto;
   padding: 1em;
 }
-pre[role="img"] { display: none }
+pre[aria-label="rbdr"] { display: none }
 blockquote, p, article > div {
   max-width: 45em
 }
@@ -81,7 +81,7 @@ blockquote {
 }
 p { margin: 1em 0 }
 ul { padding-left: 2em }
-br { display: none }
+br, p:empty { display: none }
 h1, h2, h3 {
   font-family: "Avenir Next", "Montserrat", "Segoe UI Variable Display", "Noto Sans", "Roboto", "Segoe UI", sans-serif;
   font-weight: 900
@@ -97,31 +97,6 @@ h3 {
 }
 
 h1, h2, h3, a { color: #00f }
-[data-title="/index.html"] {
-  .h2:nth-of-type(n+5):nth-of-type(-n+6) {
-    h2, h3, a { color: #EE0700 }
-  }
-
-  .h2:nth-of-type(n+7):nth-of-type(-n+9) {
-    h2, h3, a { color: #6A5ACD }
-  }
-
-  .h2:nth-of-type(10) {
-    h2, h3, a { color: #A76905 }
-  }
-
-  .h2:nth-of-type(11) {
-    h2, h3, a { color: #398557 }
-  }
-
-  .h2:nth-of-type(n+12):nth-of-type(-n+16) {
-    h2, h3, a { color: #D505C6 }
-  }
-
-  .h2:nth-of-type(17) {
-    h2, h3, a { color: #6A788A }
-  }
-}
 
 .h2 a {
   display: inline-block;
@@ -174,9 +149,6 @@ canvas {
     border: 1px solid #fff;
   }
   h1, h2, h3, a { color: #5dc1fd }
-  [data-title="/index.html"] .h2:nth-of-type(n+7):nth-of-type(-n+9) {
-    h2, h3, a { color: #675CFB }
-  }
   pre { background-color: #222 }
   header h1 a {
     -webkit-text-stroke: 1px #fff;