0
0
Fork 0

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:
Minku Lee 2018-09-24 03:41:24 +09:00 committed by Eugen Rochko
parent ef11347281
commit d0d65b5a28
10 changed files with 42 additions and 38 deletions

View file

@ -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 {