Skip to content

Commit 325915f

Browse files
authored
Fix deprecation warnings from Dart Sass (#801)
Merge pull request 801
1 parent 1580671 commit 325915f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

_sass/minima/_base.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ h1, h2, h3, h4, h5, h6,
3737
p, blockquote, pre,
3838
ul, ol, dl, figure,
3939
%vertical-rhythm {
40-
margin-bottom: $spacing-unit / 2;
40+
margin-bottom: $spacing-unit * 0.5;
4141
}
4242

4343

@@ -131,7 +131,7 @@ a {
131131
blockquote {
132132
color: $grey-color;
133133
border-left: 4px solid $grey-color-light;
134-
padding-left: $spacing-unit / 2;
134+
padding-left: $spacing-unit * 0.5;
135135
@include relative-font-size(1.125);
136136
letter-spacing: -1px;
137137
font-style: italic;
@@ -186,8 +186,8 @@ pre {
186186
@include media-query($on-laptop) {
187187
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
188188
max-width: calc(#{$content-width} - (#{$spacing-unit}));
189-
padding-right: $spacing-unit / 2;
190-
padding-left: $spacing-unit / 2;
189+
padding-right: $spacing-unit * 0.5;
190+
padding-left: $spacing-unit * 0.5;
191191
}
192192
}
193193

@@ -241,7 +241,7 @@ table {
241241
}
242242
}
243243
th, td {
244-
padding: ($spacing-unit / 3) ($spacing-unit / 2);
244+
padding: ($spacing-unit * 0.3333333333) ($spacing-unit * 0.5);
245245
}
246246
th {
247247
background-color: lighten($grey-color-light, 3%);

_sass/minima/_layout.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
@include media-query($on-palm) {
5050
position: absolute;
5151
top: 9px;
52-
right: $spacing-unit / 2;
52+
right: $spacing-unit * 0.5;
5353
background-color: $background-color;
5454
border: 1px solid $grey-color-light;
5555
border-radius: 5px;
@@ -90,12 +90,12 @@
9090

9191
.page-link {
9292
display: block;
93+
margin-left: 20px;
9394
padding: 5px 10px;
9495

9596
&:not(:last-child) {
9697
margin-right: 0;
9798
}
98-
margin-left: 20px;
9999
}
100100
}
101101
}
@@ -112,7 +112,7 @@
112112

113113
.footer-heading {
114114
@include relative-font-size(1.125);
115-
margin-bottom: $spacing-unit / 2;
115+
margin-bottom: $spacing-unit * 0.5;
116116
}
117117

118118
.contact-list,
@@ -124,14 +124,14 @@
124124
.footer-col-wrapper {
125125
@include relative-font-size(0.9375);
126126
color: $grey-color;
127-
margin-left: -$spacing-unit / 2;
127+
margin-left: -$spacing-unit * 0.5;
128128
@extend %clearfix;
129129
}
130130

131131
.footer-col {
132132
float: left;
133-
margin-bottom: $spacing-unit / 2;
134-
padding-left: $spacing-unit / 2;
133+
margin-bottom: $spacing-unit * 0.5;
134+
padding-left: $spacing-unit * 0.5;
135135
}
136136

137137
.footer-col-1 {

0 commit comments

Comments
 (0)