mirror of
https://github.com/m3y54m/Embedded-Engineering-Roadmap.git
synced 2026-10-12 01:08:13 +03:00
style(explorer): use the roadmap's display typeface for UI; keep the body face for long text
This commit is contained in:
+14
-1
@@ -108,7 +108,7 @@ body {
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font: 15px/1.5 var(--font);
|
||||
font: 15px/1.5 var(--font-display);
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(1100px 760px at 12% -12%, var(--glow-a), transparent 62%),
|
||||
@@ -127,6 +127,18 @@ button {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Labels, titles and controls use the roadmap's display face; longer text keeps the body face. */
|
||||
.desc,
|
||||
.res-note,
|
||||
.res-also,
|
||||
.why,
|
||||
.howto,
|
||||
.empty,
|
||||
.result-sub,
|
||||
.tip-hint {
|
||||
font-family: var(--font);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
@@ -172,6 +184,7 @@ button {
|
||||
.brand-text strong {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: 1000;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user