1 /* ======= GENERIC HTML STYLES ======= */
4 box-sizing: border-box;
7 text-decoration: inherit;
8 color: inherit; background: transparent;
10 margin: 0; padding: 0;
15 font: normal normal normal medium/1.5em sans-serif;
16 color: #000; background: #FFF;
19 ul, ol, dl, table, pre, p { margin-bottom: .5em; }
20 p:only-child { margin-bottom: 0; }
26 th, td { padding: .25em .75em; }
30 text-decoration: underline;
35 text-decoration: inherit;
39 sup { vertical-align: super; }
40 sub { vertical-align: sub; }
41 small { font-size: .75em; }
42 big { font-size: 1.25em; }
43 strike, del, s { text-decoration: line-through; }
44 u {text-decoration: underline; }
45 i, em { font-style: italic; }
46 b, strong { font-weight: bolder; }
47 tt, code, var, samp, kbd { font-family: monospace; }
48 kbd { font-style: italic; }
51 background-color: #EEE;
54 white-space: pre-line;
57 ul, ol { padding-left: 1.5em; }
58 dl dt { font-weight: bolder; }
61 background-color: #EEE;
63 table th { font-weight: bold; }
65 li p + ul, li p + ol {
69 hr { border-bottom: 1pt solid; }
77 h4, h5, h6, form legend {
86 h2 { font-size: 1.125em; }
88 select, input, button, textarea, a.button {
89 display: inline-block;
90 color: #000; background-color: #FFF;
93 vertical-align: text-bottom;
94 border: .5pt solid #000;
97 select { padding: .375em 0; }
98 textarea { min-height: 7em; }
100 input[type=radio], input[type=checkbox] {
101 vertical-align: baseline;
103 input[type=number] { text-align: right; padding-right: 0; }
105 button, input[type=button], a.button {
106 box-shadow: .125em .125em .25em;
109 input[type=radio], input[type=checkbox], label[for] {
113 label { margin-right: .75em; }
118 input.search + button.search {
121 background-color: #CCC;
124 border-radius: 0 2pt 2pt 0;
128 input.search + button.search:before {
135 @page { margin: 20mm; }
137 h1, h2, h3, h4, h5, h6, form legend {
138 page-break-inside: avoid;
139 page-break-after: avoid;
140 page-break-before: auto;
142 li { page-break-inside: avoid; }
143 th, dt { page-break-after: avoid; }
146 /* ======= End Generic Styles ======= */
148 /* ======= Common Styles ======= */
150 *[tooltip]:hover:after {
154 bottom: 100%; left: 50%; transform: translate(-50%, 0);
155 content: attr(tooltip);
157 color: #000; background-color: #FFC;
162 input[type=radio].tab { display: none; }
163 input[type=radio].tab + label {
166 color: #000; background-color: #EEE;
169 input[type=radio].tab:checked + label {
170 background-color: #FFF;
172 box-shadow: .125em -.125em .125em #888;
175 input[type=radio].tab ~ *.tab {
178 margin-top: -.5pt; padding: .25em .75em;
181 box-shadow: .125em .125em .125em #888;
184 /* Markdown line-block */
185 .line-block { white-space: pre-wrap; }
186 .line-block br { display: none; }
188 /* ======= End Common Styles ======= */