-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move items around a bit * Compile SassDoc
- Loading branch information
1 parent
a2e2946
commit 792d18d
Showing
57 changed files
with
1,081 additions
and
198 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
# Base | ||
|
||
Base rules consist of styling for HTML elements only, such as used in a CSS | ||
reset or Normalize.css. Base rules should never include class selectors. | ||
To avoid ‘undoing’ styles in components, base styles should reflect the | ||
simplest possible appearance of each element. For example, the simplest usage | ||
of the ul element may be completely unstyled, removing list markers and | ||
indents and relying on a component class for other applications. | ||
|
||
The `base/` folder holds what we might call the boilerplate code for the project. | ||
In there, you might find some typographic rules, and probably a stylesheet | ||
(that I’m used to calling `base.scss`), defining some standard styles for | ||
commonly used HTML elements. | ||
|
||
Reference: [Sass Guidelines](http://sass-guidelin.es/) > [Architecture](http://sass-guidelin.es/#architecture) > [Base folder](http://sass-guidelin.es/#base-folder) |
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,28 @@ | ||
//// | ||
/// Box model default styles. | ||
/// @group html | ||
//// | ||
|
||
@charset "UTF-8"; | ||
@import '../utilities/settings/settings'; | ||
|
||
// Set up a decent box model on the root element. | ||
html { | ||
font-size: 62.5%; // 1rem = 10px; | ||
box-sizing: border-box; | ||
} | ||
|
||
// Make all elements from the DOM inherit from the parent box-sizing | ||
// Since `*` has a specificity of 0, it does not override the `html` value | ||
// making all elements inheriting from the root box-sizing value | ||
// See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ | ||
*, *::before, *::after { | ||
box-sizing: inherit; | ||
} | ||
|
||
/// Set the base body font size. | ||
/// @require {function} em Relative unit function | ||
/// @require {variable} $base-font-size Base font size | ||
body { | ||
font-size: em($base-font-size, 10px); | ||
} |
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,23 @@ | ||
//// | ||
/// Base font styles. | ||
/// This file contains all @font-face declarations, if any. | ||
/// @group base | ||
//// | ||
|
||
@charset "UTF-8"; | ||
@import '../utilities/settings/settings'; | ||
|
||
/// Needs description. | ||
@if(global-variable-exists(monospace-source)) { | ||
@import url($monospace-source); | ||
} | ||
|
||
/// Needs description. | ||
@if(global-variable-exists(sans-serif-source)) { | ||
@import url($sans-serif-source); | ||
} | ||
|
||
/// Needs description. | ||
@if(global-variable-exists(serif-source)) { | ||
@import url($serif-source); | ||
} |
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
Oops, something went wrong.