2011-08-10 00:57:03 +00:00
|
|
|
/*! normalize.css 2011-08-10T00:55 UTC · http://github.com/necolas/normalize.css */
|
2011-06-20 15:56:04 +00:00
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
/* =============================================================================
|
2011-07-20 19:35:55 +00:00
|
|
|
HTML5 display definitions
|
2011-05-31 22:06:06 +00:00
|
|
|
========================================================================== */
|
2011-05-17 11:02:54 +00:00
|
|
|
|
2011-04-21 16:32:16 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Corrects block display not defined in IE6/7/8/9 & FF3
|
2011-05-14 09:34:35 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
article,
|
|
|
|
aside,
|
|
|
|
details,
|
|
|
|
figcaption,
|
|
|
|
figure,
|
|
|
|
footer,
|
|
|
|
header,
|
|
|
|
hgroup,
|
|
|
|
nav,
|
|
|
|
section {
|
2011-05-14 10:01:47 +00:00
|
|
|
display: block;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-06-20 17:23:16 +00:00
|
|
|
/*
|
|
|
|
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
|
|
|
*/
|
|
|
|
|
2011-07-20 19:06:47 +00:00
|
|
|
audio,
|
2011-06-20 17:23:16 +00:00
|
|
|
canvas,
|
|
|
|
video {
|
|
|
|
display: inline-block;
|
|
|
|
*display: inline;
|
2011-06-27 19:09:33 +00:00
|
|
|
*zoom: 1;
|
2011-06-20 17:23:16 +00:00
|
|
|
}
|
|
|
|
|
2011-07-20 19:06:47 +00:00
|
|
|
/*
|
|
|
|
* Prevents modern browsers from displaying 'audio' without controls
|
|
|
|
*/
|
|
|
|
|
|
|
|
audio:not([controls]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-08-03 09:39:34 +00:00
|
|
|
/*
|
2011-08-10 00:57:03 +00:00
|
|
|
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
|
|
|
* Known issue: no IE6 support
|
2011-08-03 09:39:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-05-17 11:02:54 +00:00
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
/* =============================================================================
|
|
|
|
Base
|
|
|
|
========================================================================== */
|
2011-05-17 11:02:54 +00:00
|
|
|
|
2011-04-21 16:32:16 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
2011-06-01 16:11:59 +00:00
|
|
|
* http://clagnut.com/blog/348/#c790
|
2011-06-20 15:56:04 +00:00
|
|
|
* 2. Keeps page centred in all browsers regardless of content height
|
2011-08-03 09:41:31 +00:00
|
|
|
* 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
2011-05-31 22:06:06 +00:00
|
|
|
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
2011-05-14 09:34:35 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
html {
|
2011-06-01 16:11:59 +00:00
|
|
|
font-size: 100%; /* 1 */
|
|
|
|
overflow-y: scroll; /* 2 */
|
2011-08-03 09:41:31 +00:00
|
|
|
-webkit-text-size-adjust: 100%; /* 3 */
|
|
|
|
-ms-text-size-adjust: 100%; /* 3 */
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-04-29 00:12:49 +00:00
|
|
|
/*
|
2011-06-01 16:11:59 +00:00
|
|
|
* Addresses margins handled incorrectly in IE6/7
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-29 00:12:49 +00:00
|
|
|
|
|
|
|
body {
|
2011-06-01 16:11:59 +00:00
|
|
|
margin: 0;
|
2011-05-17 16:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-10 23:15:28 +00:00
|
|
|
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
2011-05-17 16:27:55 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
body,
|
2011-06-01 16:11:59 +00:00
|
|
|
button,
|
2011-05-17 16:27:55 +00:00
|
|
|
input,
|
2011-06-01 16:11:59 +00:00
|
|
|
select,
|
|
|
|
textarea {
|
2011-05-17 16:27:55 +00:00
|
|
|
font-family: sans-serif;
|
2011-04-29 00:12:49 +00:00
|
|
|
}
|
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Links
|
|
|
|
========================================================================== */
|
2011-05-17 11:02:54 +00:00
|
|
|
|
|
|
|
a {
|
2011-05-31 22:06:06 +00:00
|
|
|
color: #00e;
|
2011-05-17 11:02:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
2011-05-31 22:06:06 +00:00
|
|
|
color: #551a8b;
|
2011-05-17 11:02:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-05-31 22:06:06 +00:00
|
|
|
* Addresses outline displayed oddly in Chrome
|
2011-05-17 11:02:54 +00:00
|
|
|
*/
|
2011-04-29 16:49:05 +00:00
|
|
|
|
|
|
|
a:focus {
|
2011-05-14 10:01:47 +00:00
|
|
|
outline: thin dotted;
|
2011-04-29 16:49:05 +00:00
|
|
|
}
|
|
|
|
|
2011-05-17 11:02:54 +00:00
|
|
|
/*
|
|
|
|
* Improves readability when focused and also mouse hovered in all browsers
|
2011-05-31 22:06:06 +00:00
|
|
|
* people.opera.com/patrickl/experiments/keyboard/test
|
2011-05-17 11:02:54 +00:00
|
|
|
*/
|
2011-04-29 16:49:05 +00:00
|
|
|
|
2011-05-27 00:52:19 +00:00
|
|
|
a:hover,
|
2011-05-27 01:04:35 +00:00
|
|
|
a:active {
|
2011-05-31 08:50:19 +00:00
|
|
|
outline: 0;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Typography
|
|
|
|
========================================================================== */
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Addresses styling not present in IE7/8/9, S5, Chrome
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
2011-04-22 20:34:18 +00:00
|
|
|
abbr[title] {
|
2011-05-14 10:01:47 +00:00
|
|
|
border-bottom: 1px dotted;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Addresses style set to 'bolder' in FF3/4, S4/5, Chrome
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
b,
|
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-05-17 15:51:24 +00:00
|
|
|
blockquote {
|
|
|
|
margin: 1em 40px;
|
|
|
|
}
|
|
|
|
|
2011-04-21 16:32:16 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Addresses styling not present in S5, Chrome
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
dfn {
|
2011-05-14 10:01:47 +00:00
|
|
|
font-style: italic;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Addresses styling not present in IE6/7/8/9
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
mark {
|
2011-05-31 22:06:06 +00:00
|
|
|
background: #ff0;
|
2011-05-14 10:01:47 +00:00
|
|
|
color: #000;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Corrects font family set oddly in IE6, S5, Chrome
|
2011-05-31 22:06:06 +00:00
|
|
|
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
samp {
|
2011-06-20 15:56:04 +00:00
|
|
|
font-family: monospace, monospace;
|
|
|
|
_font-family: 'courier new', monospace;
|
2011-05-14 10:01:47 +00:00
|
|
|
font-size: 1em;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-04-21 16:44:07 +00:00
|
|
|
* Improves readability of pre-formatted text in all browsers
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
pre {
|
2011-05-14 10:01:47 +00:00
|
|
|
white-space: pre;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-05-14 10:01:47 +00:00
|
|
|
* 1. Addresses CSS quotes not supported in IE6/7
|
2011-05-31 22:06:06 +00:00
|
|
|
* 2. Addresses quote property not supported in S4
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
/* 1 */
|
|
|
|
|
|
|
|
q {
|
2011-05-14 10:01:47 +00:00
|
|
|
quotes: none;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 2 */
|
|
|
|
|
|
|
|
q:before,
|
|
|
|
q:after {
|
2011-05-14 10:01:47 +00:00
|
|
|
content: '';
|
|
|
|
content: none;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-04-29 16:49:05 +00:00
|
|
|
small {
|
2011-05-14 10:01:47 +00:00
|
|
|
font-size: 75%;
|
2011-04-29 16:49:05 +00:00
|
|
|
}
|
|
|
|
|
2011-05-14 10:01:47 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Prevents sub and sup affecting line-height in all browsers
|
2011-05-31 22:06:06 +00:00
|
|
|
* gist.github.com/413930
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
|
|
|
|
2011-04-21 16:32:16 +00:00
|
|
|
sub,
|
|
|
|
sup {
|
2011-05-14 10:01:47 +00:00
|
|
|
font-size: 75%;
|
|
|
|
line-height: 0;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: baseline;
|
2011-04-28 01:18:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sup {
|
2011-05-14 10:01:47 +00:00
|
|
|
top: -0.5em;
|
2011-04-28 01:18:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub {
|
2011-05-14 10:01:47 +00:00
|
|
|
bottom: -0.25em;
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Lists
|
|
|
|
========================================================================== */
|
2011-05-17 15:51:24 +00:00
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0 0 0 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin: 0 0 0 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul,
|
|
|
|
nav ol {
|
|
|
|
list-style: none;
|
2011-07-31 10:35:06 +00:00
|
|
|
list-style-image: none;
|
2011-06-21 17:33:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Embedded content
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 1. Removes border when inside 'a' element in IE6/7/8/9
|
|
|
|
* 2. Improves image quality when scaled in IE7
|
|
|
|
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
|
|
|
*/
|
|
|
|
|
|
|
|
img {
|
|
|
|
border: 0; /* 1 */
|
|
|
|
-ms-interpolation-mode: bicubic; /* 2 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Corrects overflow displayed oddly in IE9
|
|
|
|
*/
|
|
|
|
|
|
|
|
svg:not(:root) {
|
|
|
|
overflow: hidden;
|
2011-05-17 15:51:24 +00:00
|
|
|
}
|
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Figures
|
|
|
|
========================================================================== */
|
2011-05-25 22:31:24 +00:00
|
|
|
|
|
|
|
/*
|
2011-05-31 22:06:06 +00:00
|
|
|
* Addresses margin not present in IE6/7/8/9, S5, O11
|
2011-05-25 22:31:24 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
figure {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Forms
|
|
|
|
========================================================================== */
|
2011-05-17 11:02:54 +00:00
|
|
|
|
2011-05-17 11:46:20 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Corrects margin displayed oddly in IE6/7
|
2011-05-17 11:46:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-05-31 22:06:06 +00:00
|
|
|
* Define consistent margin and padding
|
2011-05-17 11:46:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
fieldset {
|
2011-05-17 16:27:55 +00:00
|
|
|
margin: 0 2px;
|
|
|
|
padding: 0.35em 0.625em 0.75em;
|
2011-05-17 11:46:20 +00:00
|
|
|
}
|
|
|
|
|
2011-04-21 16:32:16 +00:00
|
|
|
/*
|
2011-06-20 16:28:21 +00:00
|
|
|
* 1. Corrects color not being inherited in IE6/7/8/9
|
|
|
|
* 2. Corrects alignment displayed oddly in IE6/7
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
legend {
|
2011-06-20 16:28:21 +00:00
|
|
|
border: 0; /* 1 */
|
|
|
|
*margin-left: -7px; /* 2 */
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-20 16:28:21 +00:00
|
|
|
* 1. Corrects font size not being inherited in all browsers
|
2011-06-20 15:56:04 +00:00
|
|
|
* 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
|
|
|
|
* 3. Improves appearance and consistency in all browsers
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
2011-05-17 16:27:55 +00:00
|
|
|
font-size: 100%; /* 1 */
|
|
|
|
margin: 0; /* 2 */
|
|
|
|
vertical-align: baseline; /* 3 */
|
2011-05-26 13:14:18 +00:00
|
|
|
*vertical-align: middle; /* 3 */
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
|
|
|
|
* 2. Corrects inner spacing displayed oddly in IE6/7
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-04-21 16:32:16 +00:00
|
|
|
|
|
|
|
button,
|
2011-04-22 20:34:18 +00:00
|
|
|
input {
|
2011-05-17 09:47:28 +00:00
|
|
|
line-height: normal; /* 1 */
|
|
|
|
*overflow: visible; /* 2 */
|
2011-04-21 16:32:16 +00:00
|
|
|
}
|
|
|
|
|
2011-07-12 10:52:07 +00:00
|
|
|
/*
|
|
|
|
* Corrects overlap and whitespace issue for buttons and inputs in IE6/7
|
|
|
|
* Known issue: reintroduces inner spacing
|
|
|
|
*/
|
|
|
|
|
|
|
|
table button,
|
|
|
|
table input {
|
|
|
|
*overflow: auto;
|
|
|
|
}
|
|
|
|
|
2011-05-17 11:46:20 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
|
|
|
* 2. Corrects inability to style clickable 'input' types in iOS
|
2011-05-17 11:46:20 +00:00
|
|
|
*/
|
|
|
|
|
2011-05-26 13:14:18 +00:00
|
|
|
button,
|
2011-07-12 10:44:40 +00:00
|
|
|
html input[type="button"],
|
2011-05-17 11:46:20 +00:00
|
|
|
input[type="reset"],
|
2011-05-26 13:14:18 +00:00
|
|
|
input[type="submit"] {
|
2011-05-25 21:54:43 +00:00
|
|
|
cursor: pointer; /* 1 */
|
|
|
|
-webkit-appearance: button; /* 2 */
|
2011-05-17 11:46:20 +00:00
|
|
|
}
|
|
|
|
|
2011-05-03 21:17:32 +00:00
|
|
|
/*
|
2011-05-23 15:04:33 +00:00
|
|
|
* Addresses box sizing set to content-box in IE8/9
|
2011-05-14 10:01:47 +00:00
|
|
|
*/
|
2011-05-03 21:17:32 +00:00
|
|
|
|
2011-05-17 15:51:24 +00:00
|
|
|
input[type="checkbox"],
|
2011-05-23 15:04:33 +00:00
|
|
|
input[type="radio"] {
|
2011-05-14 10:01:47 +00:00
|
|
|
box-sizing: border-box;
|
2011-05-03 21:17:32 +00:00
|
|
|
}
|
|
|
|
|
2011-05-23 15:04:33 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* 1. Addresses appearance set to searchfield in S5, Chrome
|
|
|
|
* 2. Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
2011-05-23 15:04:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
input[type="search"] {
|
2011-06-20 15:56:04 +00:00
|
|
|
-webkit-appearance: textfield; /* 1 */
|
2011-05-14 10:01:47 +00:00
|
|
|
-moz-box-sizing: content-box;
|
2011-06-20 15:56:04 +00:00
|
|
|
-webkit-box-sizing: content-box; /* 2 */
|
2011-05-14 10:01:47 +00:00
|
|
|
box-sizing: content-box;
|
2011-05-17 16:27:55 +00:00
|
|
|
}
|
|
|
|
|
2011-05-31 13:46:59 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Corrects inner padding displayed oddly in S5, Chrome on OSX
|
2011-05-31 13:46:59 +00:00
|
|
|
*/
|
2011-05-31 19:44:55 +00:00
|
|
|
|
2011-05-31 13:46:59 +00:00
|
|
|
input[type="search"]::-webkit-search-decoration {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
2011-05-26 13:14:18 +00:00
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* Corrects inner padding and border displayed oddly in FF3/4
|
2011-05-31 22:06:06 +00:00
|
|
|
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
2011-05-26 13:14:18 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
button::-moz-focus-inner,
|
|
|
|
input::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2011-06-20 15:56:04 +00:00
|
|
|
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
2011-06-27 19:09:33 +00:00
|
|
|
* 2. Improves readability and alignment in all browsers
|
2011-05-26 13:14:18 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
overflow: auto; /* 1 */
|
|
|
|
vertical-align: top; /* 2 */
|
|
|
|
}
|
|
|
|
|
2011-05-31 22:06:06 +00:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
Tables
|
|
|
|
========================================================================== */
|
2011-05-17 16:27:55 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Remove most spacing between table cells
|
|
|
|
*/
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|