]> git.plutz.net Git - webpoll/blobdiff - webpoll.css
optional bookmarking of poll and admin pages
[webpoll] / webpoll.css
index cfc363be9808115da33df6b412c45539b6fddc82..193b2ed30a57b4febad9d7424b23900be4ec617a 100644 (file)
@@ -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 {