|
1 |
| -/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */ |
2 |
| - |
3 |
| -/* |
4 |
| - * What follows is the result of much research on cross-browser styling. |
5 |
| - * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, |
6 |
| - * Kroc Camen, and the H5BP dev community and team. |
7 |
| - */ |
8 |
| - |
9 |
| -/* ========================================================================== |
10 |
| - Base styles: opinionated defaults |
11 |
| - ========================================================================== */ |
12 |
| - |
13 |
| -html { |
14 |
| - color: #222; |
15 |
| - font-size: 1em; |
16 |
| - line-height: 1.4; |
17 |
| -} |
18 |
| - |
19 |
| -/* |
20 |
| - * Remove text-shadow in selection highlight: |
21 |
| - * https://twitter.com/miketaylr/status/12228805301 |
22 |
| - * |
23 |
| - * These selection rule sets have to be separate. |
24 |
| - * Customize the background color to match your design. |
25 |
| - */ |
26 |
| - |
27 |
| -::-moz-selection { |
28 |
| - background: #b3d4fc; |
29 |
| - text-shadow: none; |
30 |
| -} |
31 |
| - |
32 |
| -::selection { |
33 |
| - background: #b3d4fc; |
34 |
| - text-shadow: none; |
35 |
| -} |
36 |
| - |
37 |
| -/* |
38 |
| - * A better looking default horizontal rule |
39 |
| - */ |
40 |
| - |
41 |
| -hr { |
42 |
| - display: block; |
43 |
| - height: 1px; |
44 |
| - border: 0; |
45 |
| - border-top: 1px solid #ccc; |
46 |
| - margin: 1em 0; |
47 |
| - padding: 0; |
48 |
| -} |
49 |
| - |
50 |
| -/* |
51 |
| - * Remove the gap between audio, canvas, iframes, |
52 |
| - * images, videos and the bottom of their containers: |
53 |
| - * https://github.com/h5bp/html5-boilerplate/issues/440 |
54 |
| - */ |
55 |
| - |
56 |
| -audio, |
57 |
| -canvas, |
58 |
| -iframe, |
59 |
| -img, |
60 |
| -svg, |
61 |
| -video { |
62 |
| - vertical-align: middle; |
63 |
| -} |
64 |
| - |
65 |
| -/* |
66 |
| - * Remove default fieldset styles. |
67 |
| - */ |
68 |
| - |
69 |
| -fieldset { |
70 |
| - border: 0; |
71 |
| - margin: 0; |
72 |
| - padding: 0; |
73 |
| -} |
74 |
| - |
75 |
| -/* |
76 |
| - * Allow only vertical resizing of textareas. |
77 |
| - */ |
78 |
| - |
79 |
| -textarea { |
80 |
| - resize: vertical; |
81 |
| -} |
82 |
| - |
83 |
| -/* ========================================================================== |
84 |
| - Browser Upgrade Prompt |
85 |
| - ========================================================================== */ |
86 |
| - |
87 |
| -.browserupgrade { |
88 |
| - margin: 0.2em 0; |
89 |
| - background: #ccc; |
90 |
| - color: #000; |
91 |
| - padding: 0.2em 0; |
92 |
| -} |
93 |
| - |
94 |
| -/* ========================================================================== |
95 |
| - Author's custom styles |
96 |
| - ========================================================================== */ |
97 |
| - |
98 |
| - |
99 |
| -#mapid { height: 600px; } |
100 |
| - |
101 |
| - |
102 |
| - |
103 |
| - |
104 |
| - |
105 |
| - |
106 |
| - |
107 |
| - |
108 |
| - |
109 |
| - |
110 |
| - |
111 |
| - |
112 |
| - |
113 |
| - |
114 |
| - |
115 |
| -/* ========================================================================== |
116 |
| - Helper classes |
117 |
| - ========================================================================== */ |
118 |
| - |
119 |
| -/* |
120 |
| - * Hide visually and from screen readers |
121 |
| - */ |
122 |
| - |
123 |
| -.hidden { |
124 |
| - display: none !important; |
125 |
| -} |
126 |
| - |
127 |
| -/* |
128 |
| - * Hide only visually, but have it available for screen readers: |
129 |
| - * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility |
130 |
| - */ |
131 |
| - |
132 |
| -.visuallyhidden { |
133 |
| - border: 0; |
134 |
| - clip: rect(0 0 0 0); |
135 |
| - height: 1px; |
136 |
| - margin: -1px; |
137 |
| - overflow: hidden; |
138 |
| - padding: 0; |
139 |
| - position: absolute; |
140 |
| - width: 1px; |
141 |
| -} |
142 |
| - |
143 |
| -/* |
144 |
| - * Extends the .visuallyhidden class to allow the element |
145 |
| - * to be focusable when navigated to via the keyboard: |
146 |
| - * https://www.drupal.org/node/897638 |
147 |
| - */ |
148 |
| - |
149 |
| -.visuallyhidden.focusable:active, |
150 |
| -.visuallyhidden.focusable:focus { |
151 |
| - clip: auto; |
152 |
| - height: auto; |
153 |
| - margin: 0; |
154 |
| - overflow: visible; |
155 |
| - position: static; |
156 |
| - width: auto; |
157 |
| -} |
158 |
| - |
159 |
| -/* |
160 |
| - * Hide visually and from screen readers, but maintain layout |
161 |
| - */ |
162 |
| - |
163 |
| -.invisible { |
164 |
| - visibility: hidden; |
165 |
| -} |
166 |
| - |
167 |
| -/* |
168 |
| - * Clearfix: contain floats |
169 |
| - * |
170 |
| - * For modern browsers |
171 |
| - * 1. The space content is one way to avoid an Opera bug when the |
172 |
| - * `contenteditable` attribute is included anywhere else in the document. |
173 |
| - * Otherwise it causes space to appear at the top and bottom of elements |
174 |
| - * that receive the `clearfix` class. |
175 |
| - * 2. The use of `table` rather than `block` is only necessary if using |
176 |
| - * `:before` to contain the top-margins of child elements. |
177 |
| - */ |
178 |
| - |
179 |
| -.clearfix:before, |
180 |
| -.clearfix:after { |
181 |
| - content: " "; /* 1 */ |
182 |
| - display: table; /* 2 */ |
| 1 | +html, body, #map-container { |
| 2 | + height: 100%; |
| 3 | + width: 100%; |
183 | 4 | }
|
184 | 5 |
|
185 |
| -.clearfix:after { |
186 |
| - clear: both; |
187 |
| -} |
188 |
| - |
189 |
| -/* ========================================================================== |
190 |
| - EXAMPLE Media Queries for Responsive Design. |
191 |
| - These examples override the primary ('mobile first') styles. |
192 |
| - Modify as content requires. |
193 |
| - ========================================================================== */ |
194 |
| - |
195 |
| -@media only screen and (min-width: 35em) { |
196 |
| - /* Style adjustments for viewports that meet the condition */ |
| 6 | +#top-navbar { |
| 7 | + margin-bottom: 0px; |
197 | 8 | }
|
198 | 9 |
|
199 |
| -@media print, |
200 |
| - (-webkit-min-device-pixel-ratio: 1.25), |
201 |
| - (min-resolution: 1.25dppx), |
202 |
| - (min-resolution: 120dpi) { |
203 |
| - /* Style adjustments for high resolution devices */ |
| 10 | +#map-container { |
| 11 | + padding: 0px; |
| 12 | + height: calc(100% - 51px); |
204 | 13 | }
|
205 | 14 |
|
206 |
| -/* ========================================================================== |
207 |
| - Print styles. |
208 |
| - Inlined to avoid the additional HTTP request: |
209 |
| - http://www.phpied.com/delay-loading-your-print-css/ |
210 |
| - ========================================================================== */ |
211 |
| - |
212 |
| -@media print { |
213 |
| - *, |
214 |
| - *:before, |
215 |
| - *:after, |
216 |
| - *:first-letter, |
217 |
| - *:first-line { |
218 |
| - background: transparent !important; |
219 |
| - color: #000 !important; /* Black prints faster: |
220 |
| - http://www.sanbeiji.com/archives/953 */ |
221 |
| - box-shadow: none !important; |
222 |
| - text-shadow: none !important; |
223 |
| - } |
224 |
| - |
225 |
| - a, |
226 |
| - a:visited { |
227 |
| - text-decoration: underline; |
228 |
| - } |
229 |
| - |
230 |
| - a[href]:after { |
231 |
| - content: " (" attr(href) ")"; |
232 |
| - } |
233 |
| - |
234 |
| - abbr[title]:after { |
235 |
| - content: " (" attr(title) ")"; |
236 |
| - } |
237 |
| - |
238 |
| - /* |
239 |
| - * Don't show links that are fragment identifiers, |
240 |
| - * or use the `javascript:` pseudo protocol |
241 |
| - */ |
242 |
| - |
243 |
| - a[href^="#"]:after, |
244 |
| - a[href^="javascript:"]:after { |
245 |
| - content: ""; |
246 |
| - } |
247 |
| - |
248 |
| - pre, |
249 |
| - blockquote { |
250 |
| - border: 1px solid #999; |
251 |
| - page-break-inside: avoid; |
252 |
| - } |
253 |
| - |
254 |
| - /* |
255 |
| - * Printing Tables: |
256 |
| - * http://css-discuss.incutio.com/wiki/Printing_Tables |
257 |
| - */ |
258 |
| - |
259 |
| - thead { |
260 |
| - display: table-header-group; |
261 |
| - } |
262 |
| - |
263 |
| - tr, |
264 |
| - img { |
265 |
| - page-break-inside: avoid; |
266 |
| - } |
267 |
| - |
268 |
| - img { |
269 |
| - max-width: 100% !important; |
270 |
| - } |
271 |
| - |
272 |
| - p, |
273 |
| - h2, |
274 |
| - h3 { |
275 |
| - orphans: 3; |
276 |
| - widows: 3; |
277 |
| - } |
278 |
| - |
279 |
| - h2, |
280 |
| - h3 { |
281 |
| - page-break-after: avoid; |
282 |
| - } |
| 15 | +#mapid { |
| 16 | + width: auto; |
| 17 | + height: 100%; |
283 | 18 | }
|
0 commit comments