-
Notifications
You must be signed in to change notification settings - Fork 0
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
26 changed files
with
679 additions
and
2,463 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
Large diffs are not rendered by default.
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
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 +1 @@ | ||
@import 'font-basis'; | ||
@forward 'font-basis'; |
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,16 +1,22 @@ | ||
@use '../../../node_modules/sass-basis/src/css/core'; | ||
|
||
body { | ||
letter-spacing: 1px; | ||
} | ||
|
||
a { | ||
@include _transition(background-color, color); | ||
color: _dark($color-primary); | ||
@include core.transition(background-color, color); | ||
color: color-mix(in srgb, var(--color-primary), #000 20%); | ||
} | ||
|
||
.hljs, pre { | ||
background-color: #15191d; | ||
} | ||
|
||
.hljs { | ||
padding: var(--_padding1); | ||
} | ||
|
||
pre { | ||
border: none; | ||
} |
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,9 +1,9 @@ | ||
.#{$_prefix}l-footer { | ||
padding: ($_base-line-height * 2) 0 0; | ||
background-color: _var-dark-color-text(); | ||
color: _var-color-white(); | ||
.l-footer { | ||
padding: var(--_padding2) 0 0; | ||
background-color: var(--_dark-color-text); | ||
color: white; | ||
|
||
a { | ||
color: _var-color-gray(); | ||
color: var(--_color-gray); | ||
} | ||
} |
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,42 +1,44 @@ | ||
.#{$_prefix}l-header { | ||
@include _transition(background-color, color); | ||
@use '../../../node_modules/sass-basis/src/css/core'; | ||
|
||
.l-header { | ||
@include core.transition(background-color, color); | ||
z-index: 1; | ||
background-color: transparent; | ||
color: _var-color-white(); | ||
color: white; | ||
|
||
[data-scrolled="true"] & { | ||
background-color: _var-dark-color-text(); | ||
background-color: var(--_dark-color-text); | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
> .#{$_prefix}c-container { | ||
> .c-container { | ||
position: relative; | ||
} | ||
|
||
.p-site-branding { | ||
padding: ($_base-line-height / 2) 0; | ||
padding: var(--_padding-1) 0; | ||
} | ||
|
||
.p-global-nav { | ||
color: _var-color-white(); | ||
color: white; | ||
|
||
a { | ||
color: inherit; | ||
} | ||
} | ||
|
||
.#{$_prefix}c-hamburger-btn { | ||
.c-hamburger-btn { | ||
position: absolute; | ||
top: 50%; | ||
right: $_base-line-height; | ||
right: var(--_global--line-height); | ||
transform: translateY(-50%); | ||
|
||
&__bar { | ||
background-color: _var-color-white(); | ||
background-color: white; | ||
} | ||
} | ||
} |
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,13 +1,13 @@ | ||
@import '../../../node_modules/sass-basis-layout/src/css/layout/container'; | ||
@use '../../../node_modules/sass-basis-layout/src/css/layout/container'; | ||
|
||
@import 'header'; | ||
@import 'footer'; | ||
@forward 'header'; | ||
@forward 'footer'; | ||
|
||
.#{$_prefix}l-container { | ||
background-color: _var-color-white(); | ||
.l-container { | ||
background-color: white; | ||
overflow: hidden; | ||
} | ||
|
||
.#{$_prefix}l-sub { | ||
@include _padding-top(2); | ||
.l-sub { | ||
padding-top: var(--_padding2); | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import 'btn'; | ||
@import 'copyright'; | ||
@import 'drawer'; | ||
@import 'section'; | ||
@forward 'btn'; | ||
@forward 'copyright'; | ||
@forward 'drawer'; | ||
@forward 'section'; |
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
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,41 +1,43 @@ | ||
@use '../../../../node_modules/sass-basis/src/css/core'; | ||
|
||
.c-section { | ||
@include _content(); | ||
@include _padding(3, 0); | ||
padding: var(--_padding3) 0; | ||
@include core.set-content-level(1); | ||
|
||
> .#{$_prefix}c-container { | ||
@include _content(); | ||
> .c-container { | ||
@include core.set-content-level(1); | ||
} | ||
|
||
&--bg { | ||
background-color: _var-lightest-color-gray(); | ||
border-top: 1px solid _var-lighter-color-gray(); | ||
border-bottom: 1px solid _var-lighter-color-gray(); | ||
background-color: var(--_lightest-color-gray); | ||
border-top: 1px solid var(--_lighter-color-gray); | ||
border-bottom: 1px solid var(--_lighter-color-gray); | ||
} | ||
|
||
&__title { | ||
@include _font-size-line-height(2); | ||
@include _margin(0, 0, 2); | ||
@include core.set-font-size-level(4); | ||
margin: 0 0 var(--_margin2); | ||
font-weight: normal; | ||
text-align: center; | ||
} | ||
|
||
&--border { | ||
border-bottom: 1px solid _var-lighter-color-gray(); | ||
@include _padding(2, 0); | ||
border-bottom: 1px solid var(--_lighter-color-gray); | ||
padding: var(--_padding2) 0; | ||
|
||
.c-section__h1 { | ||
@include _margin(0, 0, 1.5); | ||
@include _font-size-line-height(2.5rem); | ||
margin: 0 0 var(--_margin2); | ||
@include core.set-font-size-level(3); | ||
} | ||
|
||
.c-section__h2 { | ||
@include _margin(1.5, 0, 1); | ||
@include _font-size-line-height(2rem); | ||
margin: var(--_margin2) 0 var(--_margin1); | ||
@include core.set-font-size-level(2); | ||
} | ||
|
||
.c-section__h3 { | ||
@include _margin(1.5, 0, 1); | ||
@include _font-size-line-height(1.5rem); | ||
margin: var(--_margin2) 0 var(--_margin1); | ||
@include core.set-font-size-level(2); | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
@use '../../../../node_modules/sass-basis/src/css/core'; | ||
|
||
.p-global-nav { | ||
@include _font-size-line-height(14px); | ||
@include core.set-font-size-level(-1); | ||
|
||
.#{$_prefix}c-navbar__item a { | ||
@include _padding(.25, .5); | ||
.c-navbar__item a { | ||
padding: var(--_padding-2) var(--_padding-1); | ||
} | ||
} |
Oops, something went wrong.