]> littlesong.place Git - poll.git/commitdiff
Cosmetic tweaks
authorChris Fulljames <christianfulljames@gmail.com>
Sun, 24 May 2026 20:17:49 +0000 (16:17 -0400)
committerChris Fulljames <christianfulljames@gmail.com>
Sun, 24 May 2026 20:17:49 +0000 (16:17 -0400)
index.php

index d63c944cff8c2d1e772f69d8d15e25c3f07c3d02..359c72007d109470b035d3f9f01cdea55c81aba0 100644 (file)
--- a/index.php
+++ b/index.php
@@ -176,7 +176,6 @@ if (isset($qid)) {
         color: #434;
     }
     input, textarea {
-        margin: 5px;
         font-family: sans-serif;
         font-size: 1em;
     }
@@ -188,6 +187,7 @@ if (isset($qid)) {
         border-radius: 5px;
         padding: 5px;
         font-weight: bold;
+        margin: 10px 0px;
     }
     input[disabled] {
         background: none;
@@ -200,7 +200,11 @@ if (isset($qid)) {
     }
     li {
         margin: 10px 0px;
-        line-height: 1em;
+        line-height: 1.1em;
+    }
+    hr {
+        border: none;
+        border-top: 1px solid #cca;
     }
     </style>
 
@@ -238,6 +242,8 @@ if (isset($qid) && $view == "vote" && !$ended): ?>
         Give your favorite option 5 points, second favorite 4 points, etc.
         Or give them all 5 points if you really can't decide.
     </p> 
+    
+    <hr>
     <form method="post">
         <input name="qid" type="hidden" value="<?= $qid ?>">
         <ul>
@@ -248,6 +254,8 @@ if (isset($qid) && $view == "vote" && !$ended): ?>
         </ul>
         <input type="submit" value="Cast Vote!">
     </form>
+
+    <hr>
     <br><a href="<?= poll_url($qid, "results") ?>">Show Results</a>
     <br><br><a href="/">New Poll</a>