]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
Technical styleguide
[irc/freenode/web-7.0.git] / static / css / style.css
index 565f9a71a9f7c6ba3a18f277f89f78e68ef2f102..74930e4ee19dd25d5b4a78696de7b3ad88315f7e 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;
 }
@@ -292,6 +295,7 @@ tr:nth-child(odd) {
     padding: 4em 0 4em 0;
 }
 
+/* j = jumbotron */
 .jindex {
     z-index: 99;
 }
@@ -362,6 +366,7 @@ tr:nth-child(odd) {
     margin-top: .75em;
 }
 
+/* fa = font awesome */
 .fa-users {
     margin-top: var(--margin-box-fa);
 }
@@ -420,7 +425,7 @@ tr:nth-child(odd) {
 h1 {
     margin: 0;
 }
-
+/* art = article */
 .artlist ul {
     padding: 0;
     list-style-type: none;
@@ -440,6 +445,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 +525,7 @@ blockquote {
 }
 
 /* faq */
+/* kb = knowledge base */
 .kb-index {
     list-style-type: none;
     padding-left: 0;
@@ -632,6 +645,7 @@ footer a:hover {
         margin-bottom: .1em;
     }
 
+    /* hdn = hidden */
     .hdn {
         display: none;
     }
@@ -702,6 +716,5 @@ footer.copyright div {
 }
 
 .copyright img {
-    height: 1.5rem;
     width: auto;
 }