tstyle.css: wrap description text, nowrap for rest - stagit - static git page generator
(HTM) git clone git://src.adamsgaard.dk/stagit
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6a427c75fcaab57d029222d3afb26c27b9629ae5
(DIR) parent 264aef81d5f5eeb39c194142a73cdfe84c6aeddb
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 6 Jan 2016 18:33:24 +0100
style.css: wrap description text, nowrap for rest
vertical align to the top of the cell, this makes it scale better to some smaller screens
Diffstat:
M style.css | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/style.css b/style.css
t@@ -36,6 +36,8 @@ table thead td {
table td {
padding: 0 0.4em;
+ white-space: nowrap;
+ vertical-align: top;
}
#branches tr:hover td,
t@@ -46,6 +48,13 @@ table td {
background-color: #eee;
}
+#index tr td:nth-child(2),
+#tags tr td:nth-child(3),
+#branches tr td:nth-child(3),
+#log tr td:nth-child(2) {
+ white-space: normal;
+}
+
td.num {
text-align: right;
}