X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=widgets.css;h=a93e2a33eac4c4d7055024631607ff9882e96c3a;hb=2fa0a232ede0b9986be5a07c5de4239e4c7a67af;hp=b0244fb34581d844e7cf7009cf46453117d41526;hpb=a5a3d33ee6fcfe0684cf27318e05a74e72b51de1;p=webpoll diff --git a/widgets.css b/widgets.css index b0244fb..a93e2a3 100644 --- a/widgets.css +++ b/widgets.css @@ -6,6 +6,9 @@ table.calendar { table.calendar td { border: .5pt solid; } +table.calendar th { + font-weight: normal; +} table.calendar thead tr.monthname { border-style: solid; @@ -60,3 +63,67 @@ table.calendar td button[name$=_remove] { line-height: .75em; border: .125em solid; } + +#comments input#comments_toggle_new, +#comments input#comments_toggle_new + label + form { + display: none; + text-align: left; +} +#comments input#comments_toggle_new:checked + label + form { + display: block; +} +#comments input#comments_toggle_new + label { + display: block; + width: 100%; margin: 0; + padding: .25em .75em; + background-color: #FFF; + text-align: left; + border: .5pt solid; + border-radius: 2pt; +} +#comments input#comments_toggle_new:checked + label { + display: none; +} + +#comments form label.legend { + display: block; +} + +#comments input[name=username], +#comments textarea { + width: 100%; +} +#comments textarea { + min-height: 7em; + margin: .5em 0; +} + +#comments .comment { + text-align: left; + margin: .5em 0; + padding: 0 .5em .25em .5em; + -padding-left: .5em; + -border-left: 3pt solid #CCC; + box-shadow: #000 .25em .25em .5em; +} + +#comments .comment > h3 { + padding-top: .5em; + margin-bottom: 0; +} + +#comments .comment > span { + display: inline-block; + min-width: 50%; + font-size: .875em; + color: #666; +} +#comments .comment > a.edit { + display: block; + min-width: 50%; + font-size: .875em; +} +#comments .comment > div { + border-top: .5pt solid; +} +