Skip to content

Commit ca8f8f7

Browse files
Atualizar estilos da seção Hero para melhorar a aparência e a legibilidade
1 parent a1c4e27 commit ca8f8f7

2 files changed

Lines changed: 70 additions & 4 deletions

File tree

assets/css/design-system.css

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,43 @@
120120
color: var(--color-text-primary);
121121
}
122122

123+
/* Hero section theming */
124+
.home-hero {
125+
background: linear-gradient(135deg, var(--pivot-purple-50) 0%, var(--pivot-pink-50) 50%, var(--pivot-cyan-50) 100%);
126+
color: var(--pivot-dark);
127+
position: relative;
128+
}
129+
130+
.home-hero::after {
131+
content: '';
132+
position: absolute;
133+
top: 0;
134+
left: 0;
135+
right: 0;
136+
bottom: 0;
137+
background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.5) 100%);
138+
pointer-events: none;
139+
}
140+
123141
/* Navigation dark mode */
124142
[data-theme="dark"] .navbar {
125-
background: var(--color-surface);
143+
background: rgba(15, 23, 42, 0.95);
126144
border-bottom-color: var(--color-border);
127145
}
128146

147+
/* Navbar links dark mode */
148+
[data-theme="dark"] .navbar-nav a {
149+
color: var(--color-text-secondary);
150+
}
151+
152+
[data-theme="dark"] .navbar-nav a:hover {
153+
color: var(--pivot-purple-400);
154+
}
155+
156+
[data-theme="dark"] .navbar-brand {
157+
color: var(--color-text-primary);
158+
}
159+
129160
[data-theme="dark"] .docs-header {
130161
background: var(--color-surface);
131162
border-bottom-color: var(--color-border);
@@ -143,7 +174,21 @@
143174

144175
/* Home sections dark mode */
145176
[data-theme="dark"] .home-hero {
146-
background: var(--color-background);
177+
background: linear-gradient(135deg, var(--pivot-gray-950) 0%, var(--pivot-gray-900) 50%, var(--pivot-gray-950) 100%);
178+
color: var(--color-text-primary);
179+
}
180+
181+
[data-theme="dark"] .home-hero::after {
182+
background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
183+
}
184+
185+
/* Gradient text adjustments for dark mode */
186+
[data-theme="dark"] .home-hero h1,
187+
[data-theme="dark"] .gradient-text {
188+
background: linear-gradient(135deg, #A78BFA 0%, #F472B6 50%, #38BDF8 100%);
189+
-webkit-background-clip: text;
190+
-webkit-text-fill-color: transparent;
191+
background-clip: text;
147192
}
148193

149194
[data-theme="dark"] .performance-section {
@@ -685,6 +730,27 @@ pre, code, .code-block, .code-preview {
685730
color: var(--color-text-primary);
686731
}
687732

733+
/* Button theming */
734+
[data-theme="dark"] .btn-secondary {
735+
color: var(--pivot-purple-400);
736+
border-color: var(--pivot-purple-400);
737+
}
738+
739+
[data-theme="dark"] .btn-secondary:hover {
740+
background: var(--pivot-purple-400);
741+
color: var(--pivot-gray-900);
742+
}
743+
744+
/* Performance section dark mode */
745+
[data-theme="dark"] .performance-metric {
746+
background: var(--pivot-gray-800);
747+
border-color: var(--pivot-gray-700);
748+
}
749+
750+
[data-theme="dark"] .performance-value {
751+
color: var(--pivot-purple-400);
752+
}
753+
688754
/* Responsive adjustments */
689755
@media (max-width: 768px) {
690756
.home-hero-stats {

assets/css/pivotphp-unified.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ pre {
339339

340340
/* ===== HERO SECTION ===== */
341341
.home-hero {
342-
background: var(--pivot-gradient);
343-
color: var(--pivot-white);
342+
background: var(--pivot-light);
343+
color: var(--pivot-dark);
344344
padding: 8rem 0 6rem;
345345
position: relative;
346346
overflow: hidden;

0 commit comments

Comments
 (0)