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; }
53 h4, h5, h6, form legend {
58 h1 { font-size: 1.5em; }
59 h2 { font-size: 1.125em; }
61 select, input, button, textarea, a.button {
62 display: inline-block;
63 color: #000; background-color: #FFF;
66 vertical-align: text-bottom;
67 border: .5pt solid #000;
70 select { padding: .375em 0; }
71 textarea { min-height: 7em; }
73 input[type=radio], input[type=checkbox] {
74 vertical-align: baseline;
76 input[type=number] { text-align: right; padding-right: 0; }
78 button, input[type=button], a.button {
79 box-shadow: .125em .125em .25em;
82 input[type=radio], input[type=checkbox], label[for] {
86 label { margin-right: .75em; }
92 @page { margin: 20mm; }
94 h1 { text-align: center; }
96 h1, h2, h3, h4, h5, h6, form legend {
97 page-break-inside: avoid;
98 page-break-after: avoid;
99 page-break-before: auto;
101 li { page-break-inside: avoid; }
102 th, dt { page-break-after: avoid; }
105 /* ======= End Generic Styles ======= */
107 /* ======= Common Styles ======= */
109 *[tooltip]:hover:after {
112 bottom: -100%; left: 50%; transform: translate(-50%, 0);
113 content: attr(tooltip);
115 color: #000; background-color: #FFC;
120 input[type=radio].tab { display: none; }
121 input[type=radio].tab + label {
124 color: #000; background-color: #EEE;
127 input[type=radio].tab:checked + label {
128 background-color: #FFF;
130 box-shadow: .125em -.125em .125em #888;
133 input[type=radio].tab ~ *.tab {
136 margin-top: -.5pt; padding: .25em .75em;
139 box-shadow: .125em .125em .125em #888;
142 /* ======= End Common Styles ======= */