-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (78 loc) · 1.49 KB
/
style.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
/* General */
* {
box-sizing: border-box;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: row;
height: 100vh;
}
body > div {
height: 100%;
}
/* Sidebar */
#sidebar {
display: flex;
flex-direction: column;
max-width: 800px;
min-width: 300px;
width: 30%;
}
.sidebar-content {
padding: 14px;
}
.sidebar-header {
background-color: #a9a9a9;
text-align: center;
}
#back-button {
color: #0000ff;
text-decoration: underline;
}
#back-button:hover {
color: #800080;
cursor: pointer;
}
#event-description {
background-color: #cccccc;
flex: 1;
font-size: 16px;
text-align: left;
overflow-y: scroll;
}
#event-description > p, #event-description > figure, #event-description > button.event-list-item {
margin-bottom: 14px;
}
#event-description > p:last-child, #event-description > figure:last-child, #event-description > button.event-list-item:last-child {
margin-bottom: 0;
}
#event-description > figure > img {
display: block;
width: 100%;
}
#event-description > figure > figcaption {
font-size: 14px;
margin-top: 2px;
text-align: center;
}
#event-description > button.event-list-item {
background-color: #bababa;
border: none;
border-radius: 4px;
display: block;
font-size: 22px;
padding: 8px 10px;
text-align: left;
width: 100%;
}
#event-description > button.event-list-item:hover {
background-color: #a9a9a9;
cursor: pointer;
}
/* Map */
#map {
flex: 1;
}