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 {
82 h1 { font-size: 1.5em; }
83 h2 { font-size: 1.125em; }
85 select, input, button, textarea, a.button {
86 display: inline-block;
87 color: #000; background-color: #FFF;
90 vertical-align: text-bottom;
91 border: .5pt solid #000;
94 select { padding: .375em 0; }
95 textarea { min-height: 7em; }
97 input[type=radio], input[type=checkbox] {
98 vertical-align: baseline;
100 input[type=number] { text-align: right; padding-right: 0; }
102 button, input[type=button], a.button {
103 box-shadow: .125em .125em .25em;
106 input[type=radio], input[type=checkbox], label[for] {
110 label { margin-right: .75em; }
115 input.search + button.search {
118 background-color: #CCC;
121 border-radius: 0 2pt 2pt 0;
124 input.search + button.search:before {
131 @page { margin: 20mm; }
133 h1 { text-align: center; }
135 h1, h2, h3, h4, h5, h6, form legend {
136 page-break-inside: avoid;
137 page-break-after: avoid;
138 page-break-before: auto;
140 li { page-break-inside: avoid; }
141 th, dt { page-break-after: avoid; }
144 /* ======= End Generic Styles ======= */
146 /* ======= Common Styles ======= */
148 *[tooltip]:hover:after {
152 bottom: 100%; left: 50%; transform: translate(-50%, 0);
153 content: attr(tooltip);
155 color: #000; background-color: #FFC;
160 input[type=radio].tab { display: none; }
161 input[type=radio].tab + label {
164 color: #000; background-color: #EEE;
167 input[type=radio].tab:checked + label {
168 background-color: #FFF;
170 box-shadow: .125em -.125em .125em #888;
173 input[type=radio].tab ~ *.tab {
176 margin-top: -.5pt; padding: .25em .75em;
179 box-shadow: .125em .125em .125em #888;
182 /* Markdown line-block */
183 .line-block { white-space: pre-wrap; }
184 .line-block br { display: none; }
186 /* ======= End Common Styles ======= */