From 6a35c00298ca82b3f1e715e899842c5e7ec9590d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sat, 13 May 2023 06:40:39 +0200 Subject: [PATCH] Make nav link styling global --- src/styles/global.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 9023881..846a71d 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -157,6 +157,27 @@ h1.cmr2-text { color: #fff; } +@media only screen and (max-width: 625px) { + nav.cmr2-text { + justify-content: left; + } +} + +nav.cmr2-text { + line-height: 1.5; + flex-wrap: nowrap; + overflow-x: auto; +} + +nav > a { + color: rgba(255, 255, 255, 0.4); + text-decoration: none; +} + +header { + margin: 0em 0 2em; +} + /* The following styling rules have been adopted from: https://github.com/codrops/LineHoverStyles/ */