X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=webpoll.css;h=193b2ed30a57b4febad9d7424b23900be4ec617a;hb=1b9f025da80bb30db913635a60e799a3e523f2e1;hp=cfc363be9808115da33df6b412c45539b6fddc82;hpb=3c7b5befba1f381f44abb8a4a6637652842361b4;p=webpoll diff --git a/webpoll.css b/webpoll.css index cfc363b..193b2ed 100644 --- a/webpoll.css +++ b/webpoll.css @@ -22,13 +22,16 @@ body.poll form { text-align: center; max-width: 95%; } -body.poll .description { - text-align: left; +body section { max-width: 50em; - padding: 1pt 1em 1em 1em; - margin: auto; - margin-bottom: 1em; + padding: 1em; + margin: 1em auto; background-color: rgba(255,255,255,.5); + word-wrap: break-word; +} +body.poll .description .title { + margin-top: 0; + text-align: left; } body.poll .description .title { text-align: center; @@ -37,7 +40,6 @@ body.poll table { background-color: rgba(255,255,255,.5); border-collapse: collapse; margin: auto; - -border: .5pt solid; box-shadow: #000 .25em .25em .5em; border-radius: 2pt; } @@ -53,6 +55,7 @@ body.poll table tbody tr td { text-align: center; border: .5pt solid; padding: 0 .25em; + background-clip: padding-box; } body.poll table tbody tr td:first-child, body.poll table tbody tr td:last-child, @@ -63,6 +66,13 @@ body.poll table tbody tr th.name { padding: .25em .5em; text-align: right; } body.poll table tbody tr td.yes { background-color: #AFA; } body.poll table tbody tr td.no { background-color: #FAA; } body.poll table tbody tr td.maybe { background-color: #FFA; } +body.poll table tbody tr td.edit { text-align: left; font-size: .875em; } + +body.poll table tbody tr.votecount td { padding: .375em .25em;} +body.poll table tbody tr th.name button[name=delete] { font-size: .625em; line-height: 1.5em; background-color: #FAA; } + +body.poll table tbody tr.new td:first-child { text-align: right; } +body.poll table tbody tr.new td input[name=name] { min-width: 100%; width: 8em; } body.poll table td input[type=radio] { display: none; } body.poll table td input[type=radio] + label {