-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
main.css
95 lines (82 loc) · 1.32 KB
/
main.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
html, body {
margin: 0;
font-family: sans-serif;
}
h1, h2 {
position: absolute;
z-index: 100;
color: white;
text-shadow: 1px 2px 4px rgba(2, 3, 11, 0.5);
font-weight: 100;
}
h1 {
text-align: center;
font-size: 28px;
}
h2 {
font-size: 12px;
}
#title {
background: #232e32;
padding: 6px 12px 18px 12px;
top: 25px;
cursor: pointer;
}
#subtitle {
font-size: 12px;
top: 72px;
left: 12px;
color: #ccc;
}
#park-list-overlay {
background: #232e32;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
position: absolute;
z-index: 1000;
transition: transform 0.5s ease-in-out;
}
@media (min-width: 800px) {
#park-list-overlay {
width: 400px;
}
}
#park-list-overlay.hidden {
transform: translateY(100%);
}
#park-list-overlay h1 {
position: relative;
width: 100%;
text-align: right;
top: 30px;
right: 10px;
font-size: 28px;
}
#park-list-overlay h2 {
position: absolute;
font-size: 12px;
top: 28px;
right: 10px;
}
#park-list {
padding: 0;
margin: 0;
margin-top: 50px;
}
#park-list li {
color: white;
cursor: pointer;
list-style: none;
border-bottom: #333 1px solid;
background-size: cover;
}
#park-list p {
display: inline;
line-height: 120px;
font-size: 20px;
font-weight: 100;
background: #232e32;
padding: 6px 10px 6px 40px;
}