summaryrefslogtreecommitdiff
path: root/css/style.css
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-10-26 14:05:27 +0000
committerhallgren <hallgren@chalmers.se>2012-10-26 14:05:27 +0000
commit672584c04839a79967e46f37ab3f9c69bcaf4db7 (patch)
tree28ef488302c0f2bd2e405e864123474453207c16 /css/style.css
parent140f23773692b840a6e864a544df45d6a7954292 (diff)
GF home page: avoid line breaks in dates in the news section
Diffstat (limited to 'css/style.css')
-rw-r--r--css/style.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css
index d450af107..5137e8159 100644
--- a/css/style.css
+++ b/css/style.css
@@ -20,6 +20,11 @@ table.news td {
padding: 0.25ex 0.5ex;
}
+table.news td:nth-child(1) {
+ /* Don't want the hyphens in dates (2012-06-29) to cause line breaks */
+ white-space: nowrap;
+}
+
th,td { border: 1px solid #333; }
td { background: white; }