From 2718b6660bd45f0b310067db4e2b18db80a4fff2 Mon Sep 17 00:00:00 2001 From: Ben Sanders Date: Sun, 23 Aug 2026 01:19:04 -0400 Subject: Added main and header tags to use the grid css system --- assets/css/main.css | 75 ++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 41 deletions(-) (limited to 'assets/css/main.css') diff --git a/assets/css/main.css b/assets/css/main.css index 50c6fbf..cca71d9 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -3,6 +3,14 @@ --primary-text-color: white; --primary-link-color: #1a73e8; --primary-font-family: arial; + --text-dim: #9099a6; + --max-wid: 1070px +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; } html, body { @@ -18,61 +26,46 @@ a { text-decoration: none; } -#Top-Bar { - background: yellow; -} - -#Site-Container { - width: 100%; - max-width: 1070px; +.wrap { + max-width: var(--max-wid); margin: 0 auto; + padding: 0 28px; } -nav#Site-Navigation ul { - padding: 0; - -} - -nav#Site-Navigation ul li { - list-style-type: none; - display: inline-block; - font-size: 18px; - padding: 15px;s +nav { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16px 0; } - -#Sidbar-Container { - background: green; - width: 30%; - text-align: center; - padding-top: 1em; - position: relative; -} - -.Profile-Sidebar img { - width: 100%; - max-width: 150px; - height: 100%; - border-radius: 50%; +.logo { + display: flex; + align-items: center; + gap: 18px; + font-family: var(--primary-font-family); + font-weight: 600; + font-size: 16px; + color: white; } -#Content-Container { - background: red; - width: 70%; +.nav-link { + display: flex; + align-items: center; + gap:32px; } -nav.My-Linktree li { - list-style-type: none; +.nav-link a { + font-size: 14.5px; + color: var(--text-dim); + transition: color .15s ease; } -nav.My-Linktree a { +.nav-link a:hover { color: white; } -nav.My-Linktree a:hover { - color: white; - text-decoration: underline; -} + footer { background: blue; -- cgit v1.2.3