-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs-reference.html
More file actions
254 lines (233 loc) · 7.87 KB
/
Copy pathdocs-reference.html
File metadata and controls
254 lines (233 loc) · 7.87 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.jsdelivr.net/npm/remixicon@4.9.0/fonts/remixicon.css"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="markdown.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>StudioFrame | Theme & Layout</title>
</head>
<body data-docs-page="docs-reference">
<header class="header">
<nav>
<a href="index.html" class="nav_logo">StudioFrame</a>
<div class="nav_menu" id="nav-menu">
<ul class="nav_list">
<li class="nav_item">
<a href="index.html" class="nav_link">Home</a>
</li>
<li class="nav_item"><a href="#" class="nav_link">About</a></li>
<li class="nav_item"><a href="#" class="nav_link">Services</a></li>
<li class="nav_item"><a href="#" class="nav_link">Featured</a></li>
<li class="nav_item">
<a href="#" class="nav_link">Contact Me</a>
</li>
</ul>
<div class="nav_menu_tools">
<button
class="nav_theme nav_theme-mobile"
data-theme-toggle
type="button"
aria-label="Switch to dark mode"
title="Switch to dark mode"
>
<i class="ri-moon-line"></i>
<span>Dark mode</span>
</button>
</div>
<button
class="nav_close"
id="nav-close"
type="button"
aria-label="Close menu"
>
<i class="ri-close-line"></i>
</button>
</div>
<div class="nav_actions">
<button
class="nav_theme"
data-theme-toggle
type="button"
aria-label="Switch to dark mode"
title="Switch to dark mode"
>
<i class="ri-moon-line"></i>
</button>
<button
class="nav_search"
id="search-btn"
type="button"
aria-label="Open search"
>
<i class="ri-search-line"></i>
</button>
<button
class="nav_toggle"
id="nav-toggle"
type="button"
aria-label="Open menu"
>
<i class="ri-menu-3-line"></i>
</button>
</div>
</nav>
</header>
<div class="search" id="search">
<form action="" class="search_form">
<i class="ri-search-line search_icon"></i>
<input
type="search"
placeholder="Search posts, tags, or notes"
class="search_input"
name="search-input"
/>
</form>
<button
class="search_close"
id="search-close"
type="button"
aria-label="Close search"
>
<i class="ri-close-line"></i>
</button>
</div>
<div class="docs_mobile_bar" aria-label="Mobile docs tools">
<button
class="docs_mobile_bar_button"
type="button"
data-docs-panel-toggle="sidebar"
aria-controls="docs-sidebar-mobile-panel"
aria-expanded="false"
>
<i class="ri-menu-line" aria-hidden="true"></i>
<span>Menu</span>
</button>
<button
class="docs_mobile_bar_button"
type="button"
data-docs-panel-toggle="toc"
aria-controls="docs-toc-mobile-panel"
aria-expanded="false"
>
<i class="ri-file-list-line" aria-hidden="true"></i>
<span>On this page</span>
</button>
</div>
<div class="docs_main">
<aside
class="docs_sidebar_mobile"
id="docs-sidebar-mobile-panel"
aria-labelledby="docs-sidebar-mobile-title"
>
<details class="docs_sidebar_card docs_sidebar_menu">
<summary class="docs_sidebar_summary">
<div>
<p class="docs_sidebar_eyebrow">Documentation</p>
<h2 class="docs_sidebar_title" id="docs-sidebar-mobile-title">
Browse
</h2>
</div>
<i class="ri-arrow-down-s-line" aria-hidden="true"></i>
</summary>
<nav
class="docs_sidebar_nav"
aria-label="Mobile sidebar navigation"
data-docs-sidebar-mobile
></nav>
</details>
</aside>
<aside
class="docs_toc_mobile"
id="docs-toc-mobile-panel"
aria-labelledby="docs-toc-mobile-title"
>
<details class="docs_toc_card docs_toc_menu">
<summary class="docs_toc_summary">
<h2 class="docs_toc_title" id="docs-toc-mobile-title">
On this page
</h2>
<i class="ri-arrow-down-s-line" aria-hidden="true"></i>
</summary>
<nav
class="docs_toc_nav"
aria-label="Mobile table of contents"
data-docs-toc-mobile
></nav>
</details>
</aside>
<div class="docs_layout">
<aside class="docs_sidebar" aria-labelledby="docs-sidebar-title">
<div class="docs_sidebar_card">
<p class="docs_sidebar_eyebrow">Documentation</p>
<h2 class="docs_sidebar_title" id="docs-sidebar-title">Browse</h2>
<nav
class="docs_sidebar_nav"
aria-label="Desktop sidebar navigation"
data-docs-sidebar-desktop
></nav>
</div>
</aside>
<article class="markdown-body" data-docs-content>
<h2 id="sidebar-structure">Sidebar structure</h2>
<p>
The left rail is now driven by a shared configuration in the main
script. Each group defines a label and a set of pages, which keeps
navigation stable even when the content headings change.
</p>
<h3 id="group-labels">Group labels</h3>
<p>
Use short, durable labels such as Guide, Reference, or API. These
should describe clusters of pages rather than temporary article
topics.
</p>
<h2 id="layout-breakpoints">Layout breakpoints</h2>
<p>
The docs shell now behaves in three layers: a stacked mobile layout,
a two-column desktop layout with the left sidebar, and a
three-column wide layout that restores the right-hand table of
contents.
</p>
<h3 id="desktop-behavior">Desktop behavior</h3>
<ul>
<li>The left sidebar becomes sticky at large breakpoints.</li>
<li>The right TOC returns only on wider screens.</li>
<li>
The active page remains highlighted while section links track
scroll.
</li>
</ul>
<h2 id="theme-hooks">Theme hooks</h2>
<p>
The sidebar and TOC both inherit the existing color tokens, which
keeps light and dark mode behavior centralized in the same CSS
custom properties already used across the site.
</p>
</article>
<aside class="docs_toc" aria-labelledby="docs-toc-title">
<div class="docs_toc_card">
<h2 class="docs_toc_title" id="docs-toc-title">On this page</h2>
<nav
class="docs_toc_nav"
aria-label="Desktop table of contents"
data-docs-toc-desktop
></nav>
</div>
</aside>
</div>
</div>
<footer class="site_footer">
<div class="footer_meta">
<p>© 2026 StudioFrame. Built for responsive product experiences.</p>
<a href="#">Privacy policy</a>
</div>
</footer>
<script src="main.js"></script>
</body>
</html>