]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - css/style.css
Apply effects only to .a a
[rbdr/r.bdr.sh] / css / style.css
index 175931e379d870dccb35cfa61be067bcd3101574..0164b1f5e95a347738009731f6ded30ac4d9339a 100644 (file)
@@ -97,31 +97,8 @@ 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 }
-  }
-}
+.a a { text-decoration: underline silver }
+.a a:hover { text-decoration: underline #00f }
 
 .h2 a {
   display: inline-block;
@@ -174,9 +151,8 @@ 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 }
-  }
+  .a a { text-decoration: underline dimgray }
+  .a a:hover { text-decoration: underline #5dc1fd }
   pre { background-color: #222 }
   header h1 a {
     -webkit-text-stroke: 1px #fff;