]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.pastebin: better css
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 12 Jan 2022 06:51:07 +0000 (22:51 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 12 Jan 2022 06:51:07 +0000 (22:51 -0800)
extra/webapps/pastebin/pastebin.css

index 55eda534129152e2747604762e55d185b4a80e43..1488d18a399c8807f5bb465f152bc4467d457588 100644 (file)
@@ -1,9 +1,3 @@
-.page {
-    padding-left: 15px;
-    padding-right: 15px;
-    padding-bottom: 15px;
-}
-
 pre.code {
        border:1px dashed #ccc;
        background-color:#f5f5f5;
@@ -12,10 +6,21 @@ pre.code {
        color:#000000;
 }
 
-table th {
-    padding: 5px;
+table {
+    border-collapse: collapse;
+    table-layout: fixed;
 }
 
 table td {
     padding: 5px;
+    word-wrap: break-word;
 }
+
+table th {
+    padding: 5px;
+}
+
+table tr:hover {
+    background-color: #f5f5f5;
+}
+