Skip to content

Commit

Permalink
Sassのマイグレーション
Browse files Browse the repository at this point in the history
  • Loading branch information
448jp committed Aug 4, 2023
1 parent 8b8c38f commit e488883
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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 @@ -108,7 +108,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 Down Expand Up @@ -163,8 +163,8 @@ pre {
@include media-query($on-laptop) {
max-width: -webkit-calc(980px - (#{$spacing-unit}));
max-width: calc(980px - (#{$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
8 changes: 4 additions & 4 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

.footer-heading {
font-size: 18px;
margin-bottom: $spacing-unit / 2;
margin-bottom: calc($spacing-unit / 2);
}

.contact-list,
Expand All @@ -111,14 +111,14 @@

.footer-col-wrapper {
font-size: 0.875rem;
margin-left: -$spacing-unit / 2;
margin-left: calc(-1 * $spacing-unit / 2);
@extend %clearfix;
}

.footer-col {
float: left;
margin-bottom: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
margin-bottom: calc($spacing-unit / 2);
padding-left: calc($spacing-unit / 2);
}

.footer-col-1 {
Expand Down

0 comments on commit e488883

Please sign in to comment.