We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1535cd commit 9a8ae3eCopy full SHA for 9a8ae3e
lib/rdoc/generator/template/darkfish/css/rdoc.css
@@ -9,6 +9,10 @@
9
/* vim: ft=css et sw=2 ts=2 sts=2 */
10
/* Base Green is: #6C8C22 */
11
12
+:root {
13
+ --sidebar-width: 300px;
14
+}
15
+
16
.hide { display: none !important; }
17
18
* { padding: 0; margin: 0; }
@@ -209,7 +213,7 @@ nav {
209
213
z-index: 10;
210
214
211
215
/* Layout */
212
- width: 300px;
216
+ width: var(--sidebar-width);
217
min-height: 100vh;
218
background: white;
219
}
@@ -226,7 +230,7 @@ main {
226
230
227
231
@media (min-width: 1024px) {
228
232
main {
229
- margin-left: 300px;
233
+ margin-left: var(--sidebar-width);
234
235
236
0 commit comments