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, p { margin-bottom: .5em; }
20 p:only-child { margin-bottom: 0; }
24 text-decoration: underline;
29 text-decoration: inherit;
33 sup { vertical-align: super; }
34 sub { vertical-align: sub; }
35 small { font-size: .75em; }
36 big { font-size: 1.25em; }
37 strike, del, s { text-decoration: line-through; }
38 u {text-decoration: underline; }
39 i, em { font-style: italic; }
40 b, strong { font-weight: bolder; }
41 tt, code, var, samp, kbd { font-family: monospace; }
42 kbd { font-style: italic; }
44 ul, ol { margin-left: 1.125em; }
45 dl dt { font-weight: bolder; }
46 table th { font-weight: bold; }
48 li p + ul, li p + ol {
52 hr { border-bottom: 1pt solid; }
60 h4, h5, h6, form legend {
65 h1 { font-size: 1.5em; }
66 h2 { font-size: 1.125em; }
68 select, input, button, textarea, a.button {
69 display: inline-block;
70 color: #000; background-color: #FFF;
73 vertical-align: text-bottom;
74 border: .5pt solid #000;
77 select { padding: .375em 0; }
78 textarea { min-height: 7em; }
80 input[type=radio], input[type=checkbox] {
81 vertical-align: baseline;
83 input[type=number] { text-align: right; padding-right: 0; }
85 button, input[type=button], a.button {
86 box-shadow: .125em .125em .25em;
89 input[type=radio], input[type=checkbox], label[for] {
93 label { margin-right: .75em; }
98 input.search + button.search {
101 background-color: #CCC;
104 border-radius: 0 2pt 2pt 0;
107 input.search + button.search:before {
114 @page { margin: 20mm; }
116 h1 { text-align: center; }
118 h1, h2, h3, h4, h5, h6, form legend {
119 page-break-inside: avoid;
120 page-break-after: avoid;
121 page-break-before: auto;
123 li { page-break-inside: avoid; }
124 th, dt { page-break-after: avoid; }
127 /* ======= End Generic Styles ======= */
129 /* ======= Common Styles ======= */
131 *[tooltip]:hover:after {
135 bottom: 100%; left: 50%; transform: translate(-50%, 0);
136 content: attr(tooltip);
138 color: #000; background-color: #FFC;
143 input[type=radio].tab { display: none; }
144 input[type=radio].tab + label {
147 color: #000; background-color: #EEE;
150 input[type=radio].tab:checked + label {
151 background-color: #FFF;
153 box-shadow: .125em -.125em .125em #888;
156 input[type=radio].tab ~ *.tab {
159 margin-top: -.5pt; padding: .25em .75em;
162 box-shadow: .125em .125em .125em #888;
165 /* ======= End Common Styles ======= */