diff options
author | gbmor <ahriman@falte.red> | 2020-05-08 15:49:58 -0400 |
---|---|---|
committer | gbmor <ahriman@falte.red> | 2020-05-08 15:49:58 -0400 |
commit | 50fd7c6a15ce720c91260665b2f943978e2f305e (patch) | |
tree | 7d00f4ef32c998006770ed70454113ffce20bf34 | |
parent | 08395f9676d99a438c510efa24a61ecb2c00deed (diff) | |
download | site-50fd7c6a15ce720c91260665b2f943978e2f305e.tar.gz |
renovated nav bar to <a> display: block, and some tweaks to make it look nice otherwise. removed nav link highlight color and decoration, nav td hover shows a lightened color
-rw-r--r-- | header.html | 12 | ||||
-rw-r--r-- | tilde.css | 15 |
2 files changed, 20 insertions, 7 deletions
diff --git a/header.html b/header.html index 813fc5b..2647046 100644 --- a/header.html +++ b/header.html @@ -18,12 +18,6 @@ <a href="/signup">Sign Up</a> </td> <td> - <a href="/coc">Code of Conduct</a> - </td> - <td> - <a rel="me" href="https://tilde.zone/@tildeinstitute">Mastodon</a> - </td> - <td> <a href="https://wiki.tilde.institute">Wiki</a> </td> <td> @@ -36,6 +30,12 @@ <a href="https://twtxt.tilde.institute">twtxt</a> </td> <td> + <a rel="me" href="https://tilde.zone/@tildeinstitute">Fediverse</a> + </td> + <td> + <a href="/coc">CoC</a> + </td> + <td> <a href="tilde.json"><code>tilde.json</code></a> </td> </tr> diff --git a/tilde.css b/tilde.css index 2772cb9..e409181 100644 --- a/tilde.css +++ b/tilde.css @@ -25,9 +25,22 @@ body { #navigation td { text-align: center; vertical-align: center; - padding: 5px; + margin: 5px; + height: 1.5em; background-color: #0B3861 } +#navigation td:hover { + background-color: #045fb4; +} +#navigation td a { + display: block; + width: 100%; + text-decoration: none; +} +#navigation td a:hover { + text-decoration: none; + color: #ffffff; +} #front-content { max-width: 69%; float: left; |