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; }
23 text-decoration: underline;
28 text-decoration: inherit;
32 sup { vertical-align: super; }
33 sub { vertical-align: sub; }
34 small { font-size: .75em; }
35 big { font-size: 1.25em; }
36 strike, del, s { text-decoration: line-through; }
37 u {text-decoration: underline; }
38 i, em { font-style: italic; }
39 b, strong { font-weight: bolder; }
40 tt, code, var, samp, kbd { font-family: monospace; }
41 kbd { font-style: italic; }
43 ul, ol { margin-left: 1.125em; }
44 dl dt { font-weight: bolder; }
45 table th { font-weight: bold; }
47 hr { border-bottom: 1pt solid; }
55 h4, h5, h6, form legend {
60 h1 { font-size: 1.5em; }
61 h2 { font-size: 1.125em; }
63 select, input, button, textarea, a.button {
64 display: inline-block;
65 color: #000; background-color: #FFF;
68 vertical-align: text-bottom;
69 border: .5pt solid #000;
72 select { padding: .375em 0; }
73 textarea { min-height: 7em; }
75 input[type=radio], input[type=checkbox] {
76 vertical-align: baseline;
78 input[type=number] { text-align: right; padding-right: 0; }
80 button, input[type=button], a.button {
81 box-shadow: .125em .125em .25em;
84 input[type=radio], input[type=checkbox], label[for] {
88 label { margin-right: .75em; }
94 @page { margin: 20mm; }
96 h1 { text-align: center; }
98 h1, h2, h3, h4, h5, h6, form legend {
99 page-break-inside: avoid;
100 page-break-after: avoid;
101 page-break-before: auto;
103 li { page-break-inside: avoid; }
104 th, dt { page-break-after: avoid; }
107 /* ======= End Generic Styles ======= */
109 /* ======= Common Styles ======= */
111 *[tooltip]:hover:after {
115 bottom: 100%; left: 50%; transform: translate(-50%, 0);
116 content: attr(tooltip);
118 color: #000; background-color: #FFC;
123 input[type=radio].tab { display: none; }
124 input[type=radio].tab + label {
127 color: #000; background-color: #EEE;
130 input[type=radio].tab:checked + label {
131 background-color: #FFF;
133 box-shadow: .125em -.125em .125em #888;
136 input[type=radio].tab ~ *.tab {
139 margin-top: -.5pt; padding: .25em .75em;
142 box-shadow: .125em .125em .125em #888;
145 /* ======= End Common Styles ======= */