Skip to content

Commit 72a4f3f

Browse files
committed
fix download button position and blue outline removed
1 parent 0085d97 commit 72a4f3f

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

src/components/DownloadDropdown.astro

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
}
6666

6767
.download-dropdown-btn {
68-
background: transparent;
69-
color: #9ab4ff;
70-
border: 2px solid #9ab4ff;
68+
background: #9ab4ff;
69+
color: #0d1117;
70+
border: none;
7171
padding: 12px 24px;
7272
font-size: 1.1rem;
73-
border-radius: 8px;
73+
border-radius: 9999px; /* same pill shape as docs button */
7474
cursor: pointer;
7575
display: flex;
7676
align-items: center;
@@ -79,8 +79,9 @@
7979
font-weight: 600;
8080
}
8181

82+
8283
.download-dropdown-btn:hover {
83-
background: #9ab4ff;
84+
background: #a8bbff;
8485
color: #0d1117;
8586
transform: translateY(-2px);
8687
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

src/content/docs/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ hero:
66
tagline: Welcome to the homepage of the StratOS project!
77
image:
88
file: ../../assets/stratos.webp
9-
actions:
10-
- text: Go to docs
11-
link: /intro
12-
icon: right-arrow
13-
variant: primary
149
---
1510

1611
import DownloadDropdown from '../../components/DownloadDropdown.astro'
1712

18-
<DownloadDropdown client:load />
13+
<div style="display: flex; align-items: center; gap: 1rem; margin-top: 2rem;">
14+
<a href="/intro" class="button primary" style="text-decoration: none;">
15+
Go to docs →
16+
</a>
17+
<DownloadDropdown client:load />
18+
</div>

0 commit comments

Comments
 (0)