File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 20
20
.content {
21
21
composes : width-limit from '../styles/application.module.css' ;
22
22
display : grid;
23
- gap : 40 px 20 px ;
24
- padding : 30 px ;
23
+ gap : var ( --space-xl ) var ( --space-m ) ;
24
+ padding : var ( --space-l ) ;
25
25
26
26
@media only screen and (min-width : 551px ) {
27
27
grid-template-columns : repeat (2 , 1fr );
28
28
justify-content : center;
29
- padding : 50 px 30 px ;
29
+ padding : var ( --space-xl ) var ( --space-m ) ;
30
30
}
31
31
32
32
@media only screen and (min-width : 751px ) {
33
33
grid-template-columns : repeat (4 , 1fr );
34
34
}
35
35
36
36
h1 {
37
- margin : 0 0 20 px ;
37
+ margin : 0 0 var ( --space-s ) ;
38
38
font-size : 20px ;
39
39
font-weight : 500 ;
40
40
color : var (--footer-header-color );
47
47
padding : 0 ;
48
48
49
49
> * + * {
50
- margin-top : 15 px ;
50
+ margin-top : var ( --space-xs ) ;
51
51
}
52
52
}
53
53
54
54
li {
55
- height : 16 px ;
55
+ height : 1 rem ;
56
56
}
57
57
58
58
a {
59
59
display : inline-flex;
60
60
/* slightly increased click targets */
61
- margin : -5 px ;
62
- padding : 5 px ;
61
+ margin : calc ( var ( --space-2xs ) * -1 ) ;
62
+ padding : var ( --space-2xs ) ;
63
63
color : # fff ;
64
64
font-size : 16px ;
65
- line-height : 16 px ;
65
+ line-height : 1 em ;
66
66
white-space : nowrap;
67
67
transition : var (--transition-medium );
68
68
79
79
}
80
80
81
81
svg {
82
- height : 20 px ;
83
- width : 20 px ;
84
- margin : -2 px 10 px -2 px 0 ;
82
+ height : 1.25 em ;
83
+ width : 1.25 em ;
84
+ margin : -.125 em var ( --space-xs ) -.125 em 0 ;
85
85
flex-shrink : 0 ;
86
86
}
87
87
}
You can’t perform that action at this time.
0 commit comments