-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
183 lines (153 loc) 路 4.11 KB
/
Copy pathcustom.css
File metadata and controls
183 lines (153 loc) 路 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/**
* Custom Theme for Express Forge
*/
:root {
/* Brand Palette - Modern Indigo/Cyan */
--vp-c-brand-1: #6366f1; /* Indigo 500 */
--vp-c-brand-2: #4f46e5; /* Indigo 600 */
--vp-c-brand-3: #818cf8; /* Indigo 400 */
--vp-c-brand-next: #06b6d4; /* Cyan 500 */
--vp-c-brand-soft: rgba(99, 102, 241, 0.12);
/* Typography Visibility */
--vp-c-text-1: #1e293b; /* Slate 800 */
--vp-c-text-2: #475569; /* Slate 600 */
/* Hero Gradient */
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
--vp-home-hero-image-background-image: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
--vp-home-hero-image-filter: blur(60px);
}
.dark {
--vp-c-brand-1: #818cf8;
--vp-c-brand-2: #6366f1;
--vp-c-brand-3: #a5b4fc;
--vp-c-text-1: #f8fafc; /* Slate 50 */
--vp-c-text-2: #94a3b8; /* Slate 400 */
--vp-c-bg: #0f172a; /* Slate 900 - Deep Obsidian */
--vp-c-bg-soft: #1e293b; /* Slate 800 */
--vp-c-bg-mute: #1e293b;
}
/* Hero Section Enhancements */
.VPHero {
margin-top: calc(var(--vp-nav-height) + 32px) !important;
padding: 0 32px !important;
}
@media (min-width: 640px) {
.VPHero {
padding: 0 48px !important;
}
}
@media (min-width: 960px) {
.VPHero {
padding: 0 64px !important;
}
}
.name {
font-weight: 900 !important;
letter-spacing: -0.02em !important;
}
/* Feature Cards */
.VPFeatures {
padding: 64px 32px !important;
}
.VPFeature {
border: 1px solid var(--vp-c-divider) !important;
background-color: var(--vp-c-bg-soft) !important;
transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1) !important;
border-radius: 16px !important;
}
.VPFeature:hover {
border-color: var(--vp-c-brand-1) !important;
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
background-color: var(--vp-c-bg) !important;
}
/* Dark Mode Overrides */
.dark .VPFeature {
background-color: rgba(30, 41, 59, 0.5) !important;
backdrop-filter: blur(8px);
}
.dark .VPFeature:hover {
background-color: #1e293b !important;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
/* Typography & Content Visibility */
:root {
--vp-font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
letter-spacing: -0.02em;
font-weight: 800 !important;
color: var(--vp-c-text-1);
}
.VPHero .tagline {
color: var(--vp-c-text-2) !important;
font-weight: 500 !important;
font-size: 1.25rem !important;
max-width: 600px !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* Code Block Visibility */
.vp-doc [class*='language-'] {
border-radius: 12px !important;
border: 1px solid var(--vp-c-divider) !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.dark .vp-doc [class*='language-'] {
background-color: #0f172a !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* Hero Buttons */
.VPHero .actions {
justify-content: center !important;
gap: 12px !important;
}
/* Overflow & Clipping Prevention */
.vp-doc p, .vp-doc li {
overflow-wrap: break-word;
}
/* Sidebar & Nav Adjustments */
.VPNavBar {
backdrop-filter: blur(12px);
}
.VPSidebarItem.level-0 > .item > .text {
font-weight: 700 !important;
}
/* Table Responsiveness */
.vp-doc table {
display: block;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
border-collapse: collapse;
margin: 16px 0;
}
/* Code Block Wrapping */
.vp-doc [class*='language-'] pre {
white-space: pre-wrap !important;
word-break: break-all !important;
}
/* Hero Section Responsiveness */
@media (max-width: 640px) {
.VPHero .name {
font-size: 2.5rem !important;
line-height: 1.1 !important;
}
.VPHero .text {
font-size: 1.5rem !important;
}
.VPHero .tagline {
font-size: 1rem !important;
padding: 0 16px;
}
}
/* Feature Card Content Safety */
.VPFeature .details {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.5;
}