diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/main.scss | 7 | ||||
-rw-r--r-- | css/navBar.scss | 12 |
2 files changed, 12 insertions, 7 deletions
diff --git a/css/main.scss b/css/main.scss index 615ef99..591b8f8 100644 --- a/css/main.scss +++ b/css/main.scss @@ -58,6 +58,13 @@ code { font-family: $codeFont; } +img { + // Set the `color` property so that alternative + // text uses the correct colour. + + color: var(--textColour); +} + ul { list-style: none; diff --git a/css/navBar.scss b/css/navBar.scss index b311992..6d58578 100644 --- a/css/navBar.scss +++ b/css/navBar.scss @@ -1,19 +1,17 @@ #navBar { display: flex; font-family: $specialFont; - left: 50%; - max-width: calc($contentWidth + $padding * 2); padding: $padding; position: absolute; top: 0; - transform: translateX(-50%); width: 100%; section { - display: flex; - flex: 1 1 0; - gap: $gap; - text-align: center; + display: flex; + flex: 1 1 0; + gap: $gap; + justify-content: center; + text-align: center; &:first-of-type { justify-content: start; |