-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1251 from twm/revis
Restyle header
- Loading branch information
Showing
17 changed files
with
422 additions
and
536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,85 @@ | ||
.yarrharr-masthead { | ||
#global-nav { | ||
display: flex; | ||
justify-content: space-between; | ||
background: var(--footer-background-color); | ||
|
||
--focus-offset: calc(2 * var(--focus-offset-in)); /* Don't clip focus ring. */ | ||
|
||
& > a[href], | ||
& > button { | ||
background: transparent; | ||
border: none; | ||
} | ||
|
||
& > * { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
box-sizing: border-box; | ||
} | ||
|
||
& > * > .icon { | ||
display: block; | ||
font-size: var(--icon-size); | ||
} | ||
|
||
& > .square { | ||
flex: 0 0 var(--bar-height); | ||
} | ||
} | ||
|
||
|
||
#masthead { | ||
display: flex; | ||
flex: 0 0 auto; | ||
font: 1.5rem Montez, sans-serif; | ||
padding: 0 0.5rem; | ||
|
||
img { | ||
flex: 1 1 auto; | ||
width: auto; | ||
height: auto; | ||
max-height: 100%; | ||
filter: var(--logo-filter); | ||
&:link { | ||
text-decoration: none; | ||
} | ||
|
||
.logotype { | ||
display: block; | ||
width: 10rem; | ||
} | ||
.lettertype { | ||
display: none; | ||
width: 3rem; | ||
} | ||
|
||
@media (max-width: 30rem) { | ||
.logotype { display: none; } | ||
.lettertype { display: block; } | ||
} | ||
} | ||
|
||
.global-links { | ||
flex: 1 1 100%; | ||
display: flex; | ||
} | ||
|
||
.global-link { | ||
flex: 0 1 auto; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
--focus-offset: var(--focus-offset-in); /* Don't clip focus ring. */ | ||
padding: 1rem; /* Ensure spacing between */ | ||
font-variant: small-caps; | ||
font-variation-settings: "opsz" 25; | ||
|
||
.icon { | ||
--icon-color: var(--selected-color); | ||
} | ||
|
||
span { | ||
padding: 0 0 0 0.25rem; | ||
} | ||
|
||
@media (max-width: 30rem) { | ||
display: flex; | ||
padding: 0.25rem; | ||
flex-flow: column nowrap; | ||
align-items: center; | ||
|
||
&.secondary { | ||
display: none; | ||
} | ||
|
||
span { | ||
padding: 0.25rem 0 0 0; | ||
font-size: smaller; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.