summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-05-15 02:46:12 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-05-15 02:46:12 +0200
commitd674fcb0b13a187af863505b521859880fba6131 (patch)
treeea318bd858a635529a7078fd9afb69cb137c2907
parente873f038d49633c565a5abc97063d9536db289aa (diff)
downloadwww-d674fcb0b13a187af863505b521859880fba6131.tar.gz
www-d674fcb0b13a187af863505b521859880fba6131.tar.bz2
www-d674fcb0b13a187af863505b521859880fba6131.zip
css: allow word wrap in cells on index (for responsive design)
-rw-r--r--css/custom.css8
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 {