docs: Improve footer button design (#31634)

Just touching up these a little bit. I think including the page
destination as a label here is a good move!

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-05-28 19:16:40 -03:00
committed by GitHub
parent 0791596cda
commit a1c645e57e
3 changed files with 43 additions and 35 deletions
+19 -18
View File
@@ -177,34 +177,35 @@ a > .hljs {
display: none;
}
.nav-wrapper {
margin-block-start: 50px;
display: block;
}
.nav-buttons {
.footer-buttons {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0;
padding: 0 10px;
gap: 1rem;
padding: 24px 0;
}
.nav-button {
.footer-button {
width: 100%;
padding: 12px;
display: flex;
align-items: center;
padding: 8px 12px;
background-color: var(--bg);
color: var(--fg) !important;
text-decoration: none;
justify-content: center;
gap: 0.5rem;
background-color: var(--footer-btn-bg);
border: 1px solid var(--footer-btn-border);
border-radius: 0.5rem;
font-size: 0.9em;
}
.nav-button:hover {
background-color: var(--theme-hover);
color: var(--icons-hover) !important;
.footer-button:hover {
background-color: var(--footer-btn-bg-hover);
border-color: var(--footer-btn-border-hover);
}
.nav-button i {
padding: 0 6px;
.footer-button i {
text-decoration: underline !important;
text-decoration-color: transparent !important;
}
.mobile-nav-chapters {