X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=widgets.css;fp=widgets.css;h=6763d4004ace8d15be0e789bf01d75396f6f382c;hb=2cfdff52842b5c1ac1a4c42289f5bc67328d01d1;hp=0000000000000000000000000000000000000000;hpb=856d7b3c7823e768e4ad468ff2203fde3838e861;p=webpoll diff --git a/widgets.css b/widgets.css new file mode 100644 index 0000000..6763d40 --- /dev/null +++ b/widgets.css @@ -0,0 +1,51 @@ +table.calendar { + display: inline-block; + -border: 1pt solid; + border-collapse: collapse; + vertical-align: top; +} +table.calendar td { + border: 1pt solid; +} + +table.calendar thead tr.monthname { + border-style: solid; + border-width: 1pt 1pt 1pt 1pt; +} +table.calendar thead tr.weekday th:first-of-type { + border-style: solid; + border-width: 0pt 0pt 0pt 1pt; +} +table.calendar thead tr.weekday th:last-child { + border-right: 1pt solid; +} +table.calendar tbody tr th { + border-left: 1pt solid #000; +} +table.calendar tbody tr:last-child th { + border-bottom: 1pt solid #000; +} + +table.calendar tbody tr th.weekno { + width: 2em; + padding: 0 .25em; + text-align: right; + font-weight: normal; + color: #888; +} + +table.calendar input[type=radio] { + display: none; +} +table.calendar td input + label { + display: inline-block; + width: 2em; + margin: 0; padding: .25em; + text-align: right; + line-height: 1em; +} +table.calendar td input:checked + label { + font-weight: bold; + line-height: .75em; + border: .125em solid; +}