From 183239ad18c2213bc5c1ce8cbe7d8aad88cd349a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 5 Oct 2024 15:42:50 +0300 Subject: [PATCH] fixing links alignment --- style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 92ee510..f2b771e 100644 --- a/style.css +++ b/style.css @@ -16,7 +16,10 @@ body { } .site-header { width: 100%; padding: 10px 0; background-color: rgba(0, 0, 0, 0.85); position: fixed; top: 0; z-index: 10; text-align: center; overflow-x: auto; } -.nav ul { list-style: none; display: flex; justify-content: center; gap: 20px; } +.nav ul { list-style: none; display: flex; +justify-content: center; +gap: 20px; +} .nav a { text-decoration: none; color: #00FFAA; font-size: 1.2rem; text-shadow: 1px 1px 2px #000; padding: 10px; } .nav a:hover { color: #FF00FF; } @@ -46,7 +49,13 @@ position: fixed; top: 0; z-index: 10; text-align: center; overflow-x: auto; } margin: 10px 0; color: #FFF; } +.links { + justify-content: center; + text-align: center; + width: 80%; + margin: auto; +} .glitch { position: relative; font-size: 2rem;