From da9ab5e2905723415157cfa8b0994d74a91d6098 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci Date: Fri, 31 Oct 2014 16:50:51 +0100 Subject: docs: responsive web design website This patch migrate the layout to a responsive web design one. * Fixing the layout of all pages to be fully responsive * Adding panels around "Recent commints" and "Recent discussion" * Adding fonts for glyphs in buttons Signed-off-by: Angelo Compagnucci Signed-off-by: Thomas Petazzoni --- docs/css/buildroot.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'docs/css') diff --git a/docs/css/buildroot.css b/docs/css/buildroot.css index 09db24b4f8..7138abc496 100644 --- a/docs/css/buildroot.css +++ b/docs/css/buildroot.css @@ -14,23 +14,33 @@ body { div.sponsor-main { background: #eeeeee; - padding: 2em; + padding-top: 2em; + padding-bottom: 2em; } div.sponsor { - background: #eeeeee; padding: 0.5em; height: 12em; display: table !important; } div.sponsor-description { + background: #eeeeee; display: table-cell; vertical-align: middle; text-align: center; } div.sponsor-description img { + max-width: 99%; height: 4em; margin-bottom: 1em; } + +div.panel-body p { + text-overflow: ellipsis; + width: 95%; + white-space: nowrap; + overflow: hidden; + height: 1.5em; +} -- cgit v1.2.3