X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=widgets.css;h=b548d3806dff447f674a1912b9b73a727c8886c3;hb=3e39dae6551b82017469fd4b2599a364ac288dba;hp=bb48f5272aaeb5764f4754361dee99103b5b6b6d;hpb=047ac8bc322ee174a30af2fa6c0c3126cf06b7f9;p=webpoll diff --git a/widgets.css b/widgets.css index bb48f52..b548d38 100644 --- a/widgets.css +++ b/widgets.css @@ -4,25 +4,33 @@ table.calendar { vertical-align: top; } table.calendar td { - border: 1pt solid; + border: .5pt solid; +} +table.calendar th { + font-weight: normal; } table.calendar thead tr.monthname { border-style: solid; - border-width: 1pt 1pt 1pt 1pt; + border-width: .5pt .5pt .5pt .5pt; + line-height: 1.5em; + font-size: 1.125em; +} +table.calendar thead tr.weekday { + line-height: 1.5em; } table.calendar thead tr.weekday th:first-of-type { border-style: solid; - border-width: 0pt 0pt 0pt 1pt; + border-width: 0pt 0pt 0pt .5pt; } table.calendar thead tr.weekday th:last-child { - border-right: 1pt solid; + border-right: .5pt solid; } table.calendar tbody tr th { - border-left: 1pt solid #000; + border-left: .5pt solid #000; } table.calendar tbody tr:last-child th { - border-bottom: 1pt solid #000; + border-bottom: .5pt solid #000; } table.calendar tbody tr th.weekno { @@ -37,15 +45,20 @@ table.calendar input[type=radio], table.calendar input[type=checkbox] { display: none; } -table.calendar td label { +table.calendar td label, +table.calendar td button { display: inline-block; width: 2em; margin: 0; padding: .25em; text-align: right; line-height: 1em; + box-shadow: none; + border-radius: 0; + border: none; } table.calendar td input:checked + label, -table.calendar td label[checked] { +table.calendar td label[checked], +table.calendar td button[name$=_remove] { font-weight: bold; line-height: .75em; border: .125em solid;