File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ @use " sass:math" ;
2
+
1
3
fieldset {
2
4
background-color : lighten ($base-border-color , 10% );
3
5
border : $base-border ;
@@ -28,7 +30,7 @@ select {
28
30
29
31
label {
30
32
font-weight : 600 ;
31
- margin-bottom : $small-spacing / 2 ;
33
+ margin-bottom : math . div ( $small-spacing , 2 ) ;
32
34
33
35
& .required ::after {
34
36
content : " *" ;
@@ -48,8 +50,8 @@ textarea {
48
50
box-sizing : border-box ;
49
51
font-family : $base-font-family ;
50
52
font-size : $base-font-size ;
51
- margin-bottom : $base-spacing / 2 ;
52
- padding : $base-spacing / 3 ;
53
+ margin-bottom : math . div ( $base-spacing , 2 ) ;
54
+ padding : math . div ( $base-spacing , 3 ) ;
53
55
transition : border-color ;
54
56
width : 100% ;
55
57
@@ -72,7 +74,7 @@ textarea {
72
74
input [type = " checkbox" ],
73
75
input [type = " radio" ] {
74
76
display : inline ;
75
- margin-right : $small-spacing / 2 ;
77
+ margin-right : math . div ( $small-spacing , 2 ) ;
76
78
}
77
79
78
80
input [type = " file" ] {
Original file line number Diff line number Diff line change
1
+ @use " sass:math" ;
2
+
1
3
// Typography
2
4
$base-font-family : ' Source Sans Pro' , sans-serif ;
3
5
$heading-font-family : $base-font-family ;
@@ -15,7 +17,7 @@ $heading-line-height: 1.2;
15
17
16
18
// Spacing
17
19
$base-spacing : $base-line-height * 1em ;
18
- $small-spacing : $base-spacing / 2 ;
20
+ $small-spacing : math . div ( $base-spacing , 2 ) ;
19
21
$large-spacing : $base-spacing * 2 ;
20
22
$top-spacing : $base-spacing * 3.333 ; // 80px
21
23
You can’t perform that action at this time.
0 commit comments