Skip to content

Commit 0203beb

Browse files
committed
sass warning fixed
1 parent 977e2b4 commit 0203beb

7 files changed

+746
-127
lines changed

css/doc.scss

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// document layout rules
33
// This is part of the micro css implementation.
44

5+
@use "base";
6+
57
h2 {
68
clear: both;
79
}
@@ -39,7 +41,7 @@ table {
3941
.imgcard,
4042
.iconcard {
4143
position: relative;
42-
margin: $u-gutter $u-gutter $u-gutter 0;
44+
margin: base.$u-gutter base.$u-gutter base.$u-gutter 0;
4345
width: 100%;
4446
max-width: 100%;
4547
background-color: var(--card-back);
@@ -52,27 +54,27 @@ table {
5254

5355
// card with text only
5456
.plaincard {
55-
padding: $u-gutter2;
57+
padding: base.$u-gutter2;
5658
min-height: 6rem;
5759
}
5860

5961
// cards with icon
6062
.iconcard {
61-
padding: $u-gutter $u-gutter $u-gutter calc(4rem + 2 * $u-gutter);
63+
padding: base.$u-gutter base.$u-gutter base.$u-gutter calc(4rem + 2 * base.$u-gutter);
6264
min-height: 5.4rem;
6365

6466
svg {
6567
position: absolute;
66-
top: $u-gutter;
67-
left: $u-gutter;
68+
top: base.$u-gutter;
69+
left: base.$u-gutter;
6870
height: 4rem;
6971
width: 4rem;
7072
}
7173
}
7274

7375
// picture with 4:3 ratio + text
7476
.imgcard {
75-
padding: $u-gutter2 $u-gutter2 0 calc(9.6rem + $u-gutter2);
77+
padding: base.$u-gutter2 base.$u-gutter2 0 calc(9.6rem + base.$u-gutter2);
7678
min-height: 7.2rem;
7779

7880
img {

0 commit comments

Comments
 (0)