Skip to content

Commit 21b4274

Browse files
authored
Fix deprecation warnings (#700)
Merge pull request 700
1 parent 06c5e0b commit 21b4274

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

_sass/minima/_base.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ h1, h2, h3, h4, h5, h6,
4343
p, blockquote, pre,
4444
ul, ol, dl, figure,
4545
%vertical-rhythm {
46-
margin-bottom: $spacing-unit / 2;
46+
margin-bottom: $spacing-unit * .5;
4747
}
4848

4949
hr {
@@ -140,7 +140,7 @@ a {
140140
blockquote {
141141
color: $brand-color;
142142
border-left: 4px solid $border-color-01;
143-
padding-left: $spacing-unit / 2;
143+
padding-left: $spacing-unit * .5;
144144
@include relative-font-size(1.125);
145145
font-style: italic;
146146

@@ -201,8 +201,8 @@ pre {
201201
max-width: calc(#{$content-width} - (#{$spacing-unit}));
202202
margin-right: auto;
203203
margin-left: auto;
204-
padding-right: $spacing-unit / 2;
205-
padding-left: $spacing-unit / 2;
204+
padding-right: $spacing-unit * .5;
205+
padding-left: $spacing-unit * .5;
206206
@extend %clearfix;
207207

208208
@media screen and (min-width: $on-large) {
@@ -262,7 +262,7 @@ table {
262262
}
263263
}
264264
th, td {
265-
padding: ($spacing-unit / 3) ($spacing-unit / 2);
265+
padding: ($spacing-unit * 33.3333333333 * .01) ($spacing-unit * .5);
266266
}
267267
th {
268268
background-color: $table-header-bg-color;

_sass/minima/_layout.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
.site-nav {
3232
position: absolute;
3333
top: 9px;
34-
right: $spacing-unit / 2;
34+
right: $spacing-unit * .5;
3535
background-color: $background-color;
3636
border: 1px solid $border-color-01;
3737
border-radius: 5px;
@@ -128,7 +128,7 @@
128128

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

134134
.feed-subscribe .svg-icon {
@@ -148,7 +148,7 @@
148148
}
149149

150150
.footer-col {
151-
margin-bottom: $spacing-unit / 2;
151+
margin-bottom: $spacing-unit * .5;
152152
}
153153

154154
.footer-col-1,
@@ -181,16 +181,16 @@
181181

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

186186
&:first-child {
187-
padding-right: $spacing-unit / 2;
187+
padding-right: $spacing-unit * .5;
188188
padding-left: 0;
189189
}
190190

191191
&:last-child {
192192
padding-right: 0;
193-
padding-left: $spacing-unit / 2;
193+
padding-left: $spacing-unit * .5;
194194
}
195195
}
196196
}
@@ -318,7 +318,7 @@
318318
}
319319
div {
320320
display: block;
321-
padding: $spacing-unit / 4;
321+
padding: $spacing-unit * .25;
322322
border: 1px solid transparent;
323323

324324
&.pager-edge {

0 commit comments

Comments
 (0)