-
Notifications
You must be signed in to change notification settings - Fork 0
/
unlocode.css
99 lines (78 loc) · 1.53 KB
/
unlocode.css
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
h1 {
margin-top: 0.1em;
margin-bottom: 0.5em;
font-size: 3.5em;
line-height: unset;
}
.paper {
max-width:1200px;
margin-left:auto;
margin-right:auto;
box-shadow: 0 5px 30px 0 rgba(0,0,0,.05);
line-height:unset;
}
a:visited {
color: #8c42ab;
}
.countriesContainer {
column-count: 3;
}
.unlocodesContainer {
column-count: 4;
}
.divsContainer {
display:flex;
}
.footer {
text-align:center;margin:10px 0;
}
.map, #leafletMap {
width: 100%;
height: 450px;
}
.tooltip {
position: relative;
display: inline-block;
/* Needed to be here to hover over the leaflet map */
z-index: 1000;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #616161;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 5px;
/* Position the tooltip */
position: absolute;
z-index: 1;
bottom: 100%;
left: 50%;
margin-left: -60px;
}
.tooltip:hover .tooltiptext {
visibility: visible;
font-size: smaller;
}
@media (max-width:480px) {
.divsContainer {
display:block;
}
h1 {
font-size: 2.5em;
}
.map {
height: 250px;
}
.countriesContainer {
column-count: 1;
}
.unlocodesContainer {
column-count: 2;
}
#unlocodeField {
width: 150px;
}
}