From b1ba576c043d1edde892cc8c1d7108e4c5fc3cad Mon Sep 17 00:00:00 2001 From: LEGALISE_PIRACY Date: Thu, 25 Jan 2024 20:56:53 +0000 Subject: [PATCH] Update style.css --- style.css | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/style.css b/style.css index a9846b0e..3d4d2779 100644 --- a/style.css +++ b/style.css @@ -68,6 +68,52 @@ header a:visited { margin-right: 2rem; margin-left: 1rem; } +.header { + overflow: hidden; + background-color: var(--uibg); + display: flex; + font-weight:700; + justify-content: center; +} + +.header a { + display: block; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +.header a:hover { + text-shadow: 2px 2px 6px var(--textcolor); +} + + +.header .icon { + display: none; +} + +@media screen and (max-width: 600px) { + .topnav a:not(:first-child) {display: none;} + .topnav a.icon { + float: right; + display: block; + } +} + +@media screen and (max-width: 600px) { + .topnav.responsive {position: relative;} + .topnav.responsive .icon { + position: absolute; + right: 0; + top: 0; + } + .header.responsive a { + float: none; + display: block; + text-align: left; + } footer a:hover, header a:hover {