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; }
99 @page { margin: 20mm; }
101 h1 { text-align: center; }
103 h1, h2, h3, h4, h5, h6, form legend {
104 page-break-inside: avoid;
105 page-break-after: avoid;
106 page-break-before: auto;
108 li { page-break-inside: avoid; }
109 th, dt { page-break-after: avoid; }
112 /* ======= End Generic Styles ======= */
114 /* ======= Common Styles ======= */
116 *[tooltip]:hover:after {
120 bottom: 100%; left: 50%; transform: translate(-50%, 0);
121 content: attr(tooltip);
123 color: #000; background-color: #FFC;
128 input[type=radio].tab { display: none; }
129 input[type=radio].tab + label {
132 color: #000; background-color: #EEE;
135 input[type=radio].tab:checked + label {
136 background-color: #FFF;
138 box-shadow: .125em -.125em .125em #888;
141 input[type=radio].tab ~ *.tab {
144 margin-top: -.5pt; padding: .25em .75em;
147 box-shadow: .125em .125em .125em #888;
150 /* ======= End Common Styles ======= */