OLD | NEW |
| (Empty) |
1 /* HTML5 Boilerplate */ | |
2 | |
3 article, aside, details, figcaption, figure, footer, header, hgroup, nav, sectio
n { display: block; } | |
4 audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; } | |
5 audio:not([controls]) { display: none; } | |
6 [hidden] { display: none; } | |
7 | |
8 html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 10
0%; } | |
9 html, button, input, select, textarea { font-family: sans-serif; color: #222; } | |
10 body { margin: 0; font-size: 1em; line-height: 1.4; } | |
11 | |
12 ::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; } | |
13 ::selection { background: #fe57a1; color: #fff; text-shadow: none; } | |
14 | |
15 a { color: #00e; } | |
16 a:visited { color: #551a8b; } | |
17 a:hover { color: #06e; } | |
18 a:focus { outline: thin dotted; } | |
19 a:hover, a:active { outline: 0; } | |
20 abbr[title] { border-bottom: 1px dotted; } | |
21 b, strong { font-weight: bold; } | |
22 blockquote { margin: 1em 40px; } | |
23 dfn { font-style: italic; } | |
24 hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin:
1em 0; padding: 0; } | |
25 ins { background: #ff9; color: #000; text-decoration: none; } | |
26 mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; } | |
27 pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new
', monospace; font-size: 1em; } | |
28 pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } | |
29 | |
30 q { quotes: none; } | |
31 q:before, q:after { content: ""; content: none; } | |
32 small { font-size: 85%; } | |
33 sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: b
aseline; } | |
34 sup { top: -0.5em; } | |
35 sub { bottom: -0.25em; } | |
36 | |
37 ul, ol { margin: 1em 0; padding: 0 0 0 40px; } | |
38 dd { margin: 0 0 0 40px; } | |
39 nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0
; } | |
40 | |
41 img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } | |
42 svg:not(:root) { overflow: hidden; } | |
43 figure { margin: 0; } | |
44 | |
45 form { margin: 0; } | |
46 fieldset { border: 0; margin: 0; padding: 0; } | |
47 | |
48 label { cursor: pointer; } | |
49 legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; } | |
50 button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: ba
seline; *vertical-align: middle; } | |
51 button, input { line-height: normal; } | |
52 button, input[type="button"], input[type="reset"], input[type="submit"] { cursor
: pointer; -webkit-appearance: button; *overflow: visible; } | |
53 button[disabled], input[disabled] { cursor: default; } | |
54 input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0
; *width: 13px; *height: 13px; } | |
55 input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-b
ox; -webkit-box-sizing: content-box; box-sizing: content-box; } | |
56 input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-s
earch-cancel-button { -webkit-appearance: none; } | |
57 button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } | |
58 textarea { overflow: auto; vertical-align: top; resize: vertical; } | |
59 input:valid, textarea:valid { } | |
60 input:invalid, textarea:invalid { background-color: #f0dddd; } | |
61 | |
62 table { border-collapse: collapse; border-spacing: 0; } | |
63 td { vertical-align: top; } | |
64 | |
65 .chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0
; } | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 @media only screen and (min-width: 35em) { | |
76 | |
77 | |
78 } | |
79 | |
80 .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; backgrou
nd-color: transparent; background-repeat: no-repeat; text-align: left; direction
: ltr; *line-height: 0; } | |
81 .ir br { display: none; } | |
82 .hidden { display: none !important; visibility: hidden; } | |
83 .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; ove
rflow: hidden; padding: 0; position: absolute; width: 1px; } | |
84 .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto;
height: auto; margin: 0; overflow: visible; position: static; width: auto; } | |
85 .invisible { visibility: hidden; } | |
86 .clearfix:before, .clearfix:after { content: ""; display: table; } | |
87 .clearfix:after { clear: both; } | |
88 .clearfix { *zoom: 1; } | |
89 | |
90 @media print { | |
91 * { background: transparent !important; color: black !important; box-shadow:no
ne !important; text-shadow: none !important; filter:none !important; -ms-filter:
none !important; } | |
92 a, a:visited { text-decoration: underline; } | |
93 a[href]:after { content: " (" attr(href) ")"; } | |
94 abbr[title]:after { content: " (" attr(title) ")"; } | |
95 .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
| |
96 pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } | |
97 thead { display: table-header-group; } | |
98 tr, img { page-break-inside: avoid; } | |
99 img { max-width: 100% !important; } | |
100 @page { margin: 0.5cm; } | |
101 p, h2, h3 { orphans: 3; widows: 3; } | |
102 h2, h3 { page-break-after: avoid; } | |
103 } | |
OLD | NEW |