Skip to content

Commit 78d3cb8

Browse files
author
pixelead0
committed
Enhance button styles in custom.css with !important declarations for better visibility and consistency across various button types.
1 parent 9a05d8b commit 78d3cb8

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

docs/css/custom.css

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@
155155
.btn-primary,
156156
.participation-card a,
157157
.year-card a {
158-
background: var(--python-green);
159-
color: var(--python-white);
158+
background: var(--python-green) !important;
159+
color: var(--python-white) !important;
160160
padding: 0.75rem 1.5rem;
161161
border-radius: var(--button-radius);
162162
text-decoration: none;
@@ -175,13 +175,30 @@
175175
.btn-primary:hover,
176176
.participation-card a:hover,
177177
.year-card a:hover {
178-
background: var(--python-green-dark);
179-
color: var(--python-white);
178+
background: var(--python-green-dark) !important;
179+
color: var(--python-white) !important;
180180
transform: translateY(-2px);
181181
box-shadow: var(--md-shadow-z2);
182182
text-decoration: none;
183183
}
184184

185+
/* Asegurar visibilidad en botones específicos del index */
186+
.btn.btn-primary,
187+
.btn-primary.mt-2,
188+
.upcoming-btn {
189+
background: var(--python-green) !important;
190+
color: var(--python-white) !important;
191+
text-decoration: none !important;
192+
}
193+
194+
.btn.btn-primary:hover,
195+
.btn-primary.mt-2:hover,
196+
.upcoming-btn:hover {
197+
background: var(--python-green-dark) !important;
198+
color: var(--python-white) !important;
199+
text-decoration: none !important;
200+
}
201+
185202
/* Botones de navegación discretos */
186203
.btn-nav {
187204
background: transparent;

0 commit comments

Comments
 (0)