From d674fcb0b13a187af863505b521859880fba6131 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 15 May 2013 02:46:12 +0200 Subject: css: allow word wrap in cells on index (for responsive design) --- css/custom.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/css/custom.css b/css/custom.css index d7e7b9e..56f9d43 100644 --- a/css/custom.css +++ b/css/custom.css @@ -15,12 +15,14 @@ h1 { #hosts li { list-style-type: none; text-align: center; - margin: 10px; + margin-top: 20px; + display: table; } #hosts li a { - line-height: 100px; - display: block; + height: 100px; + display: table-cell; + vertical-align: middle; } #hosts li a:hover { -- cgit v1.2.3-1-g7c22