From 104477af17a7657f7df556fff3f448cd2d2a82fa Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Mon, 23 Jan 2017 12:20:07 +0100 Subject: Fix body padding in Dashboard and Jumbotron examples. The actual navbar height is 3.5rem. --- docs/examples/dashboard/dashboard.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples/dashboard/dashboard.css') diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css index 99f2962b5..b1248cd68 100644 --- a/docs/examples/dashboard/dashboard.css +++ b/docs/examples/dashboard/dashboard.css @@ -2,9 +2,9 @@ * Base structure */ -/* Move down content because we have a fixed navbar that is 50px tall */ +/* Move down content because we have a fixed navbar that is 3.5rem tall */ body { - padding-top: 50px; + padding-top: 3.5rem; } /* -- cgit v1.2.3 From 3e76d6565603fafa2c85ad81d7b6345c4e279c72 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 28 May 2017 22:50:57 -0700 Subject: Rearrange all the docs to allow for a docs/major.minor/ setup --- docs/examples/dashboard/dashboard.css | 70 ----------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 docs/examples/dashboard/dashboard.css (limited to 'docs/examples/dashboard/dashboard.css') diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css deleted file mode 100644 index b1248cd68..000000000 --- a/docs/examples/dashboard/dashboard.css +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Base structure - */ - -/* Move down content because we have a fixed navbar that is 3.5rem tall */ -body { - padding-top: 3.5rem; -} - -/* - * Typography - */ - -h1 { - margin-bottom: 20px; - padding-bottom: 9px; - border-bottom: 1px solid #eee; -} - -/* - * Sidebar - */ - -.sidebar { - position: fixed; - top: 51px; - bottom: 0; - left: 0; - z-index: 1000; - padding: 20px; - overflow-x: hidden; - overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ - border-right: 1px solid #eee; -} - -/* Sidebar navigation */ -.sidebar { - padding-left: 0; - padding-right: 0; -} - -.sidebar .nav { - margin-bottom: 20px; -} - -.sidebar .nav-item { - width: 100%; -} - -.sidebar .nav-item + .nav-item { - margin-left: 0; -} - -.sidebar .nav-link { - border-radius: 0; -} - -/* - * Dashboard - */ - - /* Placeholders */ -.placeholders { - padding-bottom: 3rem; -} - -.placeholder img { - padding-top: 1.5rem; - padding-bottom: 1.5rem; -} -- cgit v1.2.3