Skip to content

Commit

Permalink
Merge pull request #48 from ylansegal/fix_sass_warnings
Browse files Browse the repository at this point in the history
Fix SASS warnings
  • Loading branch information
yous authored Dec 27, 2022
2 parents 14f60cb + 767cf5c commit 4593cfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions _sass/whiteglass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
%vertical-rhythm {
margin-bottom: $spacing-unit / 2;
margin-bottom: calc($spacing-unit / 2);
}


Expand Down Expand Up @@ -127,7 +127,7 @@ a {
blockquote {
color: $grey-color;
border-left: 4px solid $grey-color-light;
padding-left: $spacing-unit / 2;
padding-left: calc($spacing-unit / 2);
font-size: 18px;
letter-spacing: -1px;
font-style: italic;
Expand All @@ -148,7 +148,7 @@ blockquote {
*/
hr {
height: 4px;
margin: $spacing-unit / 2 0;
margin: calc($spacing-unit / 2) 0;
border: 0;
background-color: $grey-color-light;
}
Expand Down Expand Up @@ -200,8 +200,8 @@ pre {
@include media-query($on-laptop) {
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
max-width: calc(#{$content-width} - (#{$spacing-unit}));
padding-right: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
padding-right: calc($spacing-unit / 2);
padding-left: calc($spacing-unit / 2);
}
}

Expand Down
2 changes: 1 addition & 1 deletion _sass/whiteglass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
* Pagination
*/
.pagination {
padding: $spacing-unit / 2 0;
padding: calc($spacing-unit / 2) 0;
border-top: 1px solid $grey-color-light;
border-bottom: 1px solid $grey-color-light;
text-align: center;
Expand Down

0 comments on commit 4593cfc

Please sign in to comment.