Initial commit

This commit is contained in:
Mike JS. Choi
2017-07-24 10:22:05 +09:00
commit 7bae29cb75
39 changed files with 1652 additions and 0 deletions

View File

@ -0,0 +1,84 @@
/* ==========================================================================
Mixins
========================================================================== */
// Clearfix
@mixin clearfix {
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
}
// Font families
@mixin ff--sans-serif($font-weight: normal) {
font-family: 'Roboto', 'Helvetica Neue', Helvetica, sans-serif;
font-weight: $font-weight;
}
@mixin ff--code {
font-family: 'Roboto Mono', monospace;
}
// Font sizing
@mixin fs--title {
line-height: 1.5;
font-size: 4.8rem; // 48px
}
@mixin fs--heading-1 {
line-height: 1.5;
font-size: 3.2rem; // 32px
}
@mixin fs--heading-2 {
line-height: 1.5;
font-size: 2.4rem; // 24px
}
@mixin fs--heading-3 {
line-height: 1.5;
font-size: 2rem; // 20px
}
@mixin fs--heading-4 {
line-height: 1.6;
font-size: 1.8rem; // 18px
}
@mixin fs--body {
line-height: 1.5;
font-size: 1.8rem; // 18px
}
@mixin fs--meta {
line-height: 1;
font-size: 1.8rem; // 18px
}
@mixin fs--caption {
line-height: 1;
font-size: 1.6rem; // 16px
}
@mixin fs--code {
font-size: 1.4rem;
line-height: 1.5;
}
// Visually hide content
@mixin visually-hidden {
position: absolute;
margin: -1px;
border: 0;
padding: 0;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
}

View File

@ -0,0 +1,22 @@
/* ==========================================================================
Variabeles
========================================================================== */
$c-base__03: #0D2B35;
$c-base__02: #163541;
$c-base__01: #5C6E74;
$c-base__00: #697B82;
$c-base__0: #869395;
$c-base__1: #96A0A0;
$c-base__2: #EDE7D6;
$c-base__3: #FCF5E4;
$c-accent__blue: #0067FB;
$c-accent__darkblue: #0029F9;
$c-accent__green: #8BE367;
// Breakpoints
$bp__sm: 45rem; // 450px
// Misc
$m-border: 1px solid $c-base__2;