website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit 83a780a95786e0af4bdf3baa18e97b3312c9df98
parent d17feb57705266ff3cd4cb5e22c8706ac862d68c
Author: Nixx <nixx@firemail.cc>
Date:   Tue, 28 Dec 2021 12:52:48 +0000

Fixed mobile nav borders

Diffstat:
Mcss/main.css | 29++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/css/main.css b/css/main.css @@ -5,6 +5,19 @@ body { color: white; } +.content, .mobilenav, .nav { + background: black; + transition: 0.3s; + opacity: 0.9; + border: 1px solid var(--pink); + box-shadow: 2px 2px 0 var(--lred), + 4px 4px 0 var(--dred); +} + +.content:hover, .mobilenav:hover, .nav:hover { + opacity: 1; +} + .content { margin-left: 180px; padding: 8px 16px 8px 16px; @@ -18,6 +31,9 @@ body { top: 0; left: 0; z-index: 1; + border-top: none; + border-left: none; + border-right: none; } .nav { @@ -32,19 +48,6 @@ body { filter: grayscale(0); } -.content, .mobilenav, .nav { - background: black; - transition: 0.3s; - opacity: 0.9; - border: 1px solid var(--pink); - box-shadow: 2px 2px 0 var(--lred), - 4px 4px 0 var(--dred); -} - -.content:hover, .mobilenav:hover, .nav:hover { - opacity: 1; -} - .tableimg { height: 40px; width: 40px;