Initial commit for _sass.
Props @michaelArestad @hugobeta, and @jacklenox. * Give prefix to variable files. This avoids confusion with files of similar names like typography. It also helps with the visual recognition over what file does what. * Set up mixins-master. * Setting foundation for encouraging in larger projects use of more than one mixing file. This creates a master mixins file that we can then bring subs into if the project grows. * Fixed line breaks, spacing and new lines. Props @gregrickaby. * Nest widget select. Props @gregrickaby. * Make variables be variables-site. Makes this the global variables folder. People can then use sub folders in sections for local only variables. * Change content directory to be site directory. * Remove zip. Revert `style.css` to not be auto generated version. * Fixes rem size issue on body font. * Fixes for differences between `_s` and `_sass`. Fixed font sizes, added in display block to classes so they compile and the theme check passes. * Remove text domain and clean up css.
This commit is contained in:
parent
104b34821a
commit
068f90fc8f
34 changed files with 880 additions and 2 deletions
20
sass/variables-site/_colors.scss
Normal file
20
sass/variables-site/_colors.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
$color__background-body: #fff;
|
||||
$color__background-screen: #f1f1f1;
|
||||
$color__background-hr: #ccc;
|
||||
$color__background-button: #e6e6e6;
|
||||
$color__background-pre: #eee;
|
||||
$color__background-ins: #fff9c0;
|
||||
|
||||
$color__text-screen: #21759b;
|
||||
$color__text-input: #666;
|
||||
$color__text-input-focus: #111;
|
||||
$color__link: royalblue;
|
||||
$color__link-visited: purple;
|
||||
$color__link-hover: midnightblue;
|
||||
$color__text-main: #404040;
|
||||
|
||||
$color__border-button: #ccc #ccc #bbb;
|
||||
$color__border-button-hover: #ccc #bbb #aaa;
|
||||
$color__border-button-focus: #aaa #bbb #bbb;
|
||||
$color__border-input: #666;
|
||||
$color__border-abbr: #666;
|
2
sass/variables-site/_structure.scss
Normal file
2
sass/variables-site/_structure.scss
Normal file
|
@ -0,0 +1,2 @@
|
|||
$size__site-main: 100%;
|
||||
$size__site-sidebar: 25%;
|
5
sass/variables-site/_typography.scss
Normal file
5
sass/variables-site/_typography.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
$font__main: sans-serif;
|
||||
$font__code: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
$font__pre: "Courier 10 Pitch", Courier, monospace;
|
||||
$font__line-height-body: 1.5;
|
||||
$font__line-height-pre: 1.6;
|
3
sass/variables-site/_variables-site.scss
Normal file
3
sass/variables-site/_variables-site.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
@import "colors";
|
||||
@import "typography";
|
||||
@import "structure";
|
Loading…
Add table
Add a link
Reference in a new issue