Skip to content

Commit 09f8e4f

Browse files
committed
Docs: Better buttons
1 parent 0e4b478 commit 09f8e4f

File tree

2 files changed

+17
-25
lines changed

2 files changed

+17
-25
lines changed

docs/gallery.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ nav_order: 9
5555
}
5656

5757
.hero-section {
58-
text-align: center;
5958
margin: 2rem 0 3rem 0;
6059
padding: 2rem;
6160
background: linear-gradient(135deg, var(--jtd-body-bg) 0%, rgba(138, 180, 248, 0.05) 100%);
@@ -78,25 +77,18 @@ nav_order: 9
7877
.cta-buttons {
7978
display: flex;
8079
gap: 1rem;
81-
justify-content: center;
8280
flex-wrap: wrap;
8381
}
8482

8583
.cta-button {
8684
display: inline-block;
8785
padding: 0.75rem 1.5rem;
88-
background: var(--jtd-accent);
89-
color: var(--jtd-body-bg) !important;
86+
background: #22c55e;
87+
background-color: #333;
88+
color: white !important;
9089
text-decoration: none;
91-
border-radius: 6px;
90+
border-radius: 4px;
9291
font-weight: 500;
93-
transition: all 0.2s ease;
94-
}
95-
96-
.cta-button:hover {
97-
background: #9bb5f9;
98-
transform: translateY(-1px);
99-
box-shadow: 0 2px 8px rgba(138, 180, 248, 0.3);
10092
}
10193

10294
.contribute-section {
@@ -121,9 +113,12 @@ nav_order: 9
121113
font-size: 2rem;
122114
}
123115

116+
.hero-section p {
117+
font-size: 1rem;
118+
}
119+
124120
.cta-buttons {
125121
flex-direction: column;
126-
align-items: center;
127122
}
128123
}
129124
</style>

docs/index.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,24 @@ nav_order: 1
3636
.cta-button {
3737
display: inline-block;
3838
padding: 0.75rem 1.5rem;
39-
background: var(--jtd-accent);
40-
color: var(--jtd-body-bg) !important;
39+
background: #22c55e;
40+
background-color: #333;
41+
color: white !important;
4142
text-decoration: none;
4243
border-radius: 4px;
4344
font-weight: 500;
44-
transition: opacity 0.2s ease;
45-
}
46-
47-
.cta-button:hover {
48-
opacity: 0.9;
4945
}
5046

5147
.cta-button.secondary {
52-
background: transparent;
53-
border: 1px solid var(--jtd-accent);
54-
color: var(--jtd-accent) !important;
48+
background: #16a34a;
49+
background-color: #333;
50+
color: white !important;
51+
border: none;
5552
}
5653

5754
.cta-button.secondary:hover {
58-
background: var(--jtd-accent);
59-
color: var(--jtd-body-bg) !important;
55+
background: #15803d;
56+
color: white !important;
6057
}
6158

6259
@media (max-width: 768px) {

0 commit comments

Comments
 (0)