Skip to content

Commit df6c3a9

Browse files
committed
update styles
1 parent ff48f7f commit df6c3a9

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
@@ -46,7 +46,7 @@ h1, h2, h3, h4, h5, h6,
4646
p, blockquote, pre,
4747
ul, ol, dl, figure,
4848
%vertical-rhythm {
49-
margin-bottom: $spacing-unit / 2;
49+
margin-bottom: calc($spacing-unit / 2);
5050
}
5151

5252

@@ -148,7 +148,7 @@ a {
148148
blockquote {
149149
color: $grey-color;
150150
border-left: 4px solid $grey-color-light;
151-
padding-left: $spacing-unit / 2;
151+
padding-left: calc($spacing-unit / 2);
152152
@include relative-font-size(1.125);
153153
letter-spacing: -1px;
154154
font-style: italic;
@@ -203,8 +203,8 @@ pre {
203203
@include media-query($on-laptop) {
204204
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
205205
max-width: calc(#{$content-width} - (#{$spacing-unit}));
206-
padding-right: $spacing-unit / 2;
207-
padding-left: $spacing-unit / 2;
206+
padding-right: calc($spacing-unit / 2);
207+
padding-left: calc($spacing-unit / 2);
208208
}
209209
}
210210

@@ -258,7 +258,7 @@ table {
258258
}
259259
}
260260
th, td {
261-
padding: ($spacing-unit / 3) ($spacing-unit / 2);
261+
padding: calc($spacing-unit / 3) calc($spacing-unit / 2);
262262
}
263263
th {
264264
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
@@ -52,7 +52,7 @@
5252
@include media-query($on-palm) {
5353
position: absolute;
5454
top: 9px;
55-
right: $spacing-unit / 2;
55+
right: calc($spacing-unit / 2);
5656
background-color: $background-color;
5757
border: 1px solid $grey-color-light;
5858
border-radius: 5px;
@@ -115,7 +115,7 @@
115115

116116
.footer-heading {
117117
@include relative-font-size(1.125);
118-
margin-bottom: $spacing-unit / 2;
118+
margin-bottom: calc($spacing-unit / 2);
119119
}
120120

121121
.contact-list,
@@ -127,14 +127,14 @@
127127
.footer-col-wrapper {
128128
@include relative-font-size(0.9375);
129129
color: $grey-color;
130-
margin-left: -$spacing-unit / 2;
130+
margin-left: calc($spacing-unit / -2);
131131
@extend %clearfix;
132132
}
133133

134134
.footer-col {
135135
float: left;
136-
margin-bottom: $spacing-unit / 2;
137-
padding-left: $spacing-unit / 2;
136+
margin-bottom: calc($spacing-unit / 2);
137+
padding-left: calc($spacing-unit / 2);
138138
}
139139

140140
.footer-col-1 {
@@ -198,7 +198,7 @@
198198
list-style: none; // Default was none
199199

200200
> li {
201-
margin-bottom: $spacing-unit/1.25; // Decreased spacing
201+
margin-bottom: calc($spacing-unit/1.25); // Decreased spacing
202202
}
203203
}
204204

0 commit comments

Comments
 (0)