mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-04 08:10:26 +00:00
CSS: Tweaked css heading font to fall back to body font
This commit is contained in:
parent
bae0e80cee
commit
b24246085f
2 changed files with 1 additions and 3 deletions
resources/sass
|
@ -42,7 +42,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
font-family: var(--font-heading);
|
font-family: var(--font-heading, var(--font-body));
|
||||||
@include lightDark(color, #222, #BBB);
|
@include lightDark(color, #222, #BBB);
|
||||||
.subheader {
|
.subheader {
|
||||||
font-size: 0.5em;
|
font-size: 0.5em;
|
||||||
|
|
|
@ -60,10 +60,8 @@ $bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);
|
||||||
// CSS root variables
|
// CSS root variables
|
||||||
:root {
|
:root {
|
||||||
--font-body: #{$font-body};
|
--font-body: #{$font-body};
|
||||||
--font-heading: #{$font-body};
|
|
||||||
--font-code: #{$font-mono};
|
--font-code: #{$font-mono};
|
||||||
|
|
||||||
|
|
||||||
--color-primary: #206ea7;
|
--color-primary: #206ea7;
|
||||||
--color-primary-light: rgba(32,110,167,0.15);
|
--color-primary-light: rgba(32,110,167,0.15);
|
||||||
--color-link: #206ea7;
|
--color-link: #206ea7;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue