Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
162 lines (136 loc) · 2.67 KB
/
Copy pathmain.css
File metadata and controls
162 lines (136 loc) · 2.67 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* Boilerplate */
html {
/* include border and padding in width and height */
box-sizing: border-box;
font-family: 'Roboto', helvetica, sans-serif;
}
img {
/* images responsive*/
max-width: 100%;
height: auto;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
/* set the margin to 0, 100 vert height, no scrollbar */
margin: 0 auto;
height: 100vh;
overflow: hidden;
}
/* Create the basic layout */
.app-container {
display: grid;
/* 3 cols*/
grid-template-columns: 250px 1fr 1fr;
/* 3 rows*/
grid-template-rows: 55px 1fr 1fr;
grid-gap: 5px;
height: calc(100% - 10px);
margin: 5px;
}
.nav-container {
grid-column-start: 1;
grid-column-end: 4;
background-color: #efefef;
border: 1px solid #585858;
border-radius: 4px;
/* Flex */
display: flex;
align-items: center;
}
.map-container {
grid-column-start: 2;
grid-column-end: 4;
grid-row-start: 2;
grid-row-end: 4;
border: 1px solid #585858;
border-radius: 4px;
}
.side-pane-container {
grid-row-start: 2;
grid-row-end: 4;
background-color: #efefef;
border: 1px solid #585858;
border-radius: 4px;
}
/* end of basic layout */
#map {
height: 100%;
width: 100%;
}
.nav-container > div {
padding: 10px;
}
#spacer {
flex: 1;
}
#logo {
height: 45px;
margin-left: 5px;
}
#logo-name {
font-family: 'Anton', sans-serif;
}
.side-pane-container > div {
text-align: justify;
align-items: center;
padding: 10px;
}
.side-pane-container > div > img {
box-shadow: 2px 6px 8px #888888;
border-radius: 2px;
}
#side-pane-title {
font-size: 1.3em;
text-align: center;
font-weight: 700;
}
#map-legend {
min-height: 45px;
text-align: center;
font-family: 'Anton', sans-serif;
}
#icon {
display: none;
max-width: 80px;
min-width: 80px;
}
.button {
display: flex;
position: relative;
margin: auto;
max-width: 30%;
left: 30;
z-index: 3;
}
@media screen and (max-width: 700px) {
.side-pane-container > div {
display: none;
}
.map-container {
grid-column-start: 1;
grid-column-end: 4;
grid-row-start: 2;
grid-row-end: 4;
border: 1px solid #585858;
border-radius: 4px;
}
#logo-name {
font-size: smaller;
}
#contact {
display:none
}
#about {
display: none
}
#icon {
display: grid;
/*
height:inherit;
width:inherit;
*/
}