about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-06-06 22:29:40 +0530
committerAndinus <andinus@nand.sh>2020-06-06 22:36:35 +0530
commit8cb0f40a0b7e6ea15e7fb12e29ab03d71db20305 (patch)
tree858c04de16c5ad6b5e18d19ddd08cfd1d3578bc8
parent328582b10183c95483b25774b64f670a11517ba8 (diff)
downloadsite-8cb0f40a0b7e6ea15e7fb12e29ab03d71db20305.tar.gz
Revert "Restyle header links"
This reverts commit f3e764f4051f4d53b98252162f480a05457c47b7.
-rw-r--r--header.html48
-rw-r--r--tilde.css28
2 files changed, 59 insertions, 17 deletions
diff --git a/header.html b/header.html
index 7b6ce63..3b4b93d 100644
--- a/header.html
+++ b/header.html
@@ -9,15 +9,41 @@
    ╚═╝   ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝╚═╝╚═╝  ╚═══╝╚══════╝   ╚═╝   ╚═╝   ╚═╝    ╚═════╝    ╚═╝   ╚══════╝</pre>
 </div>
 <div id="navigation">
-  <a href="http://tilde.institute">News</a>
-  <a href="/faq">FAQ</a>
-  <a href="/signup">Sign Up</a>
-  <a href="https://wiki.tilde.institute">Wiki</a>
-  <a href="https://git.tilde.institute/">Git</a>
-  <a href="https://twtxt.tilde.institute">twtxt</a>
-  <a href="https://crawl.tildeverse.org">crawl/dcss</a>
-  <a rel="me" href="https://tilde.zone/@tildeinstitute">Fediverse</a>
-  <a href="/stats">Stats</a>
-  <a href="/coc">CoC</a>
-  <a href="tilde.json"><code>tilde.json</code></a>
+    <table>
+        <tr>
+            <td>
+                <a href="http://tilde.institute">News</a>
+            </td>
+	    <td>
+		<a href="/faq">FAQ</a>
+	    </td>
+            <td>
+                <a href="/signup">Sign Up</a>
+            </td>
+            <td>
+                <a href="https://wiki.tilde.institute">Wiki</a>
+            </td>
+            <td>
+                <a href="https://git.tilde.institute/">Git</a>
+            </td>
+            <td>
+                <a href="https://twtxt.tilde.institute">twtxt</a>
+            </td>
+	    <td>
+		<a href="https://crawl.tildeverse.org">crawl/dcss</a>
+	    </td>
+            <td>
+                <a rel="me" href="https://tilde.zone/@tildeinstitute">Fediverse</a>
+            </td>
+            <td>
+                <a href="/stats">Stats</a>
+            </td>
+            <td>
+                <a href="/coc">CoC</a>
+            </td>
+            <td>
+                <a href="tilde.json"><code>tilde.json</code></a>
+            </td>
+        </tr>
+    </table>
 </div>
diff --git a/tilde.css b/tilde.css
index 8745bf7..fd7e224 100644
--- a/tilde.css
+++ b/tilde.css
@@ -25,19 +25,35 @@ pre {
 }
 
 #navigation {
-    line-height: 2.4em;
+    margin: 0 auto;
     text-align: center;
 }
 
-#navigation a {
-    padding: 0.36em;
-    margin: -0.05em;
-    text-decoration: none;
+#navigation table {
+    border: 0px;
+    width: 100%;
+}
+
+#navigation td {
+    text-align: center;
+    vertical-align: center;
+    height: 1.5em;
     background-color: #0B3861;
 }
 
-#navigation a:hover {
+#navigation td:hover {
     background-color: #045fb4;
+}
+
+#navigation td a {
+    display: block;
+    width: 100%;
+    text-decoration: none;
+    min-width: 3.5rem;
+}
+
+#navigation td a:hover {
+    text-decoration: none;
     color: #ffffff;
 }