-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
672 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Don't use alpha, because borders mix together | ||
$borderColor: black; | ||
$lightBorderColor: lighten(black, 50%); | ||
|
||
$secondaryBackground: darken(white, 5%); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,83 @@ | ||
%body-font { | ||
font-family: $bodyFontFamily; | ||
font-size: 17px; | ||
line-height: 1.55em; | ||
@import "./media"; | ||
|
||
@media (min-width: 768px) { | ||
font-size: 20px; | ||
$fontFamilyComputerModern: "CMUSerif-Roman", Georgia, serif; | ||
$fontFamilyHelvetica: "Helvetica Neue", Helvetica, sans-serif; | ||
$fontFamilyMonospace: "CMUTypewriter-Light", monospace; | ||
|
||
// !important is used everywhere to stop inline styles from changing the font size | ||
|
||
@mixin font-body() { | ||
font-family: $fontFamilyComputerModern; | ||
font-size: 16px !important; | ||
line-height: 1.5; | ||
|
||
@include media(">=tablet", "<desktop") { | ||
font-size: 18px !important; | ||
} | ||
|
||
@include media(">=desktop") { | ||
font-size: 24px !important; | ||
} | ||
} | ||
|
||
@mixin font-monospace() { | ||
font-family: $fontFamilyMonospace; | ||
|
||
font-size: 14px !important; | ||
line-height: 1.5; | ||
|
||
@include media(">=tablet", "<desktop") { | ||
font-size: 16px !important; | ||
} | ||
|
||
@include media(">=desktop") { | ||
font-size: 22px !important; | ||
} | ||
} | ||
|
||
%system-font { | ||
font-family: $systemFontFamily; | ||
font-size: 14px; | ||
line-height: 1.55em; | ||
@mixin font-heading() { | ||
font-family: $fontFamilyHelvetica; | ||
|
||
@media (min-width: 768px) { | ||
font-size: 15px; | ||
font-size: 14px !important; | ||
line-height: 1.5; | ||
letter-spacing: 0.03em; | ||
-webkit-font-smoothing: antialiased; | ||
font-style: normal; | ||
font-weight: 400; | ||
text-transform: uppercase; | ||
|
||
@include media(">=tablet", "<desktop") { | ||
font-size: 18px !important; | ||
} | ||
|
||
@include media(">=desktop") { | ||
font-size: 20px !important; | ||
} | ||
} | ||
|
||
@mixin font-heading-small() { | ||
@include font-heading(); | ||
|
||
font-size: 12px !important; | ||
|
||
@include media(">=tablet", "<desktop") { | ||
font-size: 14px !important; | ||
} | ||
|
||
@include media(">=desktop") { | ||
font-size: 16px !important; | ||
} | ||
} | ||
|
||
%system-font-small { | ||
font-family: $systemFontFamily; | ||
font-size: 12px; | ||
line-height: 1.55em; | ||
@mixin font-sans() { | ||
font-family: $fontFamilyHelvetica; | ||
font-size: 12px !important; | ||
|
||
@include media(">=tablet", "<desktop") { | ||
font-size: 14px !important; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
font-size: 13px; | ||
@include media(">=desktop") { | ||
font-size: 16px !important; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import "../../../node_modules/include-media/dist/include-media"; | ||
|
||
$breakpoints: ( | ||
phone: 320px, | ||
tablet: 768px, | ||
desktop: 1024px | ||
); |
Oops, something went wrong.