-
-
Notifications
You must be signed in to change notification settings - Fork 708
Expand file tree
/
Copy pathannouncement.css
More file actions
57 lines (56 loc) · 1.12 KB
/
announcement.css
File metadata and controls
57 lines (56 loc) · 1.12 KB
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
.announcement {
--btn-bg: #f0f1f3;
--btn-color: #183153;
--btn-shadow-color: #0f1f36;
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 100%;
background-color: rgb(24, 49, 83);
color: #fff;
font-weight: 600;
padding: 0.25em 1em;
text-align: center;
line-height: 1;
gap: .5em;
}
@media (min-width: 48em) {
/* 768px */
.announcement {
font-size: 1em;
font-size: clamp(1em, 2vw, 1.25em);
}
}
.announcement > a,
.announcement > span {
display: flex;
align-items: center;
gap: .5em;
padding: .5em 2em;
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border-radius: .5em;
margin: .25em .25em .5em .25em;
border: .125rem solid var(--btn-shadow-color);
}
.announcement > a,
.announcement > a:visited,
.announcement > a:any-link {
background-color: var(--btn-bg);
color: var(--btn-color);
box-shadow: 0 .375rem 0 var(--btn-shadow-color);
}
.announcement a:hover {
text-decoration: underline;
}
.announcement a:after {
display: none;
}
.elv-header-default .announcement {
--btn-bg: #f0f1f3;
--btn-color: #333;
--btn-shadow-color: #666;
background-color: #222;
}