Skip to content

Commit 5c4d6d1

Browse files
authored
style: 💄 add side margins to about link btns for nicer spacing (#163)
# Description I noticed on both our main website and Sprout's that the spacing isn't that nice, so I've added some here. The bottom margins is to ensure that the spacing is still nice on mobile devices. Before this change, it looked like this: <img width="1125" height="2436" alt="image" src="https://github.com/user-attachments/assets/4ade9169-b05b-4b08-9a55-7dd8e8453d4d" /> This PR needs a quick review. ## Checklist - [X] Ran `just run-all`
1 parent 63e5a11 commit 5c4d6d1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

_extensions/seedcase-theme/_brand.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ defaults:
7676
font-size: 20px !important;
7777
font-weight: bold;
7878
padding: 5px 15px !important;
79+
margin: 0px 10px 10px 10px;
7980
}
8081
8182
.about-link:hover {

index.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ title: "Welcome"
77
This is the test landing page! With a [link](https://duckduckgo.com/)!
88
And an emoji :grin:
99

10+
[An about link button](nonexisting-link){.btn .about-link}
11+
[Another one next to it](nonexisting-link){.btn .about-link}
12+
13+
1014
And [longer reference to another header](index.qmd#another) in the same
1115
document.
1216

0 commit comments

Comments
 (0)