Compare commits

...

2 Commits

Author SHA1 Message Date
Ray Elliott 07d03510fd replace font-family declarations with mixins 2020-05-07 20:42:51 +00:00
Ray Elliott d166d38ae8 update .gitignore 2020-05-07 20:23:11 +00:00
4 changed files with 33 additions and 31 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/vendor /vendor
package-lock.json package-lock.json
composer.lock composer.lock
*.css.map

View File

@ -1,7 +1,8 @@
@mixin font-1($weight) { @mixin font-1($weight) {
// see functions.php->google_fonts() // see functions.php->google_fonts()
// and functions.php->_s_scripts() // and functions.php->_s_scripts()
font-family: "Montserrat", sans-serif; font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@if $weight == regular { @if $weight == regular {
font-weight: 400; font-weight: 400;
} @else if $weight == bold { } @else if $weight == bold {

View File

@ -19,7 +19,7 @@ address {
pre { pre {
background: $color__background-pre; background: $color__background-pre;
font-family: $font__pre; @include font-pre;
font-size: 0.9375rem; font-size: 0.9375rem;
line-height: $font__line-height-pre; line-height: $font__line-height-pre;
margin-bottom: 1.6em; margin-bottom: 1.6em;
@ -32,7 +32,7 @@ code,
kbd, kbd,
tt, tt,
var { var {
font-family: $font__code; @include font-code;
font-size: 0.9375rem; font-size: 0.9375rem;
} }