Skip to content

Commit

Permalink
Fix deprecation warnings (jekyll#700)
Browse files Browse the repository at this point in the history
Merge pull request 700
  • Loading branch information
ntkme authored Dec 26, 2022
1 parent 06c5e0b commit 21b4274
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions _sass/minima/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
%vertical-rhythm {
margin-bottom: $spacing-unit / 2;
margin-bottom: $spacing-unit * .5;
}

hr {
Expand Down Expand Up @@ -140,7 +140,7 @@ a {
blockquote {
color: $brand-color;
border-left: 4px solid $border-color-01;
padding-left: $spacing-unit / 2;
padding-left: $spacing-unit * .5;
@include relative-font-size(1.125);
font-style: italic;

Expand Down Expand Up @@ -201,8 +201,8 @@ pre {
max-width: calc(#{$content-width} - (#{$spacing-unit}));
margin-right: auto;
margin-left: auto;
padding-right: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
padding-right: $spacing-unit * .5;
padding-left: $spacing-unit * .5;
@extend %clearfix;

@media screen and (min-width: $on-large) {
Expand Down Expand Up @@ -262,7 +262,7 @@ table {
}
}
th, td {
padding: ($spacing-unit / 3) ($spacing-unit / 2);
padding: ($spacing-unit * 33.3333333333 * .01) ($spacing-unit * .5);
}
th {
background-color: $table-header-bg-color;
Expand Down
14 changes: 7 additions & 7 deletions _sass/minima/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
.site-nav {
position: absolute;
top: 9px;
right: $spacing-unit / 2;
right: $spacing-unit * .5;
background-color: $background-color;
border: 1px solid $border-color-01;
border-radius: 5px;
Expand Down Expand Up @@ -128,7 +128,7 @@

.footer-heading {
@include relative-font-size(1.125);
margin-bottom: $spacing-unit / 2;
margin-bottom: $spacing-unit * .5;
}

.feed-subscribe .svg-icon {
Expand All @@ -148,7 +148,7 @@
}

.footer-col {
margin-bottom: $spacing-unit / 2;
margin-bottom: $spacing-unit * .5;
}

.footer-col-1,
Expand Down Expand Up @@ -181,16 +181,16 @@

.footer-col {
width: calc(100% - (#{$spacing-unit} / 2));
padding: 0 ($spacing-unit / 2);
padding: 0 ($spacing-unit * .5);

&:first-child {
padding-right: $spacing-unit / 2;
padding-right: $spacing-unit * .5;
padding-left: 0;
}

&:last-child {
padding-right: 0;
padding-left: $spacing-unit / 2;
padding-left: $spacing-unit * .5;
}
}
}
Expand Down Expand Up @@ -318,7 +318,7 @@
}
div {
display: block;
padding: $spacing-unit / 4;
padding: $spacing-unit * .25;
border: 1px solid transparent;

&.pager-edge {
Expand Down

0 comments on commit 21b4274

Please sign in to comment.