From 8c61254919b90a42eb13a8272680778a9e6fefa8 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 15 May 2019 11:51:45 +0300 Subject: [PATCH] Examples: make use of core utils in more places. --- site/content/docs/4.3/examples/product/product.css | 2 -- .../docs/4.3/examples/starter-template/index.html | 2 +- .../examples/starter-template/starter-template.css | 4 ---- .../4.3/examples/sticky-footer-navbar/index.html | 6 +++--- .../sticky-footer-navbar/sticky-footer-navbar.css | 13 ------------- .../docs/4.3/examples/sticky-footer/index.html | 2 +- .../4.3/examples/sticky-footer/sticky-footer.css | 4 ---- 7 files changed, 5 insertions(+), 28 deletions(-) diff --git a/site/content/docs/4.3/examples/product/product.css b/site/content/docs/4.3/examples/product/product.css index 62110018ef..03e6167937 100644 --- a/site/content/docs/4.3/examples/product/product.css +++ b/site/content/docs/4.3/examples/product/product.css @@ -68,5 +68,3 @@ flex: 1; } } - -.overflow-hidden { overflow: hidden; } diff --git a/site/content/docs/4.3/examples/starter-template/index.html b/site/content/docs/4.3/examples/starter-template/index.html index 001d1e60ec..dcd6d8732d 100644 --- a/site/content/docs/4.3/examples/starter-template/index.html +++ b/site/content/docs/4.3/examples/starter-template/index.html @@ -40,7 +40,7 @@ extra_css:
-
+

Bootstrap starter template

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.

diff --git a/site/content/docs/4.3/examples/starter-template/starter-template.css b/site/content/docs/4.3/examples/starter-template/starter-template.css index 5f64cd294e..6fb7091051 100644 --- a/site/content/docs/4.3/examples/starter-template/starter-template.css +++ b/site/content/docs/4.3/examples/starter-template/starter-template.css @@ -1,7 +1,3 @@ body { padding-top: 5rem; } -.starter-template { - padding: 3rem 1.5rem; - text-align: center; -} diff --git a/site/content/docs/4.3/examples/sticky-footer-navbar/index.html b/site/content/docs/4.3/examples/sticky-footer-navbar/index.html index 2d412a587a..34d4d0d294 100644 --- a/site/content/docs/4.3/examples/sticky-footer-navbar/index.html +++ b/site/content/docs/4.3/examples/sticky-footer-navbar/index.html @@ -38,13 +38,13 @@ body_class: "d-flex flex-column h-100"

Sticky footer with fixed navbar

-

Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the main > .container.

+

Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the main > .container.

Back to }}">the default sticky footer minus the navbar.

-
-
+
+
Place sticky footer content here.
diff --git a/site/content/docs/4.3/examples/sticky-footer-navbar/sticky-footer-navbar.css b/site/content/docs/4.3/examples/sticky-footer-navbar/sticky-footer-navbar.css index b4696dab6e..3087ead7db 100644 --- a/site/content/docs/4.3/examples/sticky-footer-navbar/sticky-footer-navbar.css +++ b/site/content/docs/4.3/examples/sticky-footer-navbar/sticky-footer-navbar.css @@ -5,16 +5,3 @@ main > .container { padding: 60px 15px 0; } - -.footer { - background-color: #f5f5f5; -} - -.footer > .container { - padding-right: 15px; - padding-left: 15px; -} - -code { - font-size: 80%; -} diff --git a/site/content/docs/4.3/examples/sticky-footer/index.html b/site/content/docs/4.3/examples/sticky-footer/index.html index 441e499424..3e52a62e3c 100644 --- a/site/content/docs/4.3/examples/sticky-footer/index.html +++ b/site/content/docs/4.3/examples/sticky-footer/index.html @@ -17,7 +17,7 @@ include_js: false
-