diff options
| author | Ben Sanders <ben@sanders.life> | 2026-08-23 01:19:04 -0400 |
|---|---|---|
| committer | Ben Sanders <ben@sanders.life> | 2026-08-23 01:19:04 -0400 |
| commit | 2718b6660bd45f0b310067db4e2b18db80a4fff2 (patch) | |
| tree | 61aeee4da9f126a5bf7846e87045a6e5683a0fe6 /assets/css/main.css | |
| parent | ba51982365ba38def6e1712f0dadb7201b16d853 (diff) | |
Added main and header tags to use the grid css system
Diffstat (limited to 'assets/css/main.css')
| -rw-r--r-- | assets/css/main.css | 75 |
1 files changed, 34 insertions, 41 deletions
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; |
