Skip to content

Commit

Permalink
Merge pull request #475 from dxw/stylelint-fixes
Browse files Browse the repository at this point in the history
Fix or ignore stylelint errors
  • Loading branch information
Floppy authored Oct 19, 2022
2 parents 171836f + 06ec36a commit 422a0ff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/assets/stylesheets/1st_load_framework.css.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
/* stylelint-disable scss/at-extend-no-missing-placeholder */
// import the CSS framework
// Do not use *= require in Sass or your other stylesheets will not be able to access the Bootstrap mixins and variables.
@import "bootstrap";

// make all images responsive by default
img {
@extend .img-fluid;

margin: 0 auto;
}

// override for the 'Home' navigation link
.navbar-brand {
font-size: inherit;
Expand All @@ -17,15 +20,20 @@ img {
// to make views framework-neutral
.column {
@extend .col-md-6;

text-align: center;
}

.form {
@extend .col-md-6;
}

.form-centered {
@extend .col-md-6;

text-align: center;
}

.submit {
@extend .btn;
@extend .btn-primary;
Expand All @@ -36,10 +44,13 @@ img {
// to make views framework-neutral
main {
@extend .container;

margin-top: 30px; // accommodate the navbar
}

section {
@extend .row;

margin-top: 20px;
}
/* stylelint-enable scss/at-extend-no-missing-placeholder */

0 comments on commit 422a0ff

Please sign in to comment.