11/* Global Styles */
22: root {
3- --primary-color : # 0066cc ;
4- --primary-dark : # 0052a3 ;
5- --secondary-color : # 00c896 ;
6- --background-color : # f8f9fa ;
7- --sidebar-bg : # 0a192f ;
3+ --primary-color : # 4a7c59 ;
4+ --primary-light : # 8d9f87 ;
5+ --primary-dark : # 2d503a ;
6+ --secondary-color : # 8bc34a ;
7+ --accent-color : # c8e6c9 ;
8+ --background-color : # f5f9f5 ;
9+ --sidebar-bg : # 2e4b3c ;
810 --card-bg : # ffffff ;
9- --text-primary : # 1a202c ;
11+ --text-primary : # 2d3748 ;
1012 --text-secondary : # 4a5568 ;
11- --border-color : # e2e8f0 ;
12- --hover-bg : # edf2f7 ;
13- --chip-rk3568 : # 00a896 ;
14- --chip-rk1820 : # e74c3c ;
13+ --border-color : # c8e6c9 ;
14+ --hover-bg : # e8f5e9 ;
15+ --chip-rk3568 : # 66bb6a ;
16+ --chip-rk1820 : # ffb74d ;
1517}
1618
1719* {
3335.chip-folder {
3436 display : flex;
3537 align-items : center;
36- color : # cbd5e0 ;
38+ color : # e8f5e9 ;
3739 text-decoration : none;
3840 padding : 0.7rem 1.5rem ;
3941 transition : all 0.3s ease;
@@ -42,41 +44,57 @@ body {
4244 border-radius : 6px ;
4345 cursor : pointer;
4446 font-weight : 500 ;
47+ position : relative;
48+ overflow : hidden;
49+ }
50+
51+ .chip-folder ::before {
52+ content : '>' ;
53+ margin-right : 10px ;
54+ font-size : 1rem ;
55+ color : var (--secondary-color );
56+ transition : transform 0.3s ease;
4557}
4658
59+ .chip-folder : hover ::before {
60+ transform : translateX (3px );
61+ }
4762
4863.chip-folder [data-chip = "rk3568" ] {
49- background : rgba (0 , 168 , 150 , 0.15 );
64+ background : linear-gradient (to right, rgba (102 , 187 , 106 , 0.2 ), transparent);
65+ border-left : 3px solid var (--chip-rk3568 );
5066}
5167
5268.chip-folder [data-chip = "rk1820" ] {
53- background : rgba (231 , 76 , 60 , 0.15 );
69+ background : linear-gradient (to right, rgba (255 , 183 , 77 , 0.2 ), transparent);
70+ border-left : 3px solid var (--chip-rk1820 );
5471}
5572
5673.chip-folder : hover {
5774 transform : translateX (5px );
75+ background : linear-gradient (to right, rgba (102 , 187 , 106 , 0.3 ), transparent) !important ;
5876}
5977
6078.chip-folder [data-chip = "rk3568" ]: hover {
61- background : rgba (0 , 168 , 150 , 0.3 );
79+ background : linear-gradient (to right , rgba (102 , 187 , 106 , 0.3 ) , transparent );
6280}
6381
6482.chip-folder [data-chip = "rk1820" ]: hover {
65- background : rgba (231 , 76 , 60 , 0.3 );
83+ background : linear-gradient (to right , rgba (255 , 183 , 77 , 0.3 ) , transparent );
6684}
6785
6886.chip-submenu {
69- background : rgba (30 , 41 , 59 , 0.95 );
87+ background : rgba (46 , 75 , 60 , 0.85 );
7088 padding : 0.6rem 0 ;
7189 border-radius : 6px ;
7290 margin : 0.3rem 0.8rem 0.5rem 1.8rem ;
73- box-shadow : 0 4px 10px rgba (0 , 0 , 0 , 0.15 );
74- border : 1px solid rgba (255 , 255 , 255 , 0.05 );
91+ box-shadow : 0 4px 10px rgba (0 , 0 , 0 , 0.1 );
92+ border : 1px solid rgba (139 , 195 , 74 , 0.2 );
7593}
7694
7795.chip-submenu a {
7896 display : block;
79- color : # 94a3b8 ;
97+ color : # a0d2b8 ;
8098 text-decoration : none;
8199 padding : 0.6rem 1.5rem ;
82100 transition : all 0.3s ease;
@@ -86,7 +104,7 @@ body {
86104}
87105
88106.chip-submenu a : hover {
89- background : rgba (74 , 85 , 104 , 0.3 );
107+ background : rgba (102 , 187 , 106 , 0.25 );
90108 color : white;
91109 transform : translateX (5px );
92110}
@@ -107,11 +125,7 @@ body {
107125 box-shadow : 3px 0 15px rgba (0 , 0 , 0 , 0.1 );
108126 overflow-y : auto;
109127 transition : all 0.3s ease;
110- background : linear-gradient (to bottom, # 0a192f, # 0d1b2a );
111- }
112-
113- .sidebar : hover {
114- overflow-y : auto;
128+ background : linear-gradient (to bottom, # 2e4b3c, # 3d5d4d );
115129}
116130
117131.nav-menu {
@@ -128,14 +142,16 @@ body {
128142.nav-link {
129143 display : flex;
130144 align-items : center;
131- color : # a0aec0 ;
145+ color : # cbd5e0 ;
132146 text-decoration : none;
133147 padding : 0.9rem 1.2rem ;
134148 border-radius : 8px ;
135149 transition : all 0.3s ease;
136150 font-weight : 500 ;
137151 position : relative;
138152 overflow : hidden;
153+ background : rgba (255 , 255 , 255 , 0.05 );
154+ margin : 0.2rem 0.8rem ;
139155}
140156
141157.nav-link ::before {
@@ -145,7 +161,7 @@ body {
145161 left : -100% ;
146162 width : 100% ;
147163 height : 100% ;
148- background : linear-gradient (90deg , transparent, rgba (255 , 255 , 255 , 0.1 ), transparent);
164+ background : linear-gradient (90deg , transparent, rgba (139 , 195 , 74 , 0.2 ), transparent);
149165 transition : 0.5s ;
150166}
151167
@@ -154,15 +170,17 @@ body {
154170}
155171
156172.nav-link : hover {
157- background : rgba (255 , 255 , 255 , 0.08 );
173+ background : rgba (139 , 195 , 74 , 0.15 );
158174 color : white;
159175 transform : translateX (5px );
176+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
160177}
161178
162179.nav-link .active-page {
163- background : rgba (0 , 102 , 204 , 0.2 );
180+ background : rgba (74 , 124 , 89 , 0.3 );
164181 color : white;
165182 border-left : 3px solid var (--primary-color );
183+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.15 );
166184}
167185
168186.nav-link .active-page ::after {
@@ -174,19 +192,19 @@ body {
174192
175193/* Sub-menu for showing MD files */
176194.sub-menu {
177- background : rgba (17 , 24 , 39 , 0.9 );
195+ background : rgba (46 , 75 , 60 , 0.95 );
178196 padding : 0.8rem 0 ;
179197 border-radius : 8px ;
180198 margin-top : 0.5rem ;
181- box-shadow : 0 5px 15px rgba (0 , 0 , 0 , 0.2 );
199+ box-shadow : 0 5px 15px rgba (0 , 0 , 0 , 0.15 );
182200 position : relative;
183201 z-index : 10 ;
184- border : 1px solid rgba (255 , 255 , 255 , 0.1 );
202+ border : 1px solid rgba (139 , 195 , 74 , 0.2 );
185203}
186204
187205.sub-menu a {
188206 display : block;
189- color : # cbd5e0 ;
207+ color : # a0d2b8 ;
190208 text-decoration : none;
191209 padding : 0.6rem 1.5rem ;
192210 transition : all 0.3s ease;
@@ -196,7 +214,7 @@ body {
196214}
197215
198216.sub-menu a : hover {
199- background : rgba (74 , 85 , 104 , 0.3 );
217+ background : rgba (102 , 187 , 106 , 0.2 );
200218 color : white;
201219 transform : translateX (5px );
202220}
@@ -214,7 +232,7 @@ body {
214232 padding : 2rem ;
215233 overflow-y : auto;
216234 background : var (--card-bg );
217- background : linear-gradient (to bottom right, # ffffff, # f8fafc );
235+ background : linear-gradient (to bottom right, # ffffff, # f8faf5 );
218236}
219237
220238.page {
@@ -232,13 +250,13 @@ body {
232250}
233251
234252.content h1 {
235- color : var (--sidebar-bg );
253+ color : var (--primary-dark );
236254 border-bottom : 2px solid var (--primary-color );
237255 padding-bottom : 0.8rem ;
238256 margin-top : 0 ;
239257 font-size : 2.2rem ;
240258 font-weight : 700 ;
241- background : linear-gradient (to right, var (--sidebar-bg ), # 334155 );
259+ background : linear-gradient (to right, var (--primary-dark ), var ( --primary-color ) );
242260 -webkit-background-clip : text;
243261 -webkit-text-fill-color : transparent;
244262 background-clip : text;
@@ -305,7 +323,7 @@ body {
305323}
306324
307325# cv-content h1 , # llm-content h1 , # vlm-content h1 , # ui-content h1 {
308- color : var (--sidebar-bg );
326+ color : var (--primary-dark );
309327 border-bottom : 2px solid var (--primary-color );
310328 padding-bottom : 0.8rem ;
311329 margin-top : 0 ;
@@ -348,53 +366,59 @@ body {
348366# cv-content strong , # llm-content strong , # vlm-content strong , # ui-content strong {
349367 font-weight : 600 ;
350368 color : var (--text-primary );
369+ background : linear-gradient (to right, transparent 50% , var (--accent-color ) 50% );
370+ background-size : 4px 100% ;
371+ padding : 0 2px ;
351372}
352373
353374# cv-content em , # llm-content em , # vlm-content em , # ui-content em {
354375 font-style : italic;
355376 color : var (--text-secondary );
356- background-color : rgba ( 0 , 102 , 204 , 0.05 );
377+ background-color : var ( --accent-color );
357378 padding : 0 4px ;
358379 border-radius : 3px ;
359380}
360381
361382# cv-content code , # llm-content code , # vlm-content code , # ui-content code {
362- background-color : # f1f5f9 ;
383+ background-color : # e8f5e9 ;
363384 padding : 0.3rem 0.5rem ;
364385 border-radius : 6px ;
365386 font-family : 'Fira Code' , 'Consolas' , monospace;
366387 font-size : 0.95em ;
367- color : # e74c3c ;
368- border : 1px solid # e2e8f0 ;
388+ color : var ( --primary-dark ) ;
389+ border : 1px solid var ( --border-color ) ;
369390}
370391
371392# cv-content pre , # llm-content pre , # vlm-content pre , # ui-content pre {
372- background-color : # 0f172a ;
373- color : # e2e8f0 ;
393+ background-color : # f1f8e9 ;
394+ color : var ( --text-primary ) ;
374395 padding : 1.2rem ;
375396 border-radius : 8px ;
376397 overflow-x : auto;
377398 margin : 1.5rem 0 ;
378- border : 1px solid # 1e293b ;
379- box-shadow : inset 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
399+ border : 1px solid var ( --border-color ) ;
400+ box-shadow : inset 0 2px 4px rgba (0 , 0 , 0 , 0.05 );
380401}
381402
382403# cv-content pre code , # llm-content pre code , # vlm-content pre code , # ui-content pre code {
383404 background : none;
384405 padding : 0 ;
385- color : # a7f3d0 ;
406+ color : var ( --primary-dark ) ;
386407 border : none;
387408}
388409
389410# cv-content ul , # llm-content ul , # vlm-content ul , # ui-content ul ,
390411# cv-content ol , # llm-content ol , # vlm-content ol , # ui-content ol {
391412 margin : 1.2rem 0 ;
392413 padding-left : 1.8rem ;
414+ border-left : 3px solid var (--primary-color );
415+ padding-left : 1.5rem ;
393416}
394417
395418# cv-content li , # llm-content li , # vlm-content li , # ui-content li {
396419 margin-bottom : 0.7rem ;
397420 line-height : 1.7 ;
421+ padding-left : 0.5rem ;
398422}
399423
400424/* Card-like styling for content sections */
@@ -403,14 +427,15 @@ body {
403427 border-radius : 12px ;
404428 padding : 1.8rem ;
405429 margin : 1.5rem 0 ;
406- box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.05 );
430+ box-shadow : 0 4px 12px rgba (74 , 124 , 89 , 0.1 );
407431 border : 1px solid var (--border-color );
408432 transition : transform 0.3s ease, box-shadow 0.3s ease;
433+ border-left : 4px solid var (--primary-color );
409434}
410435
411436.content-section : hover {
412437 transform : translateY (-3px );
413- box-shadow : 0 6px 16px rgba (0 , 0 , 0 , 0.1 );
438+ box-shadow : 0 6px 16px rgba (74 , 124 , 89 , 0.15 );
414439}
415440
416441/* Responsive adjustments */
0 commit comments