]> git.plutz.net Git - webpoll/blob - widgets.css
6763d4004ace8d15be0e789bf01d75396f6f382c
[webpoll] / widgets.css
1 table.calendar {
2   display: inline-block;
3   -border: 1pt solid;
4   border-collapse: collapse;
5   vertical-align: top;
6 }
7 table.calendar td {
8   border: 1pt solid;
9 }
10
11 table.calendar thead tr.monthname {
12   border-style: solid;
13   border-width: 1pt 1pt 1pt 1pt;
14 }
15 table.calendar thead tr.weekday th:first-of-type {
16   border-style: solid;
17   border-width: 0pt 0pt 0pt 1pt;
18 }
19 table.calendar thead tr.weekday th:last-child {
20   border-right: 1pt solid;
21 }
22 table.calendar tbody tr th {
23   border-left: 1pt solid #000;
24 }
25 table.calendar tbody tr:last-child th {
26   border-bottom: 1pt solid #000;
27 }
28
29 table.calendar tbody tr th.weekno {
30   width: 2em;
31   padding: 0 .25em;
32   text-align: right;
33   font-weight: normal;
34   color: #888;
35 }
36
37 table.calendar input[type=radio] {
38   display: none;
39 }
40 table.calendar td input + label {
41   display: inline-block;
42   width: 2em;
43   margin: 0; padding: .25em;
44   text-align: right;
45   line-height: 1em;
46 }
47 table.calendar td input:checked + label {
48   font-weight: bold;
49   line-height: .75em;
50   border: .125em solid;
51 }