blob: 8677343c24bab21260555153ed5e112fcaf81588 (
plain)
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
|
.top_banner {
color: $primary_text;
background: $primary;
p {
margin: auto;
padding: 0.5em 2em;
max-width: 50em;
text-align: center;
}
a {
color: $primary_text;
text-decoration: underline;
}
}
.top_banner--donate {
background: #bef;
}
// The banner interferes with the map moving/placement on mobile, and the top
// bar navigation on desktop (which both assume that .wrapper is at the top of
// the page) so hide there for now
.mappage .top_banner--donate {
display: none;
}
// This banner is only shown via JavaScript AJAX call
.top_banner--country {
display: none;
}
.top_banner--offline {
position: fixed; left: 0; right: 0; top: 0; z-index: 100;
opacity: 0.9;
background: #c33;
color: #fff;
}
.top_banner--offline a {
color: #fff;
}
.top_banner--offline a:hover {
color: #000;
}
.top_banner__close {
float: $right;
}
|