Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit 1d7c38d

Browse files
committed
Improve section H2 headings with gradient fade effect
- Updated section H2 styling to be more compact and elegant - Changed background from solid to gradient that fades left to right - Reduced padding and margins for less vertical space - Added subtle hover effect with border expansion - Applied across all patch pages via shared CSS
1 parent e76d4d9 commit 1d7c38d

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

style/components/patch_typography.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ h6 {
1414
margin: 8px 0; /* Reduced from 10px */
1515
}
1616

17+
/* Section H2 Headings - Enhanced Styling */
18+
section h2 {
19+
font-size: 1.4rem;
20+
font-weight: 600;
21+
color: var(--Text-Primary);
22+
margin: 20px 0 16px 0;
23+
padding: 10px 16px;
24+
background: linear-gradient(90deg, var(--Card) 0%, transparent 100%);
25+
border-left: 3px solid var(--Link);
26+
border-radius: 4px;
27+
letter-spacing: 0.3px;
28+
transition: all 0.2s ease;
29+
}
30+
31+
section h2:hover {
32+
transform: translateX(2px);
33+
border-left-width: 4px;
34+
}
35+
1736
a {
1837
color: var(--Link);
1938
text-decoration: underline;

0 commit comments

Comments
 (0)