Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Inter as default langauge with updated styling #14

Merged
merged 1 commit into from
Oct 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions css/theme/source/swiss.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ $secondaryHighlight: gray;
@import "swiss-colors/black";
// ---------------------------------------------

// Pull in preferred font
@import "https://rsms.me/inter/inter.css";
// ---------------------------------------------

// Primary/body text
$mainFont: "Helvetica Neue", Arial, sans-serif;
$mainFont: "Inter", "Helvetica Neue", Arial, sans-serif;
$mainFontSize: 1.4em;
$mainColor: $textColor;

Expand All @@ -29,20 +33,23 @@ $blockMargin: .2em;

// Headings
$headingMargin: 0 0 $blockMargin 0;
$headingFont: "Helvetica Neue", Arial, sans-serif;
$headingFont: $mainFont;
$headingColor: $textColor;
$headingLineHeight: 1em;
$headingLetterSpacing: normal;
$headingTextTransform: none;
$headingTextShadow: none;
$headingFontWeight: normal;
$headingFontWeight: 800;
$heading1TextShadow: $headingTextShadow;

$heading1Size: 2.9em;
$heading2Size: 1.8em;
$heading3Size: 1.3em;
$heading4Size: 1.0em;

// Text
$textFontWeight: 400;

// Links and actions
$linkColor: $primaryHighlight;
$linkColorHover: lighten( $linkColor, 20% );
Expand Down Expand Up @@ -74,7 +81,7 @@ $viewport-wide: "min-width: 1280px";
.reveal ul,
.reveal ol,
.reveal blockquote {
font-weight: 300;
font-weight: $textFontWeight;
box-shadow: none;
padding: 0;
width: 90%;
Expand Down Expand Up @@ -116,7 +123,7 @@ $viewport-wide: "min-width: 1280px";
.reveal h4,
.reveal h5,
.reveal h6 {
font-weight: 700;
font-weight: $headingFontWeight;
}

.reveal h1 {
Expand Down
11 changes: 6 additions & 5 deletions css/theme/swiss.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* https://github.com/isagalaev/highlight.js/
*
*/
@import "https://rsms.me/inter/inter.css";
/*********************************************
* GLOBAL STYLES
*********************************************/
Expand All @@ -17,7 +18,7 @@ body {
background-color: #181818; }

.reveal {
font-family: "Helvetica Neue", Arial, sans-serif;
font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
font-size: 1.4em;
font-weight: normal;
color: #fff; }
Expand Down Expand Up @@ -48,8 +49,8 @@ body {
.reveal h6 {
margin: 0 0 0.2em 0;
color: #fff;
font-family: "Helvetica Neue", Arial, sans-serif;
font-weight: normal;
font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
font-weight: 800;
line-height: 1em;
letter-spacing: normal;
text-transform: none;
Expand Down Expand Up @@ -279,7 +280,7 @@ body {
.reveal ul,
.reveal ol,
.reveal blockquote {
font-weight: 300;
font-weight: 400;
box-shadow: none;
padding: 0;
width: 90%;
Expand Down Expand Up @@ -311,7 +312,7 @@ body {
.reveal h4,
.reveal h5,
.reveal h6 {
font-weight: 700; }
font-weight: 800; }

.reveal h1 {
margin-bottom: .3em; }
Expand Down