File tree Expand file tree Collapse file tree 3 files changed +40
-6
lines changed Expand file tree Collapse file tree 3 files changed +40
-6
lines changed Original file line number Diff line number Diff line change 50
50
font-size : 1rem ;
51
51
52
52
@media (min-width : $bp-md ) {
53
- font-size : 18px ;
53
+ font-size : rem-calc ( 18px ) ;
54
54
}
55
55
}
56
56
66
66
h6 {
67
67
font-weight : 700 ;
68
68
line-height : 1.25em ;
69
- margin : 0 0 0.6em 0 ;
69
+ margin : 0 0 0.3em 0 ;
70
+ }
71
+
72
+ h1 ,
73
+ .h1 {
74
+ font-size : rem-calc (28px );
75
+ @media (min-width : $bp-md ) { font-size : rem-calc (35px );}
76
+ }
77
+
78
+ h2 ,
79
+ .h2 {
80
+ font-size : rem-calc (22px );
81
+ @media (min-width : $bp-md ) { font-size : rem-calc (28px );}
82
+ }
83
+
84
+ h3 ,
85
+ .h3 {
86
+ font-size : rem-calc (22px );
87
+ @media (min-width : $bp-md ) { font-size : rem-calc (24px );}
88
+ }
89
+
90
+ h4 ,
91
+ .h4 {
92
+ font-size : rem-calc (18px );
93
+ @media (min-width : $bp-md ) { font-size : rem-calc (20px );}
94
+ }
95
+
96
+ h5 ,
97
+ .h5 {
98
+ font-size : rem-calc (18px );
99
+ }
100
+
101
+ h6 ,
102
+ .h6 {
103
+ font-size : rem-calc (16px );
70
104
}
71
105
72
106
/// /////////////////
@@ -76,13 +110,15 @@ h6 {
76
110
a {
77
111
color : $teal ;
78
112
text-decoration : underline ;
79
- text-underline-offset : 2px ;
80
113
text-decoration-color : transparent ;
114
+ text-underline-offset : .15em ;
115
+ text-decoration-thickness : .1em ;
81
116
transition : 0.2s all ease-in-out ;
82
117
transition-property : color , text-decoration ;
83
118
}
84
119
85
120
a :hover ,
86
- a :focus {
121
+ a :focus ,
122
+ a .active {
87
123
text-decoration-color : currentColor ;
88
124
}
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ main { flex: 1; }
75
75
& :hover ,
76
76
& :focus {
77
77
color : $white ;
78
- text-decoration : underline ;
79
78
}
80
79
}
81
80
Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ $nav-zindex: 10;
114
114
& :focus ,
115
115
& .active {
116
116
color : $teal ;
117
- text-decoration : underline ;
118
117
}
119
118
}
120
119
}
You can’t perform that action at this time.
0 commit comments