diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-05-15 02:46:12 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-05-15 02:46:12 +0200 |
commit | d674fcb0b13a187af863505b521859880fba6131 (patch) | |
tree | ea318bd858a635529a7078fd9afb69cb137c2907 /css | |
parent | e873f038d49633c565a5abc97063d9536db289aa (diff) | |
download | www-d674fcb0b13a187af863505b521859880fba6131.tar.gz www-d674fcb0b13a187af863505b521859880fba6131.tar.bz2 www-d674fcb0b13a187af863505b521859880fba6131.zip |
css: allow word wrap in cells on index (for responsive design)
Diffstat (limited to 'css')
-rw-r--r-- | css/custom.css | 8 |
1 files 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 { |