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
16
sass/site/_site.scss
Normal file
16
sass/site/_site.scss
Normal file
|
@ -0,0 +1,16 @@
|
|||
// @import "layout/content-sidebar";
|
||||
// @import "layout/sidebar-content";
|
||||
/*--------------------------------------------------------------
|
||||
10.1 Posts and pages
|
||||
--------------------------------------------------------------*/
|
||||
@import "primary/posts-and-pages";
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
10.2 Asides
|
||||
--------------------------------------------------------------*/
|
||||
@import "primary/asides";
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
10.3 Comments
|
||||
--------------------------------------------------------------*/
|
||||
@import "primary/comments";
|
4
sass/site/primary/_asides.scss
Normal file
4
sass/site/primary/_asides.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
.blog .format-aside .entry-title,
|
||||
.archive .format-aside .entry-title {
|
||||
display: none;
|
||||
}
|
6
sass/site/primary/_comments.scss
Normal file
6
sass/site/primary/_comments.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
.comment-content a {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.bypostauthor {
|
||||
display: block;
|
||||
}
|
28
sass/site/primary/_posts-and-pages.scss
Normal file
28
sass/site/primary/_posts-and-pages.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
.sticky {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hentry {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
.byline,
|
||||
.updated {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.single .byline,
|
||||
.group-blog .byline {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.page-content,
|
||||
.entry-content,
|
||||
.entry-summary {
|
||||
margin: 1.5em 0 0;
|
||||
}
|
||||
|
||||
.page-links {
|
||||
clear: both;
|
||||
margin: 0 0 1.5em;
|
||||
}
|
13
sass/site/secondary/_widgets.scss
Normal file
13
sass/site/secondary/_widgets.scss
Normal file
|
@ -0,0 +1,13 @@
|
|||
.widget {
|
||||
margin: 0 0 1.5em;
|
||||
|
||||
/* Make sure select elements fit in widgets */
|
||||
select {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Search widget */
|
||||
.widget_search .search-submit {
|
||||
display: none;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue