diff options
| author | Charlotte Koch <charlotte@magentastripe.com> | 2024-01-07 22:54:30 -0800 |
|---|---|---|
| committer | Charlotte Koch <charlotte@magentastripe.com> | 2024-01-07 22:54:30 -0800 |
| commit | 58d7b26143f43204ecec20a0ca624e4de98cb58b (patch) | |
| tree | 08ec16b45ea4510422687693c0ef561d1ffc16da | |
| parent | b6fd65df4e773780f2c1beff3286273a5858e50e (diff) | |
Narrower page width and subtitle supportHEADmagentastripe
| -rw-r--r-- | assets/css/extra/extra.css | 42 | ||||
| -rw-r--r-- | layouts/partials/header.html | 7 |
2 files changed, 43 insertions, 6 deletions
diff --git a/assets/css/extra/extra.css b/assets/css/extra/extra.css index e5333fd..e5e7f7d 100644 --- a/assets/css/extra/extra.css +++ b/assets/css/extra/extra.css @@ -1,7 +1,41 @@ -/*Place custom CSS files, or add to this file `extra.css`, for additional CSS definitions.*/ +/* + * Place custom CSS files, or add to this file for additional CSS definitions. + */ - -/*Social media icons in footer*/ +/* Social media icons in footer */ .footer-social { margin-right: 0.5em; -}
\ No newline at end of file +} + +/* //////////////////////////////////////// */ + +/* + * Charlotte's additions to "Huey" theme + */ +body { + width: 60em; + margin: auto; +} + +@font-face { + font-family: StrongSword; + src: url("/font/strongswordpure.ttf"); +} + +.navbar-brand, .title { + font-family: StrongSword; +} + +.navbar-brand { + color: #8f714a; +} + +.title { + display: block; +} + +.subtitle { + font-weight: bold; + color: #000; + display: block; +} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 520f5cb..060bce0 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,7 +2,10 @@ <div class="container"> <nav class="navbar {{ .Site.Params.navbarStyle }} mb-4" role="navigation" aria-label="main navigation"> <div class="navbar-brand"> - <a class="navbar-item title {{ .Site.Params.navbarTitleStyle | default "has-text-black" }}" href="{{ .Site.BaseURL }}">{{.Site.Title}}</a> + <div class="navbar-item title {{ .Site.Params.navbarTitleStyle | default "has-text-black" }}" > + <a href="{{ .Site.BaseURL }}">{{.Site.Title}}</a> + <div class="subtitle">{{ .Site.Params.Subtitle }}</div> + </div> <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar-menu"> <span aria-hidden="true"></span> <span aria-hidden="true"></span> @@ -17,4 +20,4 @@ </div> </div> </nav> -</div>
\ No newline at end of file +</div> |
