Compare commits
2 Commits
b7b4ab13b0
...
a52470e8b8
Author | SHA1 | Date |
---|---|---|
Ray Elliott | a52470e8b8 | |
Ray Elliott | 27a87af44f |
|
@ -11,7 +11,7 @@
|
|||
{{ with $stylesheet.css }}
|
||||
<link href="{{ relURL . }}" rel="stylesheet">
|
||||
{{ end }}
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,18 +1,3 @@
|
|||
@mixin font-body($weight: normal) {
|
||||
font-family: "Montserrat", sans-serif;
|
||||
font-weight: $weight;
|
||||
}
|
||||
|
||||
@mixin font-title($weight: normal) {
|
||||
font-family: "Montserrat", sans-serif;
|
||||
font-weight: $weight;
|
||||
}
|
||||
|
||||
@mixin font-link($weight: normal) {
|
||||
font-family: "Montserrat", sans-serif;
|
||||
font-weight: $weight;
|
||||
}
|
||||
|
||||
@mixin abs-full {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
@mixin font-1($weight) {
|
||||
font-family: "Montserrat", sans-serif;
|
||||
@if $weight == regular {
|
||||
font-weight: 400;
|
||||
} @else if $weight == bold {
|
||||
font-weight: 600;
|
||||
} @else {
|
||||
@error "font-weight #{$weight} not in valid font-weights for font-1: 'Montserrat'.";
|
||||
}
|
||||
}
|
||||
|
||||
@mixin font-body($weight: regular) {
|
||||
@include font-1($weight);
|
||||
}
|
||||
|
||||
@mixin font-title($weight: regular) {
|
||||
@include font-1($weight);
|
||||
}
|
||||
|
||||
@mixin font-link($weight: regular) {
|
||||
@include font-1($weight);
|
||||
}
|
|
@ -5,8 +5,11 @@
|
|||
@import "milligram/src/milligram.scss";
|
||||
|
||||
@import "imports/mixins.scss";
|
||||
|
||||
@import "imports/typography.scss";
|
||||
@import "imports/base.scss";
|
||||
@import "imports/layout.scss";
|
||||
|
||||
@import "imports/utility.scss";
|
||||
|
||||
@import "imports/header.scss";
|
||||
|
|
Reference in New Issue