comparison toolbox/static/css/html5boilerplate.css @ 0:b0942f44413f

import from git://github.com/mozilla/toolbox.git
author Jeff Hammel <k0scist@gmail.com>
date Sun, 11 May 2014 09:15:35 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b0942f44413f
1 /* HTML5 ✰ Boilerplate */
2
3 html, body, div, span, object, iframe,
4 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5 abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
6 small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
7 fieldset, form, label, legend,
8 table, caption, tbody, tfoot, thead, tr, th, td,
9 article, aside, canvas, details, figcaption, figure,
10 footer, header, hgroup, menu, nav, section, summary,
11 time, mark, audio, video {
12 margin: 0;
13 padding: 0;
14 border: 0;
15 font-size: 100%;
16 font: inherit;
17 vertical-align: baseline;
18 }
19
20 article, aside, details, figcaption, figure,
21 footer, header, hgroup, menu, nav, section {
22 display: block;
23 }
24
25 blockquote, q { quotes: none; }
26 blockquote:before, blockquote:after,
27 q:before, q:after { content: ""; content: none; }
28 ins { background-color: #ff9; color: #000; text-decoration: none; }
29 mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
30 del { text-decoration: line-through; }
31 abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
32 table { border-collapse: collapse; border-spacing: 0; }
33 hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
34 input, select { vertical-align: middle; }
35
36 body { font:13px/1.231 sans-serif; *font-size:small; }
37 select, input, textarea, button { font:99% sans-serif; }
38 pre, code, kbd, samp { font-family: monospace, sans-serif; }
39
40 html { overflow-y: scroll; }
41 a:hover, a:active { outline: none; }
42 ul, ol { margin-left: 2em; }
43 ol { list-style-type: decimal; }
44 nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
45 small { font-size: 85%; }
46 strong, th { font-weight: bold; }
47 td { vertical-align: top; }
48 sub, sup { font-size: 75%; line-height: 0; position: relative; }
49 sup { top: -0.5em; }
50 sub { bottom: -0.25em; }
51
52 pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
53 textarea { overflow: auto; }
54 .ie6 legend, .ie7 legend { margin-left: -7px; }
55 input[type="radio"] { vertical-align: text-bottom; }
56 input[type="checkbox"] { vertical-align: bottom; }
57 .ie7 input[type="checkbox"] { vertical-align: baseline; }
58 .ie6 input { vertical-align: text-bottom; }
59 label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
60 button, input, select, textarea { margin: 0; }
61 input:valid, textarea:valid { }
62 input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
63 .no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
64
65
66 ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
67 ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
68 a:link { -webkit-tap-highlight-color: #FF5E99; }
69 button { width: auto; overflow: visible; }
70 .ie7 img { -ms-interpolation-mode: bicubic; }
71
72 body, select, input, textarea { color: #444; }
73 h1, h2, h3, h4, h5, h6 { font-weight: bold; }
74 a, a:active, a:visited { color: #607890; }
75 a:hover { color: #036; }
76
77
78 /**
79 * Primary styles
80 *
81 * Author:
82 */
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97 .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
98 .hidden { display: none; visibility: hidden; }
99 .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
100 .visuallyhidden.focusable:active,
101 .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
102 .invisible { visibility: hidden; }
103 .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
104 .clearfix:after { clear: both; }
105 .clearfix { zoom: 1; }
106
107
108 @media all and (orientation:portrait) {
109
110 }
111
112 @media all and (orientation:landscape) {
113
114 }
115
116 @media screen and (max-device-width: 480px) {
117
118 /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
119 }
120
121
122 @media print {
123 * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
124 -ms-filter: none !important; }
125 a, a:visited { color: #444 !important; text-decoration: underline; }
126 a[href]:after { content: " (" attr(href) ")"; }
127 abbr[title]:after { content: " (" attr(title) ")"; }
128 .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
129 pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
130 thead { display: table-header-group; }
131 tr, img { page-break-inside: avoid; }
132 @page { margin: 0.5cm; }
133 p, h2, h3 { orphans: 3; widows: 3; }
134 h2, h3{ page-break-after: avoid; }
135 }
136