aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Tomás <[email protected]>2022-09-12 03:10:27 +0100
committerMark Otto <[email protected]>2022-10-06 13:12:09 -0700
commit4822984e19e6241284eff213297b6532773ac5f8 (patch)
tree6410de6ba2369c7a1cf18c7f87493c7484f71730
parent5029370a10717892192d60b88c0406bdd9450fc2 (diff)
downloadbootstrap-4822984e19e6241284eff213297b6532773ac5f8.tar.xz
bootstrap-4822984e19e6241284eff213297b6532773ac5f8.zip
Fix button hover color in cover example
Replaced .btn-secondary class with .btn-light
-rw-r--r--site/content/docs/5.2/examples/cover/cover.css6
-rw-r--r--site/content/docs/5.2/examples/cover/index.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/site/content/docs/5.2/examples/cover/cover.css b/site/content/docs/5.2/examples/cover/cover.css
index 1b1c5407b..2e7aef8f8 100644
--- a/site/content/docs/5.2/examples/cover/cover.css
+++ b/site/content/docs/5.2/examples/cover/cover.css
@@ -4,9 +4,9 @@
/* Custom default button */
-.btn-secondary,
-.btn-secondary:hover,
-.btn-secondary:focus {
+.btn-light,
+.btn-light:hover,
+.btn-light:focus {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
}
diff --git a/site/content/docs/5.2/examples/cover/index.html b/site/content/docs/5.2/examples/cover/index.html
index 34dc1c2b6..80a73300d 100644
--- a/site/content/docs/5.2/examples/cover/index.html
+++ b/site/content/docs/5.2/examples/cover/index.html
@@ -24,7 +24,7 @@ include_js: false
<h1>Cover your page.</h1>
<p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
<p class="lead">
- <a href="#" class="btn btn-lg btn-secondary fw-bold border-white bg-white">Learn more</a>
+ <a href="#" class="btn btn-lg btn-light fw-bold border-white bg-white">Learn more</a>
</p>
</main>