X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=widgets.css;h=b548d3806dff447f674a1912b9b73a727c8886c3;hb=ed5aacc277bd81abe427a10080de96d8d6e987c3;hp=245597c65fe8c1219065796702f11fb444a6e2f6;hpb=af2bd954840f47026ffe47752f513cb71a40281b;p=webpoll diff --git a/widgets.css b/widgets.css index 245597c..b548d38 100644 --- a/widgets.css +++ b/widgets.css @@ -1,29 +1,36 @@ table.calendar { display: inline-block; - -border: 1pt solid; border-collapse: collapse; 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 { @@ -38,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;