1- /* ────────────────── 1. Google Fonts ────────────────── */
2- @import url ('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Roboto+Condensed:wght@300;400;700&display=swap' );
3-
4- /* ────────────────── 2. Variables & Theming ────────────────── */
5- : root ,
6- html .theme-light {
7- --paper : # f2eee6 ;
8- --paper-2 : # ebe6dc ;
9- --ink : # 17161a ;
10- --ink-2 : # 3a383f ;
11- --muted : # 6f6a62 ;
12- --line : # d3cdc0 ;
13- --line-2 : # bdb6a7 ;
14- --accent : # 3f47a0 ;
15- --accent-tint : rgba (63 , 71 , 160 , 0.08 );
16-
17- /* Writerside Theme Tokens (Light) */
18- --wh-color-background : var (--paper ) !important ;
19- --wh-color-content-bg : var (--paper ) !important ;
20- --wh-color-sidebar-bg : var (--paper-2 ) !important ;
21- --wh-color-header-bg : var (--paper ) !important ;
22- --wh-color-footer-bg : var (--paper-2 ) !important ;
23- --wh-color-text-main : var (--ink ) !important ;
24- --wh-color-text-secondary : var (--muted ) !important ;
25- --wh-color-border : var (--line ) !important ;
26- --wh-color-border-hover : var (--accent ) !important ;
27- --wh-color-primary-light-theme : var (--accent ) !important ;
28- --wh-color-link-light-theme : var (--accent ) !important ;
29- --wh-color-backlight-main : rgba (23 , 22 , 26 , 0.04 ) !important ;
30- --wh-color-accent-substrate-bg : var (--paper-2 ) !important ;
31- --wh-color-backlight-pale : none;
32- --wh-color-backlight-pale-dark : none;
33- --app-link-color-light : var (--accent ) !important ;
34- }
1+ @import url ('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,200;1,200&display=swap' );
352
36- html .theme-dark {
37- --paper : # 17161a ;
38- --paper-2 : # 1f1e24 ;
39- --ink : # f2eee6 ;
40- --ink-2 : # d3cdc0 ;
41- --muted : # 9e988f ;
42- --line : # 33313a ;
43- --line-2 : # 42404b ;
44- --accent : # 848cd5 ;
45- --accent-tint : rgba (132 , 140 , 213 , 0.15 );
46-
47- /* Writerside Theme Tokens (Dark) */
48- --wh-color-background : var (--paper ) !important ;
49- --wh-color-content-bg : var (--paper ) !important ;
50- --wh-color-sidebar-bg : var (--paper-2 ) !important ;
51- --wh-color-header-bg : var (--paper ) !important ;
52- --wh-color-footer-bg : var (--paper-2 ) !important ;
53- --wh-color-text-main : var (--ink ) !important ;
54- --wh-color-text-secondary : var (--muted ) !important ;
55- --wh-color-border : var (--line ) !important ;
56- --wh-color-border-hover : var (--accent ) !important ;
57- --wh-color-primary-dark-theme : var (--accent ) !important ;
58- --wh-color-link-dark-theme : var (--accent ) !important ;
3+ : root {
594 --wh-color-accent-substrate-bg : # 222330 !important ;
60- --wh-color-backlight-secondary-dark : # 25242d !important ;
61- --wh-color-white-t10 : rgba (255 , 255 , 255 , 0.08 ) !important ;
62- --app-link-color-dark : var (--accent ) !important ;
63- }
64-
65- /* ────────────────── 3. Typography ────────────────── */
66- body , .article , .wh-content , .app__nav {
67- font-family : "IBM Plex Sans" , system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, sans-serif !important ;
68- -webkit-font-smoothing : antialiased;
69- }
70-
71- h1 , h2 , h3 , h4 , h5 , h6 , .article__title {
72- font-family : "Roboto Condensed" , "Arial Narrow" , system-ui, sans-serif !important ;
73- letter-spacing : -0.01em !important ;
74- }
75-
76- h1 , .article__title {
77- font-weight : 300 !important ;
78- font-size : 42px !important ;
79- line-height : 1.05 !important ;
5+ --wh-color-border-hover : # 4f57a7 !important ;
6+ --wh-color-backlight-pale : none;
7+ --wh-color-backlight-pale-dark : none;
8+ --app-link-color-dark : # 848CD5 !important ;
809}
8110
82- h2 {
83- font-weight : 400 !important ;
84- font-size : 26px !important ;
85- margin-top : 36px !important ;
11+ h1 , h2 {
12+ font-family : "Roboto Condensed" , "JetBrains Sans Bundled" , Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI" , Roboto, Oxygen, Ubuntu, Cantarell, "Droid Sans" , "Helvetica Neue" , Arial, sans-serif !important ;
13+ font-optical-sizing : auto !important ;
14+ font-weight : 200 !important ;
15+ font-style : normal !important ;
8616}
8717
88- h3 {
89- font-weight : 400 !important ;
90- font-size : 20px !important ;
18+ h1 {
19+ font-size : 48px !important ;
9120}
9221
93- code , pre , .code-block , .code-collapse , .code-comparer__code-line {
94- font-family : "IBM Plex Mono" , "JetBrains Mono" , "SFMono-Regular" , Consolas, monospace !important ;
22+ .wh-header__product-logo {
23+ width : 32px ;
24+ height : 32px ;
9525}
9626
97- /* Selection */
98- ::selection {
99- background : var (--accent ) !important ;
100- color : var (--paper ) !important ;
27+ .article > .prompt {
28+ max-width : auto !important ;
10129}
10230
103- /* ────────────────── 4. Layout & Header ────────────────── */
104- .wh-header , .app__header {
105- border-bottom : 1px solid var (--line ) !important ;
31+ .prompt__wrapper {
32+ display : flex;
10633}
10734
108- .wh-header__product-logo {
109- width : 24px ;
110- height : 24px ;
35+ .prompt__content {
36+ overflow : visible;
11137}
11238
113- .app__sidebar {
114- border-right : 1 px solid var ( --line ) !important ;
39+ .prompt__wrapper > . prompt__content {
40+ flex : 1 ;
11541}
11642
11743.app__nav {
11844 padding : 0 10px ;
11945}
12046
121- .app__footer , . wh-footer {
122- border-top : 1 px solid var ( --line ) !important ;
47+ .app__sidebar {
48+ border : none ;
12349}
12450
125- /* ────────────────── 5. Navigation & TOC ────────────────── */
12651.app__toc li {
127- margin : 4 px 0 ;
52+ margin : 6 px 0 ;
12853}
12954
13055.toc-item {
131- border-radius : 3px !important ;
132- font-size : 13.5px ;
133- transition : background-color 0.15s ease, color 0.15s ease;
56+ border-radius : 5px ;
13457}
13558
13659.toc-item--highlighted {
13760 background : none !important ;
13861}
13962
14063.toc-item--theme-light : hover {
141- background : var (--paper-2 ) !important ;
64+ background : rgba (25 , 25 , 28 , .05 ) !important ;
65+ background : var (--wh-color-backlight-main ) !important ;
14266}
14367
14468.toc-item--theme-dark : hover {
145- background : rgba (255 , 255 , 255 , 0.06 ) !important ;
69+ background : hsla (0 , 0% , 100% , .1 ) !important ;
70+ background : var (--wh-color-white-t10 ) !important ;
14671}
14772
14873.toc-item--selected .toc-item--theme-dark {
14974 cursor : default;
150- background-color : var ( --wh-color-accent-substrate-bg ) !important ;
151- color : var (--accent ) !important ;
75+ background-color : # 252528 !important ;
76+ background- color: var (--wh-color-backlight-secondary-dark ) !important ;
15277}
15378
15479.toc-item--selected .toc-item--theme-light {
15580 cursor : default;
156- background-color : var ( --accent ) !important ;
157- color : # ffffff !important ;
81+ background-color : # 6b57ff !important ;
82+ background- color: var ( --wh-color-primary-light-theme ) !important ;
15883}
15984
16085.toc--theme-dark {
16186 background : none;
16287}
16388
164- /* ────────────────── 6. Breadcrumbs & Prompts ────────────────── */
165- .app__breadcrumbs {
166- width : auto;
167- max-width : 100% ;
168- background : var (--paper-2 ) !important ;
169- border : 1px solid var (--line ) !important ;
170- border-radius : 3px !important ;
171- padding : 8px 14px !important ;
172- font-family : "IBM Plex Mono" , monospace !important ;
173- font-size : 13px !important ;
174- }
175-
176- html .theme-dark .app__breadcrumbs {
177- background : var (--paper-2 ) !important ;
178- border-color : var (--line ) !important ;
179- }
180-
181- .article > .prompt {
182- max-width : none !important ;
183- border-radius : 3px !important ;
184- border : 1px solid var (--line ) !important ;
185- }
186-
187- .prompt__wrapper {
188- display : flex;
189- }
190-
191- .prompt__content {
192- overflow : visible;
193- }
194-
195- .prompt__wrapper > .prompt__content {
196- flex : 1 ;
197- }
198-
199- /* ────────────────── 7. Code Blocks & Cards ────────────────── */
20089.article__list + .code-block__wrapper ,
20190.article__list + .code-collapse__wrapper ,
20291p + .code-block__wrapper ,
20392p + .code-collapse__wrapper ,
20493.code-block__wrapper + .code-collapse__wrapper ,
20594.code-block__wrapper + .code-block__wrapper {
206- margin-top : 14 px !important ;
95+ margin-top : 12 px !important ;
20796}
20897
209- .code-block__wrapper ,
210- .code-collapse__wrapper {
211- border : 1px solid var (--line ) !important ;
212- border-radius : 3px !important ;
213- }
214-
215- .code-comparer__code-line {
216- border-radius : 2px !important ;
98+ .starting-page-card {
99+ border-radius : 7px ;
217100}
218101
219- .starting-page-card {
220- border-radius : 3 px !important ;
221- border : 1 px solid var ( --line ) !important ;
222- background : var ( --paper ) !important ;
223- transition : border-color 0.2 s ease , transform 0.2 s ease ;
102+ .app__breadcrumbs {
103+ width : 706 px ;
104+ background : rgba ( 0 , 0 , 0 , 0.05 ) ;
105+ border-radius : 7 px ;
106+ padding : 10 px 0 10 px 16 px ;
224107}
225108
226- . starting-page-card : hover {
227- border-color : var ( --accent ) !important ;
109+ html . theme-dark . app__breadcrumbs {
110+ background : rgba ( 255 , 255 , 255 , 0.05 ) ;
228111}
229112
230113.theme-dark .starting-page-card {
231- background : var (--paper-2 ) !important ;
232- border-color : var (--line ) !important ;
114+ background : # 1c2329 !important ;
233115}
234116
235117.theme-dark .starting-page-card : hover {
236- background : # 25242d !important ;
237- border-color : var (--accent ) !important ;
118+ background : # 252f37 !important ;
238119}
239120
240121.article img {
241- border-radius : 3px !important ;
242- border : 1px solid var (--line );
122+ border-radius : 7px ;
243123}
244124
245- /* ────────────────── 8. Mermaid Diagrams ────────────────── */
246125# mermaid .flowchart-link {
247- stroke : var ( --accent ) !important ;
126+ stroke : # 4f57a7 !important ;
248127}
249128
250129# mermaid .node polygon ,
251130# mermaid .node rect {
252- fill : var ( --paper-2 ) !important ;
253- stroke : var ( --line ) !important ;
254- rx : 3 px !important ;
131+ fill : rgba ( 0 , 0 , 0 , .05 ) !important ;
132+ stroke : transparent !important ;
133+ rx : 7 px !important ;
255134}
256135
257136# mermaid .divider {
258- stroke : var ( --line ) !important ;
137+ stroke : rgba ( 0 , 0 , 0 , .1 ) !important ;
259138}
260139
261140html .theme-dark # mermaid .node polygon ,
262141html .theme-dark # mermaid .node rect {
263- fill : var (--paper-2 ) !important ;
264- stroke : var (--line ) !important ;
142+ fill : rgba (255 , 255 , 255 , .05 ) !important ;
265143}
266144
267145html .theme-dark # mermaid .node span {
268- color : var ( --ink ) !important ;
146+ color : # a9b7c6 !important ;
269147 font-size : 95% ;
270148}
271149
272150html .theme-dark # mermaid .divider {
273- stroke : var ( --line ) !important ;
151+ stroke : # 1c2329 !important ;
274152}
153+
154+ .code-comparer__code-line {
155+ border-radius : 3px ;
156+ }
0 commit comments