diff options
author | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2014-10-31 16:50:51 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-01 14:37:51 +0100 |
commit | da9ab5e2905723415157cfa8b0994d74a91d6098 (patch) | |
tree | d572911ea4d60e687ef57ade65d0c6a52e23679b /docs/css | |
parent | e40b9791d8c688ec5a1be71817edcc0d42543bad (diff) | |
download | buildroot-da9ab5e2905723415157cfa8b0994d74a91d6098.tar.gz buildroot-da9ab5e2905723415157cfa8b0994d74a91d6098.zip |
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 <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/css')
-rw-r--r-- | docs/css/buildroot.css | 14 |
1 files changed, 12 insertions, 2 deletions
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; +} |