forked from mirror/_s
Merge pull request #1153 from truongwp/add-white-spaces
Add new line at the end of file and missing white space Also, update PHPCS ruleset to check coding standard for CSS and SCSS files.
This commit is contained in:
commit
9bf12e5851
2
.jscsrc
2
.jscsrc
|
@ -4,4 +4,4 @@
|
||||||
"excludeFiles": [
|
"excludeFiles": [
|
||||||
"js/**.min.js"
|
"js/**.min.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
js/**.min.js
|
js/**.min.js
|
||||||
|
|
|
@ -22,4 +22,4 @@
|
||||||
.site-footer {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,4 +22,4 @@
|
||||||
.site-footer {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
-->
|
-->
|
||||||
<arg value="psvn"/>
|
<arg value="psvn"/>
|
||||||
|
|
||||||
<!-- Only check the PHP files. JS files are checked separately with JSCS and JSHint. -->
|
<!-- Only check the PHP, CSS and SCSS files. JS files are checked separately with JSCS and JSHint. -->
|
||||||
<arg name="extensions" value="php"/>
|
<arg name="extensions" value="php,css,scss/css"/>
|
||||||
|
|
||||||
<!-- Check all files in this directory and the directories below it. -->
|
<!-- Check all files in this directory and the directories below it. -->
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
|
|
|
@ -39,4 +39,4 @@ figure {
|
||||||
margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
|
margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "tables";
|
@import "tables";
|
||||||
|
|
|
@ -22,4 +22,4 @@ dt {
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin: 0 1.5em 1.5em;
|
margin: 0 1.5em 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
table {
|
table {
|
||||||
margin: 0 0 1.5em;
|
margin: 0 0 1.5em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,4 +19,4 @@ input[type="submit"] {
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: $color__border-button-focus;
|
border-color: $color__border-button-focus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
@import "buttons";
|
@import "buttons";
|
||||||
|
|
||||||
@import "fields";
|
@import "fields";
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
.site-footer {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: $size__site-main;
|
width: $size__site-main;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
.site-footer {
|
.site-footer {
|
||||||
clear: both;
|
clear: both;
|
||||||
width: $size__site-main;
|
width: $size__site-main;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,4 +27,4 @@ object {
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
## Galleries
|
## Galleries
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
@import "galleries";
|
@import "galleries";
|
||||||
|
|
|
@ -20,4 +20,4 @@
|
||||||
.site-content:after,
|
.site-content:after,
|
||||||
.site-footer:after {
|
.site-footer:after {
|
||||||
@include clearfix-after;
|
@include clearfix-after;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
|
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
|
||||||
.infinity-end.neverending .site-footer {
|
.infinity-end.neverending .site-footer {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,4 +16,4 @@ a {
|
||||||
&:active {
|
&:active {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
## Menus
|
## Menus
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
@import "menus";
|
@import "menus";
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
## Comments
|
## Comments
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
@import "primary/comments";
|
@import "primary/comments";
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
margin: 0 0 1.5em;
|
margin: 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.updated:not(.published){
|
.updated:not(.published) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,4 +19,4 @@
|
||||||
.page-links {
|
.page-links {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin: 0 0 1.5em;
|
margin: 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,4 +42,4 @@ mark, ins {
|
||||||
|
|
||||||
big {
|
big {
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,4 @@ textarea {
|
||||||
|
|
||||||
@import "headings";
|
@import "headings";
|
||||||
|
|
||||||
@import "copy";
|
@import "copy";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
$size__site-main: 100%;
|
$size__site-main: 100%;
|
||||||
$size__site-sidebar: 25%;
|
$size__site-sidebar: 25%;
|
||||||
|
|
|
@ -2,4 +2,4 @@ $font__main: sans-serif;
|
||||||
$font__code: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
$font__code: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||||
$font__pre: "Courier 10 Pitch", Courier, monospace;
|
$font__pre: "Courier 10 Pitch", Courier, monospace;
|
||||||
$font__line-height-body: 1.5;
|
$font__line-height-body: 1.5;
|
||||||
$font__line-height-pre: 1.6;
|
$font__line-height-pre: 1.6;
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
@import "colors";
|
@import "colors";
|
||||||
@import "typography";
|
@import "typography";
|
||||||
@import "structure";
|
@import "structure";
|
||||||
|
|
Reference in New Issue