Skip to content

Commit

Permalink
Fix #1241 (comment), fixes also doc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed May 18, 2022
1 parent d99a96a commit 6c39b96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion site/assets/scss/_variables.scss
Expand Up @@ -7,7 +7,7 @@ $bd-purple-light: lighten(saturate($bd-purple, 5%), 45%); // stylelint-disable-
// Boosted mod: no $bd-accent
$dropdown-active-icon: $form-check-input-checked-bg-image; // Boosted mod

$bd-gutter-x: 3rem;
$bd-gutter-x: .625rem; // Boosted mod
$bd-callout-variants: info, warning, danger !default;

:root {
Expand Down
16 changes: 8 additions & 8 deletions site/layouts/partials/home/masthead-followup.html
Expand Up @@ -15,7 +15,7 @@ <h2 class="mb-3 lh-sm">Get started any way you&nbsp;want</h2>
</p>
</div>

<section class="row g-3 g-md-5 mb-5 pb-5 justify-content-center">
<section class="row g-2 g-lg-5 mb-5 pb-5 justify-content-center">
<div class="col-lg-6 py-lg-4 pe-lg-5">
<svg class="bi mb-2 fs-2 text-muted"><use xlink:href="#box-seam"></use></svg>
<h3>Install via package manager</h3>
Expand Down Expand Up @@ -59,7 +59,7 @@ <h2 class="mb-3 lh-sm">Customize everything with&nbsp;Sass</h2>
</p>
</section>

<section class="row g-md-5 mb-5 pb-md-5">
<section class="row g-lg-5 mb-5 pb-md-5">
<div class="col-lg-6">
<h3>Include all of Boosted’s Sass</h3>
<p>Import one stylesheet and you're off to the races with every feature of our CSS.</p>
Expand Down Expand Up @@ -102,7 +102,7 @@ <h3>Include what you need</h3>
</div>
</section>

<section class="row g-md-5 pb-md-5 mb-5 align-items-center">
<section class="row g-lg-5 pb-md-5 mb-5 align-items-center">
<div class="col-lg-8 mb-5">
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bd-pink-rgb);">
<svg class="bi fs-1"><use xlink:href="#braces"></use></svg>
Expand All @@ -118,7 +118,7 @@ <h2 class="mb-3 lh-sm">Build and extend in real-time with CSS&nbsp;variables</h2
</a>
</p>
</div>
<div class="row gx-md-5">
<div class="row gx-lg-5">
<div class="col-lg-6 mb-3">
<h3>Using CSS variables</h3>
<p>Use any of our <a href="/docs/{{ .Site.Params.docs_version }}/customize/css-variables/#root-variables">global <code>:root</code> variables</a> to write new styles. CSS variables use the <code>var(--bs-variableName)</code> syntax and can be inherited by children elements.</p>
Expand Down Expand Up @@ -151,7 +151,7 @@ <h3>Customizing via CSS variables</h3>
</div>
</section>

<section class="row g-md-5 pb-md-5 mb-5 align-items-center">
<section class="row g-lg-5 pb-md-5 mb-5 align-items-center">
<div class="col-lg-6 mb-5 mb-md-0">
<div class="masthead-followup-icon d-inline-block mb-3 me-2" style="--bg-rgb: var(--bs-danger-rgb);">
<svg class="bi fs-1"><use xlink:href="#menu-button-wide-fill"></use></svg>
Expand Down Expand Up @@ -237,7 +237,7 @@ <h2 class="mb-3 lh-sm">Powerful JavaScript plugins without&nbsp;jQuery</h2>
</a>
</p>
</div>
<div class="row gx-md-5">
<div class="row gx-9lg-5">
<div class="col-lg-6 mb-3">
<h3>Data attribute API</h3>
<p>Why write more JavaScript when you can write HTML? Nearly all of Boosted's JavaScript plugins feature a first-class data API, allowing you to use JavaScript just by adding <code>data</code> attributes.</p>
Expand Down Expand Up @@ -271,7 +271,7 @@ <h3>Data attribute API</h3>
<h3>Comprehensive set of plugins</h3>
<p>Boosted features a dozen plugins from Bootstrap that you can drop into any project. Other are specific to Boosted. Drop them in all at once, or choose just the ones you need.</p>
<hr class="my-4">
<div class="row g-3">
<div class="row g-2">
{{- range $plugin := .Site.Data.plugins -}}
{{- $href := printf "/docs/%s/%s" $.Site.Params.docs_version $plugin.link }}
<div class="col-sm-6 mb-2">
Expand All @@ -287,7 +287,7 @@ <h4 class="mb-0 fs-5">{{ $plugin.name }}</h4>

</section>

<section class="row g-md-5 pb-md-5 mb-5 align-items-center">
<section class="row g-lg-5 pb-md-5 mb-5 align-items-center">
<div class="col-lg-6 mb-5 mb-md-0">
<div class="masthead-followup-icon d-inline-block mb-3" style="--bg-rgb: var(--bs-info-rgb);">
<div class="bi fs-1">
Expand Down

0 comments on commit 6c39b96

Please sign in to comment.