mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 06:23:16 +00:00
docs: Update header font (#785)
Updated alongside https://github.com/webrecorder/replayweb.page/pull/405 Long overdue match to Browsertrix docs styling ### Screenshots <img width="465" alt="Screenshot 2025-03-03 at 7 25 04 PM" src="https://github.com/user-attachments/assets/6829dcb7-d486-4793-a635-f1286b30efc0" />
This commit is contained in:
parent
9a7ac9bef1
commit
34a1e3d6c0
1 changed files with 29 additions and 7 deletions
|
@ -26,11 +26,21 @@
|
|||
font-feature-settings: "ss03";
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Konsole";
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
src: url("https://wr-static.sfo3.cdn.digitaloceanspaces.com/fonts/konsole/Konsolev1.1-VF.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
:root {
|
||||
--md-display-font: "Konsole", "Helvetica", sans-serif;
|
||||
--md-code-font: "Recursive", monospace;
|
||||
--md-text-font: "Inter", "Helvetica", "Arial", sans-serif;
|
||||
--wr-blue-primary: #0891B2;
|
||||
--wr-orange-primary: #C96509;
|
||||
--wr-blue-primary: #088eaf;
|
||||
--wr-orange-primary: #bb4a00;
|
||||
}
|
||||
|
||||
[data-md-color-scheme="webrecorder"] {
|
||||
|
@ -45,14 +55,26 @@
|
|||
|
||||
/* Nav changes */
|
||||
|
||||
.md-header__title {
|
||||
font-family: var(--md-code-font);
|
||||
font-variation-settings: "MONO" 0.51;
|
||||
.md-header__title,
|
||||
.md-nav__title {
|
||||
font-family: var(--md-display-font);
|
||||
text-transform: uppercase;
|
||||
font-variation-settings:
|
||||
"wght" 750,
|
||||
"wdth" 87;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.md-header__title--active {
|
||||
font-family: var(--md-text-font);
|
||||
font-weight: 600;
|
||||
font-family: var(--md-display-font);
|
||||
text-transform: none;
|
||||
font-variation-settings:
|
||||
"wght" 550,
|
||||
"wdth" 90;
|
||||
}
|
||||
|
||||
.md-header__button {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
/* Custom menu item hover */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue