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:
David A. Kennedy 2017-08-18 16:33:29 -04:00 committed by GitHub
commit 9bf12e5851
25 changed files with 27 additions and 27 deletions

View File

@ -4,4 +4,4 @@
"excludeFiles": [
"js/**.min.js"
]
}
}

View File

@ -1 +1 @@
js/**.min.js
js/**.min.js

View File

@ -22,4 +22,4 @@
.site-footer {
clear: both;
width: 100%;
}
}

View File

@ -22,4 +22,4 @@
.site-footer {
clear: both;
width: 100%;
}
}

View File

@ -16,8 +16,8 @@
-->
<arg value="psvn"/>
<!-- Only check the PHP files. JS files are checked separately with JSCS and JSHint. -->
<arg name="extensions" value="php"/>
<!-- Only check the PHP, CSS and SCSS files. JS files are checked separately with JSCS and JSHint. -->
<arg name="extensions" value="php,css,scss/css"/>
<!-- Check all files in this directory and the directories below it. -->
<file>.</file>

View File

@ -39,4 +39,4 @@ figure {
margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}
@import "tables";
@import "tables";

View File

@ -22,4 +22,4 @@ dt {
dd {
margin: 0 1.5em 1.5em;
}
}

View File

@ -1,4 +1,4 @@
table {
margin: 0 0 1.5em;
width: 100%;
}
}

View File

@ -19,4 +19,4 @@ input[type="submit"] {
&:focus {
border-color: $color__border-button-focus;
}
}
}

View File

@ -1,3 +1,3 @@
@import "buttons";
@import "fields";
@import "fields";

View File

@ -17,4 +17,4 @@
.site-footer {
clear: both;
width: $size__site-main;
}
}

View File

@ -17,4 +17,4 @@
.site-footer {
clear: both;
width: $size__site-main;
}
}

View File

@ -27,4 +27,4 @@ object {
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
@import "galleries";
@import "galleries";

View File

@ -20,4 +20,4 @@
.site-content:after,
.site-footer:after {
@include clearfix-after;
}
}

View File

@ -7,4 +7,4 @@
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
display: block;
}
}

View File

@ -16,4 +16,4 @@ a {
&:active {
outline: 0;
}
}
}

View File

@ -6,4 +6,4 @@
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
@import "menus";
@import "menus";

View File

@ -8,4 +8,4 @@
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
@import "primary/comments";
@import "primary/comments";

View File

@ -6,7 +6,7 @@
margin: 0 0 1.5em;
}
.updated:not(.published){
.updated:not(.published) {
display: none;
}
@ -19,4 +19,4 @@
.page-links {
clear: both;
margin: 0 0 1.5em;
}
}

View File

@ -42,4 +42,4 @@ mark, ins {
big {
font-size: 125%;
}
}

View File

@ -1,3 +1,3 @@
h1, h2, h3, h4, h5, h6 {
clear: both;
}
}

View File

@ -12,4 +12,4 @@ textarea {
@import "headings";
@import "copy";
@import "copy";

View File

@ -1,2 +1,2 @@
$size__site-main: 100%;
$size__site-sidebar: 25%;
$size__site-sidebar: 25%;

View File

@ -2,4 +2,4 @@ $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;
$font__line-height-pre: 1.6;

View File

@ -1,3 +1,3 @@
@import "colors";
@import "typography";
@import "structure";
@import "structure";