]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
let not allowed in js when uglifying
[irc/freenode/web-7.0.git] / static / css / style.css
index 565f9a71a9f7c6ba3a18f277f89f78e68ef2f102..40bee2a669e7c5eec3524c8b3c350dd458727ac5 100644 (file)
@@ -106,6 +106,9 @@ img {
     height: 40px;
 }
 
+/* nav = navbar
+ * pia = Private Internet access
+ */
 #nav-logo { order: 10; }
 #nav-pia  { order: 30; }
 
@@ -187,13 +190,13 @@ img {
     }
 }
 
-.nlogo {
-    height: 40px;
-}
+/* n = nav */
+.nlogo { height: 40px; }
 
+/* t = text (used in jumbotron for small logo as text) */
 .tlogo {
-    height: 40px;
-    margin-bottom: -9px;
+    height: 2.4ex;
+    margin-bottom: -.47ex;
     margin-left: -10px;
     margin-right: -10px;
 }
@@ -240,6 +243,31 @@ img {
     margin-top: 0;
 }
 
+.toclink,
+.toclink:hover {
+    color: var(--text-color);
+}
+
+.toclink::after {
+    content: ' \f13d';
+    font-family: FontAwesome;
+    color: var(--link-color);
+    font-weight: normal;
+    opacity: 0;
+    transition: opacity .08s;
+}
+
+.toclink:hover::after {
+    opacity: 1;
+    color: var(--link-hover-color);
+}
+
+@media (--max-sm) {
+    .toclink::after {
+        opacity: 1;
+    }
+}
+
 ul {
     padding-left: 2em;
     list-style-type: disc;
@@ -292,6 +320,7 @@ tr:nth-child(odd) {
     padding: 4em 0 4em 0;
 }
 
+/* j = jumbotron */
 .jindex {
     z-index: 99;
 }
@@ -362,6 +391,7 @@ tr:nth-child(odd) {
     margin-top: .75em;
 }
 
+/* fa = font awesome */
 .fa-users {
     margin-top: var(--margin-box-fa);
 }
@@ -420,7 +450,7 @@ tr:nth-child(odd) {
 h1 {
     margin: 0;
 }
-
+/* art = article */
 .artlist ul {
     padding: 0;
     list-style-type: none;
@@ -440,6 +470,13 @@ h1 {
     margin-right: 2em;
 }
 
+.art-warning {
+    margin-bottom: 2em;
+    padding: .5em;
+    border: 1px solid var(--border-color);
+    color: red;
+}
+
 .art-body {
     margin-bottom: 1em;
 }
@@ -513,6 +550,7 @@ blockquote {
 }
 
 /* faq */
+/* kb = knowledge base */
 .kb-index {
     list-style-type: none;
     padding-left: 0;
@@ -632,6 +670,7 @@ footer a:hover {
         margin-bottom: .1em;
     }
 
+    /* hdn = hidden */
     .hdn {
         display: none;
     }
@@ -655,7 +694,7 @@ footer a:hover {
     }
     .footerchild ul li img,
     .footerchild ul li .fa-fw {
-        height: 2.5rem;
+        height: 3.5rem;
     }
 }
 
@@ -702,6 +741,5 @@ footer.copyright div {
 }
 
 .copyright img {
-    height: 1.5rem;
     width: auto;
 }