From 8cb0f40a0b7e6ea15e7fb12e29ab03d71db20305 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 6 Jun 2020 22:29:40 +0530 Subject: [PATCH] Revert "Restyle header links" This reverts commit f3e764f4051f4d53b98252162f480a05457c47b7. --- header.html | 48 +++++++++++++++++++++++++++++++++++++----------- tilde.css | 28 ++++++++++++++++++++++------ 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 @@ ╚═╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ 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; }