v2 / cmd / tools / vdoc / theme / normalize.css
165 lines · 135 sloc · 2.04 KB · 8a8129cd5ca1ff2c33b4d613965d3e86db93ee1f
Raw
1/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2html {
3 line-height: 1.15;
4 -webkit-text-size-adjust: 100%;
5}
6
7main {
8 display: block;
9}
10
11h1 {
12 font-size: 2em;
13 margin: 0.67em 0;
14}
15
16pre {
17 font-family: monospace, monospace;
18 font-size: 1em;
19}
20
21a {
22 background-color: transparent;
23}
24
25abbr[title] {
26 border-bottom: none;
27 text-decoration: underline;
28 text-decoration: underline dotted;
29}
30
31b,
32strong {
33 font-weight: bolder;
34}
35
36kbd,
37samp {
38 font-family: monospace, monospace;
39 font-size: 1em;
40}
41
42small {
43 font-size: 80%;
44}
45
46sub,
47sup {
48 font-size: 75%;
49 line-height: 0;
50 position: relative;
51 vertical-align: baseline;
52}
53
54sub {
55 bottom: -0.25em;
56}
57
58sup {
59 top: -0.5em;
60}
61
62img {
63 border-style: none;
64}
65
66button,
67input,
68optgroup,
69select,
70textarea {
71 font-family: inherit;
72 font-size: 100%;
73 line-height: 1.15;
74 margin: 0;
75}
76
77button,
78input {
79 overflow: visible;
80}
81
82button,
83select {
84 text-transform: none;
85}
86
87button,
88[type='button'],
89[type='reset'],
90[type='submit'] {
91 -webkit-appearance: button;
92}
93
94button::-moz-focus-inner,
95[type='button']::-moz-focus-inner,
96[type='reset']::-moz-focus-inner,
97[type='submit']::-moz-focus-inner {
98 border-style: none;
99 padding: 0;
100}
101
102button:-moz-focusring,
103[type='button']:-moz-focusring,
104[type='reset']:-moz-focusring,
105[type='submit']:-moz-focusring {
106 outline: 1px dotted ButtonText;
107}
108
109fieldset {
110 padding: 0.35em 0.75em 0.625em;
111}
112
113legend {
114 box-sizing: border-box;
115 color: inherit;
116 display: table;
117 max-width: 100%;
118 padding: 0;
119 white-space: normal;
120}
121
122progress {
123 vertical-align: baseline;
124}
125
126textarea {
127 overflow: auto;
128}
129
130[type='checkbox'],
131[type='radio'] {
132 box-sizing: border-box;
133 padding: 0;
134}
135
136[type='number']::-webkit-inner-spin-button,
137[type='number']::-webkit-outer-spin-button {
138 height: auto;
139}
140
141[type='search'] {
142 -webkit-appearance: textfield;
143 outline-offset: -2px;
144}
145
146[type='search']::-webkit-search-decoration {
147 -webkit-appearance: none;
148}
149
150::-webkit-file-upload-button {
151 -webkit-appearance: button;
152 font: inherit;
153}
154
155summary {
156 display: list-item;
157}
158
159template {
160 display: none;
161}
162
163[hidden] {
164 display: none;
165}
166