diff options
Diffstat (limited to 'webapp/vendor/html5-boilerplate-4.3.0')
-rwxr-xr-x | webapp/vendor/html5-boilerplate-4.3.0/.gitattributes | 1 | ||||
-rwxr-xr-x | webapp/vendor/html5-boilerplate-4.3.0/.gitignore | 2 | ||||
-rwxr-xr-x | webapp/vendor/html5-boilerplate-4.3.0/.htaccess | 551 | ||||
-rwxr-xr-x | webapp/vendor/html5-boilerplate-4.3.0/css/main.css | 304 | ||||
-rwxr-xr-x | webapp/vendor/html5-boilerplate-4.3.0/css/normalize.css | 527 |
5 files changed, 1385 insertions, 0 deletions
diff --git a/webapp/vendor/html5-boilerplate-4.3.0/.gitattributes b/webapp/vendor/html5-boilerplate-4.3.0/.gitattributes new file mode 100755 index 0000000..2125666 --- /dev/null +++ b/webapp/vendor/html5-boilerplate-4.3.0/.gitattributes | |||
@@ -0,0 +1 @@ | |||
* text=auto \ No newline at end of file | |||
diff --git a/webapp/vendor/html5-boilerplate-4.3.0/.gitignore b/webapp/vendor/html5-boilerplate-4.3.0/.gitignore new file mode 100755 index 0000000..16b2d7d --- /dev/null +++ b/webapp/vendor/html5-boilerplate-4.3.0/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | # Include your project-specific ignores in this file | ||
2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files | ||
diff --git a/webapp/vendor/html5-boilerplate-4.3.0/.htaccess b/webapp/vendor/html5-boilerplate-4.3.0/.htaccess new file mode 100755 index 0000000..6861ada --- /dev/null +++ b/webapp/vendor/html5-boilerplate-4.3.0/.htaccess | |||
@@ -0,0 +1,551 @@ | |||
1 | # Apache Server Configs v1.1.0 | MIT License | ||
2 | # https://github.com/h5bp/server-configs-apache | ||
3 | |||
4 | # (!) Using `.htaccess` files slows down Apache, therefore, if you have access | ||
5 | # to the main server config file (usually called `httpd.conf`), you should add | ||
6 | # this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html. | ||
7 | |||
8 | # ############################################################################## | ||
9 | # # CROSS-ORIGIN RESOURCE SHARING (CORS) # | ||
10 | # ############################################################################## | ||
11 | |||
12 | # ------------------------------------------------------------------------------ | ||
13 | # | Cross-domain AJAX requests | | ||
14 | # ------------------------------------------------------------------------------ | ||
15 | |||
16 | # Enable cross-origin AJAX requests. | ||
17 | # http://code.google.com/p/html5security/wiki/CrossOriginRequestSecurity | ||
18 | # http://enable-cors.org/ | ||
19 | |||
20 | # <IfModule mod_headers.c> | ||
21 | # Header set Access-Control-Allow-Origin "*" | ||
22 | # </IfModule> | ||
23 | |||
24 | # ------------------------------------------------------------------------------ | ||
25 | # | CORS-enabled images | | ||
26 | # ------------------------------------------------------------------------------ | ||
27 | |||
28 | # Send the CORS header for images when browsers request it. | ||
29 | # https://developer.mozilla.org/en/CORS_Enabled_Image | ||
30 | # http://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html | ||
31 | # http://hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/ | ||
32 | |||
33 | <IfModule mod_setenvif.c> | ||
34 | <IfModule mod_headers.c> | ||
35 | <FilesMatch "\.(gif|ico|jpe?g|png|svgz?|webp)$"> | ||
36 | SetEnvIf Origin ":" IS_CORS | ||
37 | Header set Access-Control-Allow-Origin "*" env=IS_CORS | ||
38 | </FilesMatch> | ||
39 | </IfModule> | ||
40 | </IfModule> | ||
41 | |||
42 | # ------------------------------------------------------------------------------ | ||
43 | # | Web fonts access | | ||
44 | # ------------------------------------------------------------------------------ | ||
45 | |||
46 | # Allow access from all domains for web fonts | ||
47 | |||
48 | <IfModule mod_headers.c> | ||
49 | <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$"> | ||
50 | Header set Access-Control-Allow-Origin "*" | ||
51 | </FilesMatch> | ||
52 | </IfModule> | ||
53 | |||
54 | |||
55 | # ############################################################################## | ||
56 | # # ERRORS # | ||
57 | # ############################################################################## | ||
58 | |||
59 | # ------------------------------------------------------------------------------ | ||
60 | # | 404 error prevention for non-existing redirected folders | | ||
61 | # ------------------------------------------------------------------------------ | ||
62 | |||
63 | # Prevent Apache from returning a 404 error for a rewrite if a directory | ||
64 | # with the same name does not exist. | ||
65 | # http://httpd.apache.org/docs/current/content-negotiation.html#multiviews | ||
66 | # http://www.webmasterworld.com/apache/3808792.htm | ||
67 | |||
68 | Options -MultiViews | ||
69 | |||
70 | # ------------------------------------------------------------------------------ | ||
71 | # | Custom error messages / pages | | ||
72 | # ------------------------------------------------------------------------------ | ||
73 | |||
74 | # You can customize what Apache returns to the client in case of an error (see | ||
75 | # http://httpd.apache.org/docs/current/mod/core.html#errordocument), e.g.: | ||
76 | |||
77 | ErrorDocument 404 /404.html | ||
78 | |||
79 | |||
80 | # ############################################################################## | ||
81 | # # INTERNET EXPLORER # | ||
82 | # ############################################################################## | ||
83 | |||
84 | # ------------------------------------------------------------------------------ | ||
85 | # | Better website experience | | ||
86 | # ------------------------------------------------------------------------------ | ||
87 | |||
88 | # Force IE to render pages in the highest available mode in the various | ||
89 | # cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf. | ||
90 | |||
91 | <IfModule mod_headers.c> | ||
92 | Header set X-UA-Compatible "IE=edge" | ||
93 | # `mod_headers` can't match based on the content-type, however, we only | ||
94 | # want to send this header for HTML pages and not for the other resources | ||
95 | <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> | ||
96 | Header unset X-UA-Compatible | ||
97 | </FilesMatch> | ||
98 | </IfModule> | ||
99 | |||
100 | # ------------------------------------------------------------------------------ | ||
101 | # | Cookie setting from iframes | | ||
102 | # ------------------------------------------------------------------------------ | ||
103 | |||
104 | # Allow cookies to be set from iframes in IE. | ||
105 | |||
106 | # <IfModule mod_headers.c> | ||
107 | # Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"" | ||
108 | # </IfModule> | ||
109 | |||
110 | # ------------------------------------------------------------------------------ | ||
111 | # | Screen flicker | | ||
112 | # ------------------------------------------------------------------------------ | ||
113 | |||
114 | # Stop screen flicker in IE on CSS rollovers (this only works in | ||
115 | # combination with the `ExpiresByType` directives for images from below). | ||
116 | |||
117 | # BrowserMatch "MSIE" brokenvary=1 | ||
118 | # BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1 | ||
119 | # BrowserMatch "Opera" !brokenvary | ||
120 | # SetEnvIf brokenvary 1 force-no-vary | ||
121 | |||
122 | |||
123 | # ############################################################################## | ||
124 | # # MIME TYPES AND ENCODING # | ||
125 | # ############################################################################## | ||
126 | |||
127 | # ------------------------------------------------------------------------------ | ||
128 | # | Proper MIME types for all files | | ||
129 | # ------------------------------------------------------------------------------ | ||
130 | |||
131 | <IfModule mod_mime.c> | ||
132 | |||
133 | # Audio | ||
134 | AddType audio/mp4 m4a f4a f4b | ||
135 | AddType audio/ogg oga ogg | ||
136 | |||
137 | # JavaScript | ||
138 | # Normalize to standard type (it's sniffed in IE anyways): | ||
139 | # http://tools.ietf.org/html/rfc4329#section-7.2 | ||
140 | AddType application/javascript js | ||
141 | AddType application/json json | ||
142 | |||
143 | # Video | ||
144 | AddType video/mp4 mp4 m4v f4v f4p | ||
145 | AddType video/ogg ogv | ||
146 | AddType video/webm webm | ||
147 | AddType video/x-flv flv | ||
148 | |||
149 | # Web fonts | ||
150 | AddType application/font-woff woff | ||
151 | AddType application/vnd.ms-fontobject eot | ||
152 | |||
153 | # Browsers usually ignore the font MIME types and sniff the content, | ||
154 | # however, Chrome shows a warning if other MIME types are used for the | ||
155 | # following fonts. | ||
156 | AddType application/x-font-ttf ttc ttf | ||
157 | AddType font/opentype otf | ||
158 | |||
159 | # Make SVGZ fonts work on iPad: | ||
160 | # https://twitter.com/FontSquirrel/status/14855840545 | ||
161 | AddType image/svg+xml svg svgz | ||
162 | AddEncoding gzip svgz | ||
163 | |||
164 | # Other | ||
165 | AddType application/octet-stream safariextz | ||
166 | AddType application/x-chrome-extension crx | ||
167 | AddType application/x-opera-extension oex | ||
168 | AddType application/x-shockwave-flash swf | ||
169 | AddType application/x-web-app-manifest+json webapp | ||
170 | AddType application/x-xpinstall xpi | ||
171 | AddType application/xml atom rdf rss xml | ||
172 | AddType image/webp webp | ||
173 | AddType image/x-icon ico | ||
174 | AddType text/cache-manifest appcache manifest | ||
175 | AddType text/vtt vtt | ||
176 | AddType text/x-component htc | ||
177 | AddType text/x-vcard vcf | ||
178 | |||
179 | </IfModule> | ||
180 | |||
181 | # ------------------------------------------------------------------------------ | ||
182 | # | UTF-8 encoding | | ||
183 | # ------------------------------------------------------------------------------ | ||
184 | |||
185 | # Use UTF-8 encoding for anything served as `text/html` or `text/plain`. | ||
186 | AddDefaultCharset utf-8 | ||
187 | |||
188 | # Force UTF-8 for certain file formats. | ||
189 | <IfModule mod_mime.c> | ||
190 | AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml | ||
191 | </IfModule> | ||
192 | |||
193 | |||
194 | # ############################################################################## | ||
195 | # # URL REWRITES # | ||
196 | # ############################################################################## | ||
197 | |||
198 | # ------------------------------------------------------------------------------ | ||
199 | # | Rewrite engine | | ||
200 | # ------------------------------------------------------------------------------ | ||
201 | |||
202 | # Turning on the rewrite engine and enabling the `FollowSymLinks` option is | ||
203 | # necessary for the following directives to work. | ||
204 | |||
205 | # If your web host doesn't allow the `FollowSymlinks` option, you may need to | ||
206 | # comment it out and use `Options +SymLinksIfOwnerMatch` but, be aware of the | ||
207 | # performance impact: http://httpd.apache.org/docs/current/misc/perf-tuning.html#symlinks | ||
208 | |||
209 | # Also, some cloud hosting services require `RewriteBase` to be set: | ||
210 | # http://www.rackspace.com/knowledge_center/frequently-asked-question/why-is-mod-rewrite-not-working-on-my-site | ||
211 | |||
212 | <IfModule mod_rewrite.c> | ||
213 | Options +FollowSymlinks | ||
214 | # Options +SymLinksIfOwnerMatch | ||
215 | RewriteEngine On | ||
216 | # RewriteBase / | ||
217 | </IfModule> | ||
218 | |||
219 | # ------------------------------------------------------------------------------ | ||
220 | # | Suppressing / Forcing the "www." at the beginning of URLs | | ||
221 | # ------------------------------------------------------------------------------ | ||
222 | |||
223 | # The same content should never be available under two different URLs especially | ||
224 | # not with and without "www." at the beginning. This can cause SEO problems | ||
225 | # (duplicate content), therefore, you should choose one of the alternatives and | ||
226 | # redirect the other one. | ||
227 | |||
228 | # By default option 1 (no "www.") is activated: | ||
229 | # http://no-www.org/faq.php?q=class_b | ||
230 | |||
231 | # If you'd prefer to use option 2, just comment out all the lines from option 1 | ||
232 | # and uncomment the ones from option 2. | ||
233 | |||
234 | # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME! | ||
235 | |||
236 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
237 | |||
238 | # Option 1: rewrite www.example.com → example.com | ||
239 | |||
240 | <IfModule mod_rewrite.c> | ||
241 | RewriteCond %{HTTPS} !=on | ||
242 | RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | ||
243 | RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] | ||
244 | </IfModule> | ||
245 | |||
246 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
247 | |||
248 | # Option 2: rewrite example.com → www.example.com | ||
249 | |||
250 | # Be aware that the following might not be a good idea if you use "real" | ||
251 | # subdomains for certain parts of your website. | ||
252 | |||
253 | # <IfModule mod_rewrite.c> | ||
254 | # RewriteCond %{HTTPS} !=on | ||
255 | # RewriteCond %{HTTP_HOST} !^www\..+$ [NC] | ||
256 | # RewriteCond %{HTTP_HOST} !=localhost [NC] | ||
257 | # RewriteCond %{HTTP_HOST} !=127.0.0.1 | ||
258 | # RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | ||
259 | # </IfModule> | ||
260 | |||
261 | |||
262 | # ############################################################################## | ||
263 | # # SECURITY # | ||
264 | # ############################################################################## | ||
265 | |||
266 | # ------------------------------------------------------------------------------ | ||
267 | # | Content Security Policy (CSP) | | ||
268 | # ------------------------------------------------------------------------------ | ||
269 | |||
270 | # You can mitigate the risk of cross-site scripting and other content-injection | ||
271 | # attacks by setting a Content Security Policy which whitelists trusted sources | ||
272 | # of content for your site. | ||
273 | |||
274 | # The example header below allows ONLY scripts that are loaded from the current | ||
275 | # site's origin (no inline scripts, no CDN, etc). This almost certainly won't | ||
276 | # work as-is for your site! | ||
277 | |||
278 | # To get all the details you'll need to craft a reasonable policy for your site, | ||
279 | # read: http://html5rocks.com/en/tutorials/security/content-security-policy (or | ||
280 | # see the specification: http://w3.org/TR/CSP). | ||
281 | |||
282 | # <IfModule mod_headers.c> | ||
283 | # Header set Content-Security-Policy "script-src 'self'; object-src 'self'" | ||
284 | # <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> | ||
285 | # Header unset Content-Security-Policy | ||
286 | # </FilesMatch> | ||
287 | # </IfModule> | ||
288 | |||
289 | # ------------------------------------------------------------------------------ | ||
290 | # | File access | | ||
291 | # ------------------------------------------------------------------------------ | ||
292 | |||
293 | # Block access to directories without a default document. | ||
294 | # Usually you should leave this uncommented because you shouldn't allow anyone | ||
295 | # to surf through every directory on your server (which may includes rather | ||
296 | # private places like the CMS's directories). | ||
297 | |||
298 | <IfModule mod_autoindex.c> | ||
299 | Options -Indexes | ||
300 | </IfModule> | ||
301 | |||
302 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
303 | |||
304 | # Block access to hidden files and directories. | ||
305 | # This includes directories used by version control systems such as Git and SVN. | ||
306 | |||
307 | <IfModule mod_rewrite.c> | ||
308 | RewriteCond %{SCRIPT_FILENAME} -d [OR] | ||
309 | RewriteCond %{SCRIPT_FILENAME} -f | ||
310 | RewriteRule "(^|/)\." - [F] | ||
311 | </IfModule> | ||
312 | |||
313 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
314 | |||
315 | # Block access to backup and source files. | ||
316 | # These files may be left by some text editors and can pose a great security | ||
317 | # danger when anyone has access to them. | ||
318 | |||
319 | <FilesMatch "(^#.*#|\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|sw[op])|~)$"> | ||
320 | Order allow,deny | ||
321 | Deny from all | ||
322 | Satisfy All | ||
323 | </FilesMatch> | ||
324 | |||
325 | # ------------------------------------------------------------------------------ | ||
326 | # | Secure Sockets Layer (SSL) | | ||
327 | # ------------------------------------------------------------------------------ | ||
328 | |||
329 | # Rewrite secure requests properly to prevent SSL certificate warnings, e.g.: | ||
330 | # prevent `https://www.example.com` when your certificate only allows | ||
331 | # `https://secure.example.com`. | ||
332 | |||
333 | # <IfModule mod_rewrite.c> | ||
334 | # RewriteCond %{SERVER_PORT} !^443 | ||
335 | # RewriteRule ^ https://example-domain-please-change-me.com%{REQUEST_URI} [R=301,L] | ||
336 | # </IfModule> | ||
337 | |||
338 | # ------------------------------------------------------------------------------ | ||
339 | # | HTTP Strict Transport Security (HSTS) | | ||
340 | # ------------------------------------------------------------------------------ | ||
341 | |||
342 | # Force client-side SSL redirection. | ||
343 | |||
344 | # If a user types "example.com" in his browser, the above rule will redirect | ||
345 | # him to the secure version of the site. That still leaves a window of oppor- | ||
346 | # tunity (the initial HTTP connection) for an attacker to downgrade or redirect | ||
347 | # the request. The following header ensures that browser will ONLY connect to | ||
348 | # your server via HTTPS, regardless of what the users type in the address bar. | ||
349 | # http://tools.ietf.org/html/draft-ietf-websec-strict-transport-sec-14#section-6.1 | ||
350 | # http://www.html5rocks.com/en/tutorials/security/transport-layer-security/ | ||
351 | |||
352 | # (!) Remove the `includeSubDomains` optional directive if the subdomains are | ||
353 | # not using HTTPS. | ||
354 | |||
355 | # <IfModule mod_headers.c> | ||
356 | # Header set Strict-Transport-Security "max-age=16070400; includeSubDomains" | ||
357 | # </IfModule> | ||
358 | |||
359 | # ------------------------------------------------------------------------------ | ||
360 | # | Server software information | | ||
361 | # ------------------------------------------------------------------------------ | ||
362 | |||
363 | # Avoid displaying the exact Apache version number, the description of the | ||
364 | # generic OS-type and the information about Apache's compiled-in modules. | ||
365 | |||
366 | # ADD THIS DIRECTIVE IN THE `httpd.conf` AS IT WILL NOT WORK IN THE `.htaccess`! | ||
367 | |||
368 | # ServerTokens Prod | ||
369 | |||
370 | |||
371 | # ############################################################################## | ||
372 | # # WEB PERFORMANCE # | ||
373 | # ############################################################################## | ||
374 | |||
375 | # ------------------------------------------------------------------------------ | ||
376 | # | Compression | | ||
377 | # ------------------------------------------------------------------------------ | ||
378 | |||
379 | <IfModule mod_deflate.c> | ||
380 | |||
381 | # Force compression for mangled headers. | ||
382 | # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping | ||
383 | <IfModule mod_setenvif.c> | ||
384 | <IfModule mod_headers.c> | ||
385 | SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding | ||
386 | RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding | ||
387 | </IfModule> | ||
388 | </IfModule> | ||
389 | |||
390 | # Compress all output labeled with one of the following MIME-types | ||
391 | # (for Apache versions below 2.3.7, you don't need to enable `mod_filter` | ||
392 | # and can remove the `<IfModule mod_filter.c>` and `</IfModule>` lines | ||
393 | # as `AddOutputFilterByType` is still in the core directives). | ||
394 | <IfModule mod_filter.c> | ||
395 | AddOutputFilterByType DEFLATE application/atom+xml \ | ||
396 | application/javascript \ | ||
397 | application/json \ | ||
398 | application/rss+xml \ | ||
399 | application/vnd.ms-fontobject \ | ||
400 | application/x-font-ttf \ | ||
401 | application/x-web-app-manifest+json \ | ||
402 | application/xhtml+xml \ | ||
403 | application/xml \ | ||
404 | font/opentype \ | ||
405 | image/svg+xml \ | ||
406 | image/x-icon \ | ||
407 | text/css \ | ||
408 | text/html \ | ||
409 | text/plain \ | ||
410 | text/x-component \ | ||
411 | text/xml | ||
412 | </IfModule> | ||
413 | |||
414 | </IfModule> | ||
415 | |||
416 | # ------------------------------------------------------------------------------ | ||
417 | # | Content transformations | | ||
418 | # ------------------------------------------------------------------------------ | ||
419 | |||
420 | # Prevent some of the mobile network providers from modifying the content of | ||
421 | # your site: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.5. | ||
422 | |||
423 | # <IfModule mod_headers.c> | ||
424 | # Header set Cache-Control "no-transform" | ||
425 | # </IfModule> | ||
426 | |||
427 | # ------------------------------------------------------------------------------ | ||
428 | # | ETag removal | | ||
429 | # ------------------------------------------------------------------------------ | ||
430 | |||
431 | # Since we're sending far-future expires headers (see below), ETags can | ||
432 | # be removed: http://developer.yahoo.com/performance/rules.html#etags. | ||
433 | |||
434 | # `FileETag None` is not enough for every server. | ||
435 | <IfModule mod_headers.c> | ||
436 | Header unset ETag | ||
437 | </IfModule> | ||
438 | |||
439 | FileETag None | ||
440 | |||
441 | # ------------------------------------------------------------------------------ | ||
442 | # | Expires headers (for better cache control) | | ||
443 | # ------------------------------------------------------------------------------ | ||
444 | |||
445 | # The following expires headers are set pretty far in the future. If you don't | ||
446 | # control versioning with filename-based cache busting, consider lowering the | ||
447 | # cache time for resources like CSS and JS to something like 1 week. | ||
448 | |||
449 | <IfModule mod_expires.c> | ||
450 | |||
451 | ExpiresActive on | ||
452 | ExpiresDefault "access plus 1 month" | ||
453 | |||
454 | # CSS | ||
455 | ExpiresByType text/css "access plus 1 year" | ||
456 | |||
457 | # Data interchange | ||
458 | ExpiresByType application/json "access plus 0 seconds" | ||
459 | ExpiresByType application/xml "access plus 0 seconds" | ||
460 | ExpiresByType text/xml "access plus 0 seconds" | ||
461 | |||
462 | # Favicon (cannot be renamed!) | ||
463 | ExpiresByType image/x-icon "access plus 1 week" | ||
464 | |||
465 | # HTML components (HTCs) | ||
466 | ExpiresByType text/x-component "access plus 1 month" | ||
467 | |||
468 | # HTML | ||
469 | ExpiresByType text/html "access plus 0 seconds" | ||
470 | |||
471 | # JavaScript | ||
472 | ExpiresByType application/javascript "access plus 1 year" | ||
473 | |||
474 | # Manifest files | ||
475 | ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" | ||
476 | ExpiresByType text/cache-manifest "access plus 0 seconds" | ||
477 | |||
478 | # Media | ||
479 | ExpiresByType audio/ogg "access plus 1 month" | ||
480 | ExpiresByType image/gif "access plus 1 month" | ||
481 | ExpiresByType image/jpeg "access plus 1 month" | ||
482 | ExpiresByType image/png "access plus 1 month" | ||
483 | ExpiresByType video/mp4 "access plus 1 month" | ||
484 | ExpiresByType video/ogg "access plus 1 month" | ||
485 | ExpiresByType video/webm "access plus 1 month" | ||
486 | |||
487 | # Web feeds | ||
488 | ExpiresByType application/atom+xml "access plus 1 hour" | ||
489 | ExpiresByType application/rss+xml "access plus 1 hour" | ||
490 | |||
491 | # Web fonts | ||
492 | ExpiresByType application/font-woff "access plus 1 month" | ||
493 | ExpiresByType application/vnd.ms-fontobject "access plus 1 month" | ||
494 | ExpiresByType application/x-font-ttf "access plus 1 month" | ||
495 | ExpiresByType font/opentype "access plus 1 month" | ||
496 | ExpiresByType image/svg+xml "access plus 1 month" | ||
497 | |||
498 | </IfModule> | ||
499 | |||
500 | # ------------------------------------------------------------------------------ | ||
501 | # | Filename-based cache busting | | ||
502 | # ------------------------------------------------------------------------------ | ||
503 | |||
504 | # If you're not using a build process to manage your filename version revving, | ||
505 | # you might want to consider enabling the following directives to route all | ||
506 | # requests such as `/css/style.12345.css` to `/css/style.css`. | ||
507 | |||
508 | # To understand why this is important and a better idea than `*.css?v231`, read: | ||
509 | # http://stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring | ||
510 | |||
511 | # <IfModule mod_rewrite.c> | ||
512 | # RewriteCond %{REQUEST_FILENAME} !-f | ||
513 | # RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L] | ||
514 | # </IfModule> | ||
515 | |||
516 | # ------------------------------------------------------------------------------ | ||
517 | # | File concatenation | | ||
518 | # ------------------------------------------------------------------------------ | ||
519 | |||
520 | # Allow concatenation from within specific CSS and JS files, e.g.: | ||
521 | # Inside of `script.combined.js` you could have | ||
522 | # <!--#include file="libs/jquery.js" --> | ||
523 | # <!--#include file="plugins/jquery.idletimer.js" --> | ||
524 | # and they would be included into this single file. | ||
525 | |||
526 | # <IfModule mod_include.c> | ||
527 | # <FilesMatch "\.combined\.js$"> | ||
528 | # Options +Includes | ||
529 | # AddOutputFilterByType INCLUDES application/javascript application/json | ||
530 | # SetOutputFilter INCLUDES | ||
531 | # </FilesMatch> | ||
532 | # <FilesMatch "\.combined\.css$"> | ||
533 | # Options +Includes | ||
534 | # AddOutputFilterByType INCLUDES text/css | ||
535 | # SetOutputFilter INCLUDES | ||
536 | # </FilesMatch> | ||
537 | # </IfModule> | ||
538 | |||
539 | # ------------------------------------------------------------------------------ | ||
540 | # | Persistent connections | | ||
541 | # ------------------------------------------------------------------------------ | ||
542 | |||
543 | # Allow multiple requests to be sent over the same TCP connection: | ||
544 | # http://httpd.apache.org/docs/current/en/mod/core.html#keepalive. | ||
545 | |||
546 | # Enable if you serve a lot of static content but, be aware of the | ||
547 | # possible disadvantages! | ||
548 | |||
549 | # <IfModule mod_headers.c> | ||
550 | # Header set Connection Keep-Alive | ||
551 | # </IfModule> | ||
diff --git a/webapp/vendor/html5-boilerplate-4.3.0/css/main.css b/webapp/vendor/html5-boilerplate-4.3.0/css/main.css new file mode 100755 index 0000000..294e019 --- /dev/null +++ b/webapp/vendor/html5-boilerplate-4.3.0/css/main.css | |||
@@ -0,0 +1,304 @@ | |||
1 | /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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 | button, | ||
15 | input, | ||
16 | select, | ||
17 | textarea { | ||
18 | color: #222; | ||
19 | } | ||
20 | |||
21 | html { | ||
22 | font-size: 1em; | ||
23 | line-height: 1.4; | ||
24 | } | ||
25 | |||
26 | /* | ||
27 | * Remove text-shadow in selection highlight: h5bp.com/i | ||
28 | * These selection rule sets have to be separate. | ||
29 | * Customize the background color to match your design. | ||
30 | */ | ||
31 | |||
32 | ::-moz-selection { | ||
33 | background: #b3d4fc; | ||
34 | text-shadow: none; | ||
35 | } | ||
36 | |||
37 | ::selection { | ||
38 | background: #b3d4fc; | ||
39 | text-shadow: none; | ||
40 | } | ||
41 | |||
42 | /* | ||
43 | * A better looking default horizontal rule | ||
44 | */ | ||
45 | |||
46 | hr { | ||
47 | display: block; | ||
48 | height: 1px; | ||
49 | border: 0; | ||
50 | border-top: 1px solid #ccc; | ||
51 | margin: 1em 0; | ||
52 | padding: 0; | ||
53 | } | ||
54 | |||
55 | /* | ||
56 | * Remove the gap between images, videos, audio and canvas and the bottom of | ||
57 | * their containers: h5bp.com/i/440 | ||
58 | */ | ||
59 | |||
60 | audio, | ||
61 | canvas, | ||
62 | img, | ||
63 | video { | ||
64 | vertical-align: middle; | ||
65 | } | ||
66 | |||
67 | /* | ||
68 | * Remove default fieldset styles. | ||
69 | */ | ||
70 | |||
71 | fieldset { | ||
72 | border: 0; | ||
73 | margin: 0; | ||
74 | padding: 0; | ||
75 | } | ||
76 | |||
77 | /* | ||
78 | * Allow only vertical resizing of textareas. | ||
79 | */ | ||
80 | |||
81 | textarea { | ||
82 | resize: vertical; | ||
83 | } | ||
84 | |||
85 | /* ========================================================================== | ||
86 | Browse Happy prompt | ||
87 | ========================================================================== */ | ||
88 | |||
89 | .browsehappy { | ||
90 | margin: 0.2em 0; | ||
91 | background: #ccc; | ||
92 | color: #000; | ||
93 | padding: 0.2em 0; | ||
94 | } | ||
95 | |||
96 | /* ========================================================================== | ||
97 | Author's custom styles | ||
98 | ========================================================================== */ | ||
99 | |||
100 | |||
101 | |||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |||
107 | |||
108 | |||
109 | |||
110 | |||
111 | |||
112 | |||
113 | |||
114 | |||
115 | |||
116 | /* ========================================================================== | ||
117 | Helper classes | ||
118 | ========================================================================== */ | ||
119 | |||
120 | /* | ||
121 | * Image replacement | ||
122 | */ | ||
123 | |||
124 | .ir { | ||
125 | background-color: transparent; | ||
126 | border: 0; | ||
127 | overflow: hidden; | ||
128 | /* IE 6/7 fallback */ | ||
129 | *text-indent: -9999px; | ||
130 | } | ||
131 | |||
132 | .ir:before { | ||
133 | content: ""; | ||
134 | display: block; | ||
135 | width: 0; | ||
136 | height: 150%; | ||
137 | } | ||
138 | |||
139 | /* | ||
140 | * Hide from both screenreaders and browsers: h5bp.com/u | ||
141 | */ | ||
142 | |||
143 | .hidden { | ||
144 | display: none !important; | ||
145 | visibility: hidden; | ||
146 | } | ||
147 | |||
148 | /* | ||
149 | * Hide only visually, but have it available for screenreaders: h5bp.com/v | ||
150 | */ | ||
151 | |||
152 | .visuallyhidden { | ||
153 | border: 0; | ||
154 | clip: rect(0 0 0 0); | ||
155 | height: 1px; | ||
156 | margin: -1px; | ||
157 | overflow: hidden; | ||
158 | padding: 0; | ||
159 | position: absolute; | ||
160 | width: 1px; | ||
161 | } | ||
162 | |||
163 | /* | ||
164 | * Extends the .visuallyhidden class to allow the element to be focusable | ||
165 | * when navigated to via the keyboard: h5bp.com/p | ||
166 | */ | ||
167 | |||
168 | .visuallyhidden.focusable:active, | ||
169 | .visuallyhidden.focusable:focus { | ||
170 | clip: auto; | ||
171 | height: auto; | ||
172 | margin: 0; | ||
173 | overflow: visible; | ||
174 | position: static; | ||
175 | width: auto; | ||
176 | } | ||
177 | |||
178 | /* | ||
179 | * Hide visually and from screenreaders, but maintain layout | ||
180 | */ | ||
181 | |||
182 | .invisible { | ||
183 | visibility: hidden; | ||
184 | } | ||
185 | |||
186 | /* | ||
187 | * Clearfix: contain floats | ||
188 | * | ||
189 | * For modern browsers | ||
190 | * 1. The space content is one way to avoid an Opera bug when the | ||
191 | * `contenteditable` attribute is included anywhere else in the document. | ||
192 | * Otherwise it causes space to appear at the top and bottom of elements | ||
193 | * that receive the `clearfix` class. | ||
194 | * 2. The use of `table` rather than `block` is only necessary if using | ||
195 | * `:before` to contain the top-margins of child elements. | ||
196 | */ | ||
197 | |||
198 | .clearfix:before, | ||
199 | .clearfix:after { | ||
200 | content: " "; /* 1 */ | ||
201 | display: table; /* 2 */ | ||
202 | } | ||
203 | |||
204 | .clearfix:after { | ||
205 | clear: both; | ||
206 | } | ||
207 | |||
208 | /* | ||
209 | * For IE 6/7 only | ||
210 | * Include this rule to trigger hasLayout and contain floats. | ||
211 | */ | ||
212 | |||
213 | .clearfix { | ||
214 | *zoom: 1; | ||
215 | } | ||
216 | |||
217 | /* ========================================================================== | ||
218 | EXAMPLE Media Queries for Responsive Design. | ||
219 | These examples override the primary ('mobile first') styles. | ||
220 | Modify as content requires. | ||
221 | ========================================================================== */ | ||
222 | |||
223 | @media only screen and (min-width: 35em) { | ||
224 | /* Style adjustments for viewports that meet the condition */ | ||
225 | } | ||
226 | |||
227 | @media print, | ||
228 | (-o-min-device-pixel-ratio: 5/4), | ||
229 | (-webkit-min-device-pixel-ratio: 1.25), | ||
230 | (min-resolution: 120dpi) { | ||
231 | /* Style adjustments for high resolution devices */ | ||
232 | } | ||
233 | |||
234 | /* ========================================================================== | ||
235 | Print styles. | ||
236 | Inlined to avoid required HTTP connection: h5bp.com/r | ||
237 | ========================================================================== */ | ||
238 | |||
239 | @media print { | ||
240 | * { | ||
241 | background: transparent !important; | ||
242 | color: #000 !important; /* Black prints faster: h5bp.com/s */ | ||
243 | box-shadow: none !important; | ||
244 | text-shadow: none !important; | ||
245 | } | ||
246 | |||
247 | a, | ||
248 | a:visited { | ||
249 | text-decoration: underline; | ||
250 | } | ||
251 | |||
252 | a[href]:after { | ||
253 | content: " (" attr(href) ")"; | ||
254 | } | ||
255 | |||
256 | abbr[title]:after { | ||
257 | content: " (" attr(title) ")"; | ||
258 | } | ||
259 | |||
260 | /* | ||
261 | * Don't show links for images, or javascript/internal links | ||
262 | */ | ||
263 | |||
264 | .ir a:after, | ||
265 | a[href^="javascript:"]:after, | ||
266 | a[href^="#"]:after { | ||
267 | content: ""; | ||
268 | } | ||
269 | |||
270 | pre, | ||
271 | blockquote { | ||
272 | border: 1px solid #999; | ||
273 | page-break-inside: avoid; | ||
274 | } | ||
275 | |||
276 | thead { | ||
277 | display: table-header-group; /* h5bp.com/t */ | ||
278 | } | ||
279 | |||
280 | tr, | ||
281 | img { | ||
282 | page-break-inside: avoid; | ||
283 | } | ||
284 | |||
285 | img { | ||
286 | max-width: 100% !important; | ||
287 | } | ||
288 | |||
289 | @page { | ||
290 | margin: 0.5cm; | ||
291 | } | ||
292 | |||
293 | p, | ||
294 | h2, | ||
295 | h3 { | ||
296 | orphans: 3; | ||
297 | widows: 3; | ||
298 | } | ||
299 | |||
300 | h2, | ||
301 | h3 { | ||
302 | page-break-after: avoid; | ||
303 | } | ||
304 | } | ||
diff --git a/webapp/vendor/html5-boilerplate-4.3.0/css/normalize.css b/webapp/vendor/html5-boilerplate-4.3.0/css/normalize.css new file mode 100755 index 0000000..42e24d6 --- /dev/null +++ b/webapp/vendor/html5-boilerplate-4.3.0/css/normalize.css | |||
@@ -0,0 +1,527 @@ | |||
1 | /*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | ||
2 | |||
3 | /* ========================================================================== | ||
4 | HTML5 display definitions | ||
5 | ========================================================================== */ | ||
6 | |||
7 | /** | ||
8 | * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. | ||
9 | */ | ||
10 | |||
11 | article, | ||
12 | aside, | ||
13 | details, | ||
14 | figcaption, | ||
15 | figure, | ||
16 | footer, | ||
17 | header, | ||
18 | hgroup, | ||
19 | main, | ||
20 | nav, | ||
21 | section, | ||
22 | summary { | ||
23 | display: block; | ||
24 | } | ||
25 | |||
26 | /** | ||
27 | * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. | ||
28 | */ | ||
29 | |||
30 | audio, | ||
31 | canvas, | ||
32 | video { | ||
33 | display: inline-block; | ||
34 | *display: inline; | ||
35 | *zoom: 1; | ||
36 | } | ||
37 | |||
38 | /** | ||
39 | * Prevent modern browsers from displaying `audio` without controls. | ||
40 | * Remove excess height in iOS 5 devices. | ||
41 | */ | ||
42 | |||
43 | audio:not([controls]) { | ||
44 | display: none; | ||
45 | height: 0; | ||
46 | } | ||
47 | |||
48 | /** | ||
49 | * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. | ||
50 | * Known issue: no IE 6 support. | ||
51 | */ | ||
52 | |||
53 | [hidden] { | ||
54 | display: none; | ||
55 | } | ||
56 | |||
57 | /* ========================================================================== | ||
58 | Base | ||
59 | ========================================================================== */ | ||
60 | |||
61 | /** | ||
62 | * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using | ||
63 | * `em` units. | ||
64 | * 2. Prevent iOS text size adjust after orientation change, without disabling | ||
65 | * user zoom. | ||
66 | */ | ||
67 | |||
68 | html { | ||
69 | font-size: 100%; /* 1 */ | ||
70 | -ms-text-size-adjust: 100%; /* 2 */ | ||
71 | -webkit-text-size-adjust: 100%; /* 2 */ | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * Address `font-family` inconsistency between `textarea` and other form | ||
76 | * elements. | ||
77 | */ | ||
78 | |||
79 | html, | ||
80 | button, | ||
81 | input, | ||
82 | select, | ||
83 | textarea { | ||
84 | font-family: sans-serif; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * Address margins handled incorrectly in IE 6/7. | ||
89 | */ | ||
90 | |||
91 | body { | ||
92 | margin: 0; | ||
93 | } | ||
94 | |||
95 | /* ========================================================================== | ||
96 | Links | ||
97 | ========================================================================== */ | ||
98 | |||
99 | /** | ||
100 | * Address `outline` inconsistency between Chrome and other browsers. | ||
101 | */ | ||
102 | |||
103 | a:focus { | ||
104 | outline: thin dotted; | ||
105 | } | ||
106 | |||
107 | /** | ||
108 | * Improve readability when focused and also mouse hovered in all browsers. | ||
109 | */ | ||
110 | |||
111 | a:active, | ||
112 | a:hover { | ||
113 | outline: 0; | ||
114 | } | ||
115 | |||
116 | /* ========================================================================== | ||
117 | Typography | ||
118 | ========================================================================== */ | ||
119 | |||
120 | /** | ||
121 | * Address font sizes and margins set differently in IE 6/7. | ||
122 | * Address font sizes within `section` and `article` in Firefox 4+, Safari 5, | ||
123 | * and Chrome. | ||
124 | */ | ||
125 | |||
126 | h1 { | ||
127 | font-size: 2em; | ||
128 | margin: 0.67em 0; | ||
129 | } | ||
130 | |||
131 | h2 { | ||
132 | font-size: 1.5em; | ||
133 | margin: 0.83em 0; | ||
134 | } | ||
135 | |||
136 | h3 { | ||
137 | font-size: 1.17em; | ||
138 | margin: 1em 0; | ||
139 | } | ||
140 | |||
141 | h4 { | ||
142 | font-size: 1em; | ||
143 | margin: 1.33em 0; | ||
144 | } | ||
145 | |||
146 | h5 { | ||
147 | font-size: 0.83em; | ||
148 | margin: 1.67em 0; | ||
149 | } | ||
150 | |||
151 | h6 { | ||
152 | font-size: 0.67em; | ||
153 | margin: 2.33em 0; | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * Address styling not present in IE 7/8/9, Safari 5, and Chrome. | ||
158 | */ | ||
159 | |||
160 | abbr[title] { | ||
161 | border-bottom: 1px dotted; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. | ||
166 | */ | ||
167 | |||
168 | b, | ||
169 | strong { | ||
170 | font-weight: bold; | ||
171 | } | ||
172 | |||
173 | blockquote { | ||
174 | margin: 1em 40px; | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * Address styling not present in Safari 5 and Chrome. | ||
179 | */ | ||
180 | |||
181 | dfn { | ||
182 | font-style: italic; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * Address differences between Firefox and other browsers. | ||
187 | * Known issue: no IE 6/7 normalization. | ||
188 | */ | ||
189 | |||
190 | hr { | ||
191 | -moz-box-sizing: content-box; | ||
192 | box-sizing: content-box; | ||
193 | height: 0; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * Address styling not present in IE 6/7/8/9. | ||
198 | */ | ||
199 | |||
200 | mark { | ||
201 | background: #ff0; | ||
202 | color: #000; | ||
203 | } | ||
204 | |||
205 | /** | ||
206 | * Address margins set differently in IE 6/7. | ||
207 | */ | ||
208 | |||
209 | p, | ||
210 | pre { | ||
211 | margin: 1em 0; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. | ||
216 | */ | ||
217 | |||
218 | code, | ||
219 | kbd, | ||
220 | pre, | ||
221 | samp { | ||
222 | font-family: monospace, serif; | ||
223 | _font-family: 'courier new', monospace; | ||
224 | font-size: 1em; | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * Improve readability of pre-formatted text in all browsers. | ||
229 | */ | ||
230 | |||
231 | pre { | ||
232 | white-space: pre; | ||
233 | white-space: pre-wrap; | ||
234 | word-wrap: break-word; | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * Address CSS quotes not supported in IE 6/7. | ||
239 | */ | ||
240 | |||
241 | q { | ||
242 | quotes: none; | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * Address `quotes` property not supported in Safari 4. | ||
247 | */ | ||
248 | |||
249 | q:before, | ||
250 | q:after { | ||
251 | content: ''; | ||
252 | content: none; | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * Address inconsistent and variable font size in all browsers. | ||
257 | */ | ||
258 | |||
259 | small { | ||
260 | font-size: 80%; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * Prevent `sub` and `sup` affecting `line-height` in all browsers. | ||
265 | */ | ||
266 | |||
267 | sub, | ||
268 | sup { | ||
269 | font-size: 75%; | ||
270 | line-height: 0; | ||
271 | position: relative; | ||
272 | vertical-align: baseline; | ||
273 | } | ||
274 | |||
275 | sup { | ||
276 | top: -0.5em; | ||
277 | } | ||
278 | |||
279 | sub { | ||
280 | bottom: -0.25em; | ||
281 | } | ||
282 | |||
283 | /* ========================================================================== | ||
284 | Lists | ||
285 | ========================================================================== */ | ||
286 | |||
287 | /** | ||
288 | * Address margins set differently in IE 6/7. | ||
289 | */ | ||
290 | |||
291 | dl, | ||
292 | menu, | ||
293 | ol, | ||
294 | ul { | ||
295 | margin: 1em 0; | ||
296 | } | ||
297 | |||
298 | dd { | ||
299 | margin: 0 0 0 40px; | ||
300 | } | ||
301 | |||
302 | /** | ||
303 | * Address paddings set differently in IE 6/7. | ||
304 | */ | ||
305 | |||
306 | menu, | ||
307 | ol, | ||
308 | ul { | ||
309 | padding: 0 0 0 40px; | ||
310 | } | ||
311 | |||
312 | /** | ||
313 | * Correct list images handled incorrectly in IE 7. | ||
314 | */ | ||
315 | |||
316 | nav ul, | ||
317 | nav ol { | ||
318 | list-style: none; | ||
319 | list-style-image: none; | ||
320 | } | ||
321 | |||
322 | /* ========================================================================== | ||
323 | Embedded content | ||
324 | ========================================================================== */ | ||
325 | |||
326 | /** | ||
327 | * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. | ||
328 | * 2. Improve image quality when scaled in IE 7. | ||
329 | */ | ||
330 | |||
331 | img { | ||
332 | border: 0; /* 1 */ | ||
333 | -ms-interpolation-mode: bicubic; /* 2 */ | ||
334 | } | ||
335 | |||
336 | /** | ||
337 | * Correct overflow displayed oddly in IE 9. | ||
338 | */ | ||
339 | |||
340 | svg:not(:root) { | ||
341 | overflow: hidden; | ||
342 | } | ||
343 | |||
344 | /* ========================================================================== | ||
345 | Figures | ||
346 | ========================================================================== */ | ||
347 | |||
348 | /** | ||
349 | * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. | ||
350 | */ | ||
351 | |||
352 | figure { | ||
353 | margin: 0; | ||
354 | } | ||
355 | |||
356 | /* ========================================================================== | ||
357 | Forms | ||
358 | ========================================================================== */ | ||
359 | |||
360 | /** | ||
361 | * Correct margin displayed oddly in IE 6/7. | ||
362 | */ | ||
363 | |||
364 | form { | ||
365 | margin: 0; | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * Define consistent border, margin, and padding. | ||
370 | */ | ||
371 | |||
372 | fieldset { | ||
373 | border: 1px solid #c0c0c0; | ||
374 | margin: 0 2px; | ||
375 | padding: 0.35em 0.625em 0.75em; | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * 1. Correct color not being inherited in IE 6/7/8/9. | ||
380 | * 2. Correct text not wrapping in Firefox 3. | ||
381 | * 3. Correct alignment displayed oddly in IE 6/7. | ||
382 | */ | ||
383 | |||
384 | legend { | ||
385 | border: 0; /* 1 */ | ||
386 | padding: 0; | ||
387 | white-space: normal; /* 2 */ | ||
388 | *margin-left: -7px; /* 3 */ | ||
389 | } | ||
390 | |||
391 | /** | ||
392 | * 1. Correct font size not being inherited in all browsers. | ||
393 | * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, | ||
394 | * and Chrome. | ||
395 | * 3. Improve appearance and consistency in all browsers. | ||
396 | */ | ||
397 | |||
398 | button, | ||
399 | input, | ||
400 | select, | ||
401 | textarea { | ||
402 | font-size: 100%; /* 1 */ | ||
403 | margin: 0; /* 2 */ | ||
404 | vertical-align: baseline; /* 3 */ | ||
405 | *vertical-align: middle; /* 3 */ | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * Address Firefox 3+ setting `line-height` on `input` using `!important` in | ||
410 | * the UA stylesheet. | ||
411 | */ | ||
412 | |||
413 | button, | ||
414 | input { | ||
415 | line-height: normal; | ||
416 | } | ||
417 | |||
418 | /** | ||
419 | * Address inconsistent `text-transform` inheritance for `button` and `select`. | ||
420 | * All other form control elements do not inherit `text-transform` values. | ||
421 | * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. | ||
422 | * Correct `select` style inheritance in Firefox 4+ and Opera. | ||
423 | */ | ||
424 | |||
425 | button, | ||
426 | select { | ||
427 | text-transform: none; | ||
428 | } | ||
429 | |||
430 | /** | ||
431 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` | ||
432 | * and `video` controls. | ||
433 | * 2. Correct inability to style clickable `input` types in iOS. | ||
434 | * 3. Improve usability and consistency of cursor style between image-type | ||
435 | * `input` and others. | ||
436 | * 4. Remove inner spacing in IE 7 without affecting normal text inputs. | ||
437 | * Known issue: inner spacing remains in IE 6. | ||
438 | */ | ||
439 | |||
440 | button, | ||
441 | html input[type="button"], /* 1 */ | ||
442 | input[type="reset"], | ||
443 | input[type="submit"] { | ||
444 | -webkit-appearance: button; /* 2 */ | ||
445 | cursor: pointer; /* 3 */ | ||
446 | *overflow: visible; /* 4 */ | ||
447 | } | ||
448 | |||
449 | /** | ||
450 | * Re-set default cursor for disabled elements. | ||
451 | */ | ||
452 | |||
453 | button[disabled], | ||
454 | html input[disabled] { | ||
455 | cursor: default; | ||
456 | } | ||
457 | |||
458 | /** | ||
459 | * 1. Address box sizing set to content-box in IE 8/9. | ||
460 | * 2. Remove excess padding in IE 8/9. | ||
461 | * 3. Remove excess padding in IE 7. | ||
462 | * Known issue: excess padding remains in IE 6. | ||
463 | */ | ||
464 | |||
465 | input[type="checkbox"], | ||
466 | input[type="radio"] { | ||
467 | box-sizing: border-box; /* 1 */ | ||
468 | padding: 0; /* 2 */ | ||
469 | *height: 13px; /* 3 */ | ||
470 | *width: 13px; /* 3 */ | ||
471 | } | ||
472 | |||
473 | /** | ||
474 | * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. | ||
475 | * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome | ||
476 | * (include `-moz` to future-proof). | ||
477 | */ | ||
478 | |||
479 | input[type="search"] { | ||
480 | -webkit-appearance: textfield; /* 1 */ | ||
481 | -moz-box-sizing: content-box; | ||
482 | -webkit-box-sizing: content-box; /* 2 */ | ||
483 | box-sizing: content-box; | ||
484 | } | ||
485 | |||
486 | /** | ||
487 | * Remove inner padding and search cancel button in Safari 5 and Chrome | ||
488 | * on OS X. | ||
489 | */ | ||
490 | |||
491 | input[type="search"]::-webkit-search-cancel-button, | ||
492 | input[type="search"]::-webkit-search-decoration { | ||
493 | -webkit-appearance: none; | ||
494 | } | ||
495 | |||
496 | /** | ||
497 | * Remove inner padding and border in Firefox 3+. | ||
498 | */ | ||
499 | |||
500 | button::-moz-focus-inner, | ||
501 | input::-moz-focus-inner { | ||
502 | border: 0; | ||
503 | padding: 0; | ||
504 | } | ||
505 | |||
506 | /** | ||
507 | * 1. Remove default vertical scrollbar in IE 6/7/8/9. | ||
508 | * 2. Improve readability and alignment in all browsers. | ||
509 | */ | ||
510 | |||
511 | textarea { | ||
512 | overflow: auto; /* 1 */ | ||
513 | vertical-align: top; /* 2 */ | ||
514 | } | ||
515 | |||
516 | /* ========================================================================== | ||
517 | Tables | ||
518 | ========================================================================== */ | ||
519 | |||
520 | /** | ||
521 | * Remove most spacing between table cells. | ||
522 | */ | ||
523 | |||
524 | table { | ||
525 | border-collapse: collapse; | ||
526 | border-spacing: 0; | ||
527 | } | ||