-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathchild.scss
61 lines (48 loc) · 1.02 KB
/
child.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
axa-footer {
* {
box-sizing: content-box;
&:before,
&:after {
box-sizing: content-box;
}
}
h1, h2, h3, h4, h5, h6 {
@include text(t4, bold);
color: $color-prim-white;
padding: 0;
margin: 0;
display: block;
text-transform: uppercase;
line-height: 1.5;
@media (min-width: $breakpoint-xs) {
@include text(t3, bold);
line-height: 1.5;
}
&[slot="social-title"] {
display: none;
@media (min-width: $breakpoint-md) {
display: block;
}
}
}
a {
color: $color-prim-white;
display: block;
text-decoration: none;
padding: 20px 30px;
@media (min-width: $breakpoint-xs) {
padding: 0px;
display: inline;
}
&[slot^="social-item"] {
display: block;
width: 25px;
height: 25px;
padding: 10px;
}
&:hover {
color: rgba($color-prim-white, 0.65);
text-decoration: none; // Needed because this style is easily overwritten for a:hover declarations
}
}
}