-
Notifications
You must be signed in to change notification settings - Fork 54
/
_masthead.scss
71 lines (57 loc) · 1.23 KB
/
_masthead.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
62
63
64
65
66
67
68
69
70
71
.bd-masthead {
// Boosted mod: no --bd-pink-rgb
padding: 3rem 0;
// Boosted mod: no gradient background image
// Boosted mod: no extra h1 rule
.lead {
@include font-size(1rem);
font-weight: 400;
color: $gray-700;
}
.bd-code-snippet {
margin: 0;
@include border-radius(.5rem);
}
.highlight {
padding: .5rem 4rem .5rem 1rem;
line-height: 1.25;
background-color: rgba(var(--bs-body-color-rgb), .075);
@include border-radius(.5rem);
}
.btn-clipboard {
margin-top: .4rem;
background-color: transparent;
}
// Boosted mod: no #carbonads
@include media-breakpoint-up(md) {
.lead {
@include font-size(1.5rem);
}
}
}
.masthead-followup {
.lead {
@include font-size(1rem);
}
.highlight {
@include border-radius(.5rem);
}
@include media-breakpoint-up(md) {
.lead {
@include font-size(1.25rem);
}
}
}
// Boosted mod: no .bd-btn-lg
.masthead-followup-icon {
padding: 1rem;
color: rgba(var(--bg-rgb), 1);
background-color: rgba(var(--bg-rgb), .1);
background-blend-mode: multiple;
@include border-radius(1rem);
mix-blend-mode: darken;
svg {
filter: drop-shadow(0 1px 1px #fff);
}
}
// Boosted mod: no .masthead-notice