From: Jo-Philipp Wich Date: Mon, 12 Nov 2012 16:49:14 +0000 (+0000) Subject: bootstrap: add padding to body and header areas (#505) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ecdf523b074ff80c18183c4b94ca9f194739e1ab;p=project%2Fluci.git bootstrap: add padding to body and header areas (#505) --- diff --git a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css index 286ed25e77..bb732485e7 100644 --- a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -13,11 +13,16 @@ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ -html, body { +html { margin: 0; padding: 0; } +body { + margin: 0; + padding: 5px; +} + h1, h2, h3, h4, h5, h6, p, pre, a, abbr, acronym, code, del, em, img, q, s, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td { @@ -789,6 +794,7 @@ header .fill { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); + padding: 0 5px; } header div > ul, .nav {