]> git.draconx.ca Git - homepage.git/blobdiff - content/style.scss
Release cdecl99-1.
[homepage.git] / content / style.scss
index 912fe4aa7796124d590af0929587a1dd08b8c594..a550ea291b09dde4dcee40cb329bafe2c2565dd5 100644 (file)
@@ -1,4 +1,4 @@
-/*
+/*!
  * Nick's web site: default stylesheet
  *
  * Copyright © 2018-2021 Nick Bowler
@@ -273,41 +273,41 @@ $clickynames: name, date, size;
         opacity: 0;
         z-index: -2;
     }
+}
 
-    th.clicky-#{$col}>label {
-        white-space: nowrap;
-        cursor: pointer;
-        line-height: 1.5em;
+thead.clicky label {
+    white-space: nowrap;
+    line-height: 1.5em;
+    cursor: pointer;
 
-        &>* {
-            display: -moz-inline-box;
-            display: inline-block;
-            border: 1px dotted transparent;
-            vertical-align: middle;
-        }
+    &>* {
+        display: -moz-inline-box;
+        display: inline-block;
+        border: 1px dotted transparent;
+        vertical-align: middle;
+    }
 
-        // Expand the first label a bit so the table (hopefully)
-        // does not reshape as columns are selected.
-        &:first-child {
-            margin-right: 1.75em;
-            padding-right: 2px;
-        }
+    // Expand the first label a bit so the table (hopefully)
+    // does not reshape as columns are selected.
+    &:first-child {
+        margin-right: 1.75em;
+        padding-right: 2px;
+    }
 
-        &:active { color: $linkactivecolour; }
-        &:first-child:active>span, &~label:active>.svg {
-            border-color: $linkactivecolour;
-        }
+    &:active { color: $linkactivecolour; }
+    &:first-child:active>span, &~label:active>.svg {
+        border-color: $linkactivecolour;
+    }
 
-        .svg {
-            margin-left: 0.25em;
-        }
+    .svg {
+        margin-left: 0.25em;
+    }
 
-        .svg, svg, img.svgfallback {
-            height: 1.5em;
-            width: auto;
-        }
-        .svg svg { width: 1.5em; }
+    .svg, svg, img.svgfallback {
+        height: 1.5em;
+        width: auto;
     }
+    .svg svg { width: 1.5em; }
 }
 
 table.filelist {
@@ -319,6 +319,7 @@ table.filelist {
 
     tbody {
         .svg, svg, img.svgfallback {
+            vertical-align: middle;
             height: 1.5em;
             width: auto;
         }
@@ -366,6 +367,8 @@ table.filelist {
 #footer p { color: $annotationcolour; }
 #article-info p { font-style: italic; }
 
+.wbr:after { content: "\200b"; }
+
 // "unordered" lists with explicit ordering in content
 ul.ordered > {
     li { list-style: none; }