Fix stylelint errors.

This commit is contained in:
Sam Rapaport
2017-04-24 11:42:59 -07:00
parent 17e7d76377
commit d81b85ec48
11 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
/*
| Global Theme Styles.
*/

View File

@@ -0,0 +1,3 @@
/*
| Theme Button Styles.
*/

View File

@@ -1,18 +1,22 @@
.comment-list { .comment-list {
@extend .list-unstyled; @extend .list-unstyled;
} }
.comment-list ol { .comment-list ol {
list-style: none; list-style: none;
} }
.comment-form p { .comment-form p {
@extend .form-group; @extend .form-group;
} }
.comment-form input[type="text"], .comment-form input[type="text"],
.comment-form input[type="email"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form input[type="url"],
.comment-form textarea { .comment-form textarea {
@extend .form-control; @extend .form-control;
} }
.comment-form input[type="submit"] { .comment-form input[type="submit"] {
@extend .btn; @extend .btn;
@extend .btn-secondary; @extend .btn-secondary;

View File

@@ -2,13 +2,17 @@
.search-form { .search-form {
@extend .form-inline; @extend .form-inline;
} }
.search-form label { .search-form label {
font-weight: normal;
@extend .form-group; @extend .form-group;
font-weight: normal;
} }
.search-form .search-field { .search-form .search-field {
@extend .form-control; @extend .form-control;
} }
.search-form .search-submit { .search-form .search-submit {
@extend .btn; @extend .btn;
@extend .btn-secondary; @extend .btn-secondary;

View File

@@ -8,22 +8,26 @@
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
.aligncenter { .aligncenter {
display: block; display: block;
margin: ($spacer / 2) auto; margin: ($spacer / 2) auto;
height: auto; height: auto;
} }
.alignleft, .alignleft,
.alignright { .alignright {
margin-bottom: ($spacer / 2); margin-bottom: ($spacer / 2);
height: auto; height: auto;
} }
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
// Only float if not on an extra small device // Only float if not on an extra small device
.alignleft { .alignleft {
float: left; float: left;
margin-right: ($spacer / 2); margin-right: ($spacer / 2);
} }
.alignright { .alignright {
float: right; float: right;
margin-left: ($spacer / 2); margin-left: ($spacer / 2);
@@ -34,10 +38,12 @@
.wp-caption { .wp-caption {
@extend .figure; @extend .figure;
} }
.wp-caption img { .wp-caption img {
@extend .figure-img; @extend .figure-img;
@extend .img-fluid; @extend .img-fluid;
} }
.wp-caption-text { .wp-caption-text {
@extend .figure-caption; @extend .figure-caption;
} }

View File

@@ -0,0 +1,3 @@
/*
| Site Footer Styles.
*/

View File

@@ -1,6 +1,7 @@
.banner .nav li { .banner .nav li {
@extend .nav-item; @extend .nav-item;
} }
.banner .nav a { .banner .nav a {
@extend .nav-link; @extend .nav-link;
} }

View File

@@ -0,0 +1,3 @@
/*
| Page-specific Styles.
*/

View File

@@ -0,0 +1,3 @@
/*
| Site Post Styles.
*/

View File

@@ -0,0 +1,3 @@
/*
| Site Sidebar Styles.
*/

View File

@@ -3,6 +3,7 @@
// Import npm dependencies // Import npm dependencies
@import "~bootstrap/scss/bootstrap"; @import "~bootstrap/scss/bootstrap";
// Import theme styles
@import "common/global"; @import "common/global";
@import "components/buttons"; @import "components/buttons";
@import "components/comments"; @import "components/comments";