0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Few miscellaneous docs fixes (#37625)

* Update hero button color

* Fix link color on examples index

* Move .bd-btn-lg to docs buttons partial, move larger border-radius to that class so medium buttons don't look odd

* Undo the markup split

* Round padding up to whole number
This commit is contained in:
Mark Otto 2022-12-26 11:32:43 -08:00 committed by GitHub
parent 98ebf3a336
commit 6295d3ba36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 8 deletions

View File

@ -6,9 +6,8 @@
.btn-bd-primary {
--bs-btn-font-weight: 600;
--bs-btn-color: var(--bs-white);
--bs-btn-bg: var(--bd-violet);
--bs-btn-border-color: var(--bd-violet);
--bs-btn-border-radius: .5rem;
--bs-btn-bg: var(--bd-violet-bg);
--bs-btn-border-color: var(--bd-violet-bg);
--bs-btn-hover-color: var(--bs-white);
--bs-btn-hover-bg: #{shade-color($bd-violet, 10%)};
--bs-btn-hover-border-color: #{shade-color($bd-violet, 10%)};
@ -45,3 +44,9 @@
--bs-btn-focus-border-color: var(--btn-custom-color);
--bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
}
.bd-btn-lg {
--bs-btn-border-radius: .5rem;
padding: .8125rem 2rem;
}

View File

@ -71,10 +71,6 @@
}
}
.bd-btn-lg {
padding: .8rem 2rem;
}
.masthead-followup-icon {
padding: 1rem;
color: rgba(var(--bg-rgb), 1);

View File

@ -33,7 +33,9 @@ aliases: "/examples/"
alt=""
width="480" height="300"
loading="lazy">
<h3 class="h5 mb-1">{{ $example.name }}</h3>
<h3 class="h5 mb-1">
{{ $example.name }}
</h3>
</a>
<p class="text-muted">{{ $example.description }}</p>
</div>