Separate font-family into variable (#8763)
This will allow easier customization of font family instead of going through all occurrences of 'mastodon-font-sans-serif'.
This commit is contained in:
parent
ef11347281
commit
d0d65b5a28
10 changed files with 42 additions and 38 deletions
|
@ -1,7 +1,7 @@
|
|||
$no-columns-breakpoint: 600px;
|
||||
|
||||
code {
|
||||
font-family: 'mastodon-font-monospace', monospace;
|
||||
font-family: $font-monospace, monospace;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
@ -474,7 +474,7 @@ code {
|
|||
width: 100%;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
font-family: 'mastodon-font-monospace', monospace;
|
||||
font-family: $font-monospace, monospace;
|
||||
background: $ui-base-color;
|
||||
color: $primary-text-color;
|
||||
font-size: 14px;
|
||||
|
@ -718,7 +718,7 @@ code {
|
|||
.form_admin_settings_custom_css,
|
||||
.form_admin_settings_closed_registrations_message {
|
||||
textarea {
|
||||
font-family: 'mastodon-font-monospace', monospace;
|
||||
font-family: $font-monospace, monospace;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -742,7 +742,7 @@ code {
|
|||
border: 0;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
font-family: 'mastodon-font-monospace', monospace;
|
||||
font-family: $font-monospace, monospace;
|
||||
}
|
||||
|
||||
button {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue