-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bourbon, bitters and flexboxgrid
- Loading branch information
Showing
59 changed files
with
2,491 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'github-pages' | ||
gem 'github-pages' | ||
gem 'bourbon' | ||
gem 'bitters' |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Bitters 1.5.0 | ||
// http://bitters.bourbon.io | ||
// Copyright 2013-2015 thoughtbot, inc. | ||
// MIT License | ||
|
||
@import "variables"; | ||
|
||
@import "buttons"; | ||
@import "forms"; | ||
@import "layout"; | ||
@import "lists"; | ||
@import "media"; | ||
@import "tables"; | ||
@import "typography"; |
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,36 @@ | ||
#{$all-buttons} { | ||
appearance: none; | ||
background-color: $action-color; | ||
border: 0; | ||
border-radius: $base-border-radius; | ||
color: #fff; | ||
cursor: pointer; | ||
display: inline-block; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
-webkit-font-smoothing: antialiased; | ||
font-weight: 600; | ||
line-height: 1; | ||
padding: $small-spacing $base-spacing; | ||
text-align: center; | ||
text-decoration: none; | ||
transition: background-color $base-duration $base-timing; | ||
user-select: none; | ||
vertical-align: middle; | ||
white-space: nowrap; | ||
|
||
&:hover, | ||
&:focus { | ||
background-color: shade($action-color, 20%); | ||
color: #fff; | ||
} | ||
|
||
&:disabled { | ||
cursor: not-allowed; | ||
opacity: 0.5; | ||
|
||
&:hover { | ||
background-color: $action-color; | ||
} | ||
} | ||
} |
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,82 @@ | ||
fieldset { | ||
background-color: transparent; | ||
border: 0; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
legend { | ||
font-weight: 600; | ||
margin-bottom: $small-spacing / 2; | ||
padding: 0; | ||
} | ||
|
||
label { | ||
display: block; | ||
font-weight: 600; | ||
margin-bottom: $small-spacing / 2; | ||
} | ||
|
||
input, | ||
select, | ||
textarea { | ||
display: block; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
} | ||
|
||
#{$all-text-inputs} { | ||
appearance: none; | ||
background-color: $base-background-color; | ||
border: $base-border; | ||
border-radius: $base-border-radius; | ||
box-shadow: $form-box-shadow; | ||
box-sizing: border-box; | ||
margin-bottom: $small-spacing; | ||
padding: $base-spacing / 3; | ||
transition: border-color $base-duration $base-timing; | ||
width: 100%; | ||
|
||
&:hover { | ||
border-color: shade($base-border-color, 20%); | ||
} | ||
|
||
&:focus { | ||
border-color: $action-color; | ||
box-shadow: $form-box-shadow-focus; | ||
outline: none; | ||
} | ||
|
||
&:disabled { | ||
background-color: shade($base-background-color, 5%); | ||
cursor: not-allowed; | ||
|
||
&:hover { | ||
border: $base-border; | ||
} | ||
} | ||
|
||
&::placeholder { | ||
color: tint($base-font-color, 40%); | ||
} | ||
} | ||
|
||
textarea { | ||
resize: vertical; | ||
} | ||
|
||
[type="checkbox"], | ||
[type="radio"] { | ||
display: inline; | ||
margin-right: $small-spacing / 2; | ||
} | ||
|
||
[type="file"] { | ||
margin-bottom: $small-spacing; | ||
width: 100%; | ||
} | ||
|
||
select { | ||
margin-bottom: $small-spacing; | ||
width: 100%; | ||
} |
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,14 @@ | ||
html { | ||
box-sizing: border-box; | ||
} | ||
|
||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: inherit; | ||
} | ||
|
||
html, | ||
body { | ||
height: 100%; | ||
} |
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,19 @@ | ||
ul, | ||
ol { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
dl { | ||
margin: 0; | ||
} | ||
|
||
dt { | ||
font-weight: 600; | ||
margin: 0; | ||
} | ||
|
||
dd { | ||
margin: 0; | ||
} |
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,9 @@ | ||
figure { | ||
margin: 0; | ||
} | ||
|
||
img, | ||
picture { | ||
margin: 0; | ||
max-width: 100%; | ||
} |
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,24 @@ | ||
table { | ||
border-collapse: collapse; | ||
margin: $small-spacing 0; | ||
table-layout: fixed; | ||
width: 100%; | ||
} | ||
|
||
th { | ||
border-bottom: 1px solid shade($base-border-color, 25%); | ||
font-weight: 600; | ||
padding: $small-spacing 0; | ||
text-align: left; | ||
} | ||
|
||
td { | ||
border-bottom: $base-border; | ||
padding: $small-spacing 0; | ||
} | ||
|
||
tr, | ||
td, | ||
th { | ||
vertical-align: middle; | ||
} |
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,42 @@ | ||
body { | ||
color: $base-font-color; | ||
font-family: $base-font-family; | ||
font-size: $base-font-size; | ||
line-height: $base-line-height; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
font-family: $heading-font-family; | ||
font-size: modular-scale(1); | ||
line-height: $heading-line-height; | ||
margin: 0 0 $small-spacing; | ||
} | ||
|
||
p { | ||
margin: 0 0 $small-spacing; | ||
} | ||
|
||
a { | ||
color: $action-color; | ||
text-decoration: none; | ||
transition: color $base-duration $base-timing; | ||
|
||
&:active, | ||
&:focus, | ||
&:hover { | ||
color: shade($action-color, 25%); | ||
} | ||
} | ||
|
||
hr { | ||
border-bottom: $base-border; | ||
border-left: 0; | ||
border-right: 0; | ||
border-top: 0; | ||
margin: $base-spacing 0; | ||
} |
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,46 @@ | ||
// Breakpoints | ||
$medium-screen: 600px; | ||
$large-screen: 900px; | ||
|
||
// Typography | ||
$base-font-family: $font-stack-system; | ||
$heading-font-family: $base-font-family; | ||
|
||
// Font Sizes | ||
$base-font-size: 1em; | ||
|
||
// Line height | ||
$base-line-height: 1.5; | ||
$heading-line-height: 1.2; | ||
|
||
// Other Sizes | ||
$base-border-radius: 3px; | ||
$base-spacing: $base-line-height * 1em; | ||
$small-spacing: $base-spacing / 2; | ||
$base-z-index: 0; | ||
|
||
// Colors | ||
$blue: #1565c0; | ||
$dark-gray: #333; | ||
$medium-gray: #999; | ||
$light-gray: #ddd; | ||
|
||
// Font Colors | ||
$base-font-color: $dark-gray; | ||
$action-color: $blue; | ||
|
||
// Border | ||
$base-border-color: $light-gray; | ||
$base-border: 1px solid $base-border-color; | ||
|
||
// Background Colors | ||
$base-background-color: #fff; | ||
$secondary-background-color: tint($base-border-color, 75%); | ||
|
||
// Forms | ||
$form-box-shadow: inset 0 1px 3px rgba(#000, 0.06); | ||
$form-box-shadow-focus: $form-box-shadow, 0 0 5px adjust-color($action-color, $lightness: -5%, $alpha: -0.3); | ||
|
||
// Animations | ||
$base-duration: 150ms; | ||
$base-timing: ease; |
Oops, something went wrong.