FIX inline margin from header button, FIX custom font import
This commit is contained in:
parent
f696b07527
commit
e6257036b9
2 changed files with 12 additions and 12 deletions
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
.header-item {
|
.header-item {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-left: 2.5rem;
|
margin-inline: 1rem;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,10 @@ $font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubunt
|
||||||
|
|
||||||
{{ if .name }}
|
{{ if .name }}
|
||||||
|
|
||||||
$font: {{ .name }} !important;
|
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if .url }}
|
{{ if .url }}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: $font;
|
font-family: {{ .name }};
|
||||||
src: url({{ .url }}) format( {{ .format | default "ttf" }} );
|
src: url({{ .url }}) format( {{ .format | default "ttf" }} );
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
@ -19,6 +15,10 @@ $font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubunt
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
$font: {{ .name }} !important;
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
Loading…
Reference in a new issue