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 {
@extend .list-unstyled;
}
.comment-list ol {
list-style: none;
}
.comment-form p {
@extend .form-group;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
@extend .form-control;
}
.comment-form input[type="submit"] {
@extend .btn;
@extend .btn-secondary;

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,7 @@
.banner .nav li {
@extend .nav-item;
}
.banner .nav a {
@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 "~bootstrap/scss/bootstrap";
// Import theme styles
@import "common/global";
@import "components/buttons";
@import "components/comments";