git-repo-styles

Design documents for git.pablopie.xyz ✏️

Commit
022cf3958f35d126c349df102e9bbbe089f04ec6
Parent
ec9448b3f080dd1f2cc1d16cc828b97af752c878
Author
Pablo <pablo-pie@riseup.net>
Date

Restyled tables

Diffstat

1 file changed, 15 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified styles.css 15 15 0
diff --git a/styles.css b/styles.css
@@ -12,6 +12,7 @@
     along with this program. If not, see <https://www.gnu.org/licenses/>. */
 
 :root {
+  --lighter-background: #1a2533;
   --light-background: #101822;
   --dark-background: #070d15;
   --foreground: #dfdfdf;
@@ -88,12 +89,26 @@ footer {
 
 table {
   width: 100%;
+  border-collapse: collapse;
+}
+
+td {
+  line-height: 1.75em;
+  padding: 0 .5em;
 }
 
 thead td {
   font-weight: bold;
 }
 
+tbody td {
+  font-family: monospace;
+}
+
+thead tr, tbody tr:nth-child(2n) {
+  background: var(--lighter-background);
+}
+
 main > *:first-child, #readme > *:first-child {
   margin-top: 0;
 }