Mercurial
comparison mrjunejune/src/parts/header.html @ 85:0618addd5438
Updated so CSS and JS works for non root path.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 01 Jan 2026 13:16:30 -0800 |
| parents | bcc76a156aea |
| children | 19cccf6e866a |
comparison
equal
deleted
inserted
replaced
| 84:bcc76a156aea | 85:0618addd5438 |
|---|---|
| 26 | 26 |
| 27 /* Professional header */ | 27 /* Professional header */ |
| 28 header { | 28 header { |
| 29 margin: auto; | 29 margin: auto; |
| 30 padding: 1.5em 1em; | 30 padding: 1.5em 1em; |
| 31 background: var(--header-background); | |
| 32 color: var(--header-color); | |
| 33 font-family: "Atkinson", sans-serif; | 31 font-family: "Atkinson", sans-serif; |
| 34 box-shadow: 0 2px 8px rgba(var(--black), 5%); | 32 box-shadow: 0 2px 8px rgba(var(--black), 5%); |
| 35 width: 720px; | 33 width: 720px; |
| 36 max-width: calc(100% - 2em); | 34 max-width: calc(100% - 2em); |
| 37 text-align: center; | 35 text-align: center; |
| 135 <header> | 133 <header> |
| 136 <h1> | 134 <h1> |
| 137 <a href="/"><img id="logo" src="/public/logo_white.png"> </a> | 135 <a href="/"><img id="logo" src="/public/logo_white.png"> </a> |
| 138 </h1> | 136 </h1> |
| 139 </header> | 137 </header> |
| 140 <script src="index.js"></script> | 138 <script src="/index.js"></script> |
| 141 | 139 |