From b6b96c174bff4b27800fb9ddec75328d1ef30322 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Fri, 30 Aug 2019 23:32:12 +0300 Subject: [PATCH] Docs tweaks - Simplify display headings example markup - Simplify footer styles - Remove z-indices hacks in the docs - Remove redundant modal styling in docs - Use `escape-svg()` to escape docs sidebar chevron - Simplify sidebar chevron code - Cleanup masthead css & fix column width between `md` & `lg` - Easier to download logo's with the `download` attribute. - Changed some color codes into variables - Cleanup brands css --- site/content/docs/4.3/about/brand.md | 34 ++++++------ site/content/docs/4.3/content/typography.md | 22 ++------ site/layouts/partials/footer.html | 2 +- site/layouts/partials/home/masthead.html | 2 +- site/static/docs/4.3/assets/scss/_ads.scss | 4 +- .../static/docs/4.3/assets/scss/_algolia.scss | 2 +- site/static/docs/4.3/assets/scss/_brand.scss | 27 ++-------- .../docs/4.3/assets/scss/_callouts.scss | 2 +- .../docs/4.3/assets/scss/_clipboard-js.scss | 4 +- .../4.3/assets/scss/_component-examples.scss | 53 ++----------------- site/static/docs/4.3/assets/scss/_footer.scss | 6 --- .../docs/4.3/assets/scss/_masthead.scss | 26 +-------- .../static/docs/4.3/assets/scss/_sidebar.scss | 9 +--- site/static/docs/4.3/assets/scss/_subnav.scss | 2 +- site/static/docs/4.3/assets/scss/_toc.scss | 2 +- .../docs/4.3/assets/scss/_variables.scss | 1 + 16 files changed, 43 insertions(+), 155 deletions(-) diff --git a/site/content/docs/4.3/about/brand.md b/site/content/docs/4.3/about/brand.md index 9d44edf9c4..0b251574fe 100644 --- a/site/content/docs/4.3/about/brand.md +++ b/site/content/docs/4.3/about/brand.md @@ -12,7 +12,7 @@ Have a need for Bootstrap's brand resources? Great! We have only a few guideline Use either the Bootstrap mark (a capital **B**) or the standard logo (just **Bootstrap**). It should always appear in San Francisco Display Semibold. **Do not use the Twitter bird** in association with Bootstrap. -
+
Bootstrap
@@ -20,7 +20,7 @@ Use either the Bootstrap mark (a capital **B**) or the standard logo (just **Boo Bootstrap
-
+
Bootstrap
@@ -31,25 +31,25 @@ Use either the Bootstrap mark (a capital **B**) or the standard logo (just **Boo ## Download mark -Download the Bootstrap mark in one of three styles, each available as an SVG file. Right click, Save as. +Download the Bootstrap mark in one of three styles, each available as an SVG file. **Click to download the logos**. -
- ## Name The project and framework should always be referred to as **Bootstrap**. No Twitter before it, no capital _s_, and no abbreviations except for one, a capital **B**. -
+
Bootstrap Right @@ -68,11 +68,9 @@ The project and framework should always be referred to as **Bootstrap**. No Twit Our docs and branding use a handful of primary colors to differentiate what *is* Bootstrap from what *is in* Bootstrap. In other words, if it's purple, it's representative of Bootstrap. -
-
-
-
-
-
-
+
+
+
+
+
diff --git a/site/content/docs/4.3/content/typography.md b/site/content/docs/4.3/content/typography.md index c8f5c1a695..aa7247e6b8 100644 --- a/site/content/docs/4.3/content/typography.md +++ b/site/content/docs/4.3/content/typography.md @@ -104,23 +104,11 @@ Use the included utility classes to recreate the small secondary heading text fr Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a **display heading**—a larger, slightly more opinionated heading style. Keep in mind these headings are not responsive by default, but it's possible to enable [responsive font sizes](#responsive-font-sizes). -
- - - - - - - - - - - - - - - -
Display 1
Display 2
Display 3
Display 4
+
+
Display 1
+
Display 2
+
Display 3
+
Display 4
{{< highlight html >}} diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index 8f8efe5e91..c48e913f79 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -1,4 +1,4 @@ -