You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
425 lines
7.4 KiB
425 lines
7.4 KiB
10 years ago
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
||
|
|
||
|
//
|
||
|
// 1. Set default font family to sans-serif.
|
||
|
// 2. Prevent iOS and IE text size adjust after device orientation change,
|
||
|
// without disabling user zoom.
|
||
|
//
|
||
|
|
||
|
html {
|
||
|
font-family: sans-serif; // 1
|
||
|
-ms-text-size-adjust: 100%; // 2
|
||
|
-webkit-text-size-adjust: 100%; // 2
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Remove default margin.
|
||
|
//
|
||
|
|
||
|
body {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
// HTML5 display definitions
|
||
|
// ==========================================================================
|
||
|
|
||
|
//
|
||
|
// Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||
|
// Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||
|
// and Firefox.
|
||
|
// Correct `block` display not defined for `main` in IE 11.
|
||
|
//
|
||
|
|
||
|
article,
|
||
|
aside,
|
||
|
details,
|
||
|
figcaption,
|
||
|
figure,
|
||
|
footer,
|
||
|
header,
|
||
|
hgroup,
|
||
|
main,
|
||
|
menu,
|
||
|
nav,
|
||
|
section,
|
||
|
summary {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// 1. Correct `inline-block` display not defined in IE 8/9.
|
||
|
// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||
|
//
|
||
|
|
||
|
audio,
|
||
|
canvas,
|
||
|
progress,
|
||
|
video {
|
||
|
display: inline-block; // 1
|
||
|
vertical-align: baseline; // 2
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Prevent modern browsers from displaying `audio` without controls.
|
||
|
// Remove excess height in iOS 5 devices.
|
||
|
//
|
||
|
|
||
|
audio:not([controls]) {
|
||
|
display: none;
|
||
|
height: 0;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address `[hidden]` styling not present in IE 8/9/10.
|
||
|
// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
||
|
//
|
||
|
|
||
|
[hidden],
|
||
|
template {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
// Links
|
||
|
// ==========================================================================
|
||
|
|
||
|
//
|
||
|
// Remove the gray background color from active links in IE 10.
|
||
|
//
|
||
|
|
||
|
a {
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Improve readability of focused elements when they are also in an
|
||
|
// active/hover state.
|
||
|
//
|
||
|
|
||
|
a:active,
|
||
|
a:hover {
|
||
|
outline: 0;
|
||
|
}
|
||
|
|
||
|
// Text-level semantics
|
||
|
// ==========================================================================
|
||
|
|
||
|
//
|
||
|
// Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||
|
//
|
||
|
|
||
|
abbr[title] {
|
||
|
border-bottom: 1px dotted;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||
|
//
|
||
|
|
||
|
b,
|
||
|
strong {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address styling not present in Safari and Chrome.
|
||
|
//
|
||
|
|
||
|
dfn {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address variable `h1` font-size and margin within `section` and `article`
|
||
|
// contexts in Firefox 4+, Safari, and Chrome.
|
||
|
//
|
||
|
|
||
|
h1 {
|
||
|
font-size: 2em;
|
||
|
margin: 0.67em 0;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address styling not present in IE 8/9.
|
||
|
//
|
||
|
|
||
|
mark {
|
||
|
background: #ff0;
|
||
|
color: #000;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address inconsistent and variable font size in all browsers.
|
||
|
//
|
||
|
|
||
|
small {
|
||
|
font-size: 80%;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||
|
//
|
||
|
|
||
|
sub,
|
||
|
sup {
|
||
|
font-size: 75%;
|
||
|
line-height: 0;
|
||
|
position: relative;
|
||
|
vertical-align: baseline;
|
||
|
}
|
||
|
|
||
|
sup {
|
||
|
top: -0.5em;
|
||
|
}
|
||
|
|
||
|
sub {
|
||
|
bottom: -0.25em;
|
||
|
}
|
||
|
|
||
|
// Embedded content
|
||
|
// ==========================================================================
|
||
|
|
||
|
//
|
||
|
// Remove border when inside `a` element in IE 8/9/10.
|
||
|
//
|
||
|
|
||
|
img {
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Correct overflow not hidden in IE 9/10/11.
|
||
|
//
|
||
|
|
||
|
svg:not(:root) {
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
// Grouping content
|
||
|
// ==========================================================================
|
||
|
|
||
|
//
|
||
|
// Address margin not present in IE 8/9 and Safari.
|
||
|
//
|
||
|
|
||
|
figure {
|
||
|
margin: 1em 40px;
|
||
|
}
|
||
|
|
||
|
//
|
||
|
// Address differences |