arsxy-theme 1.0.0.pre.rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +166 -0
  4. data/_config.yml +131 -0
  5. data/_includes/footer.html +45 -0
  6. data/_includes/header.html +68 -0
  7. data/_includes/image.html +8 -0
  8. data/_includes/related-posts.html +83 -0
  9. data/_includes/search.html +32 -0
  10. data/_includes/social-sharing.html +86 -0
  11. data/_includes/toc.html +83 -0
  12. data/_layouts/default.html +76 -0
  13. data/_layouts/docs.html +90 -0
  14. data/_layouts/home.html +172 -0
  15. data/_layouts/post.html +114 -0
  16. data/_sass/_base.scss +264 -0
  17. data/_sass/_dark-mode.scss +749 -0
  18. data/_sass/_layout.scss +118 -0
  19. data/_sass/_responsive.scss +157 -0
  20. data/_sass/_syntax-highlighting.scss +147 -0
  21. data/_sass/_typography.scss +226 -0
  22. data/_sass/_utilities.scss +138 -0
  23. data/_sass/_variables.scss +63 -0
  24. data/_sass/components/_code.scss +245 -0
  25. data/_sass/components/_docs.scss +263 -0
  26. data/_sass/components/_footer.scss +170 -0
  27. data/_sass/components/_header.scss +313 -0
  28. data/_sass/components/_homepage.scss +597 -0
  29. data/_sass/components/_image.scss +22 -0
  30. data/_sass/components/_pagination.scss +146 -0
  31. data/_sass/components/_post.scss +1039 -0
  32. data/_sass/components/_related-posts.scss +70 -0
  33. data/_sass/components/_search.scss +276 -0
  34. data/_sass/components/_social-sharing.scss +95 -0
  35. data/_sass/components/_toc.scss +193 -0
  36. data/assets/css/main.scss +24 -0
  37. data/assets/images/favicon/android-chrome-192x192.png +0 -0
  38. data/assets/images/favicon/android-chrome-512x512.png +0 -0
  39. data/assets/images/favicon/apple-touch-icon.png +0 -0
  40. data/assets/images/favicon/favicon-16x16.png +0 -0
  41. data/assets/images/favicon/favicon-32x32.png +0 -0
  42. data/assets/images/favicon/favicon.ico +0 -0
  43. data/assets/images/favicon/site.webmanifest +19 -0
  44. data/assets/images/new-features-update.svg +58 -0
  45. data/assets/images/related-posts-example.svg +37 -0
  46. data/assets/images/seo-optimization.png +0 -0
  47. data/assets/images/social-sharing-sample.png +0 -0
  48. data/assets/images/ss-arsxy-theme.png +0 -0
  49. data/assets/images/table-of-content-thumbnail.png +0 -0
  50. data/assets/images/theme-demo-2.jpeg +0 -0
  51. data/assets/images/theme-demo.jpeg +0 -0
  52. data/assets/images/welcome-to-arsxy-theme.png +0 -0
  53. data/assets/js/main.js +369 -0
  54. data/assets/js/search-index.json +31 -0
  55. data/assets/js/search.js +207 -0
  56. metadata +226 -0
@@ -0,0 +1,138 @@
1
+ /* Utility classes */
2
+
3
+ /* Spacing utilities */
4
+ @each $name, $size in (
5
+ 'xs': $spacing-xs,
6
+ 'sm': $spacing-sm,
7
+ 'md': $spacing-md,
8
+ 'lg': $spacing-lg,
9
+ 'xl': $spacing-xl
10
+ ) {
11
+ .mt-#{$name} { margin-top: $size !important; }
12
+ .mb-#{$name} { margin-bottom: $size !important; }
13
+ .ml-#{$name} { margin-left: $size !important; }
14
+ .mr-#{$name} { margin-right: $size !important; }
15
+ .mx-#{$name} { margin-left: $size !important; margin-right: $size !important; }
16
+ .my-#{$name} { margin-top: $size !important; margin-bottom: $size !important; }
17
+ .m-#{$name} { margin: $size !important; }
18
+
19
+ .pt-#{$name} { padding-top: $size !important; }
20
+ .pb-#{$name} { padding-bottom: $size !important; }
21
+ .pl-#{$name} { padding-left: $size !important; }
22
+ .pr-#{$name} { padding-right: $size !important; }
23
+ .px-#{$name} { padding-left: $size !important; padding-right: $size !important; }
24
+ .py-#{$name} { padding-top: $size !important; padding-bottom: $size !important; }
25
+ .p-#{$name} { padding: $size !important; }
26
+ }
27
+
28
+ /* Text alignment */
29
+ .text-left { text-align: left !important; }
30
+ .text-center { text-align: center !important; }
31
+ .text-right { text-align: right !important; }
32
+ .text-justify { text-align: justify !important; }
33
+
34
+ /* Display utilities */
35
+ .d-block { display: block !important; }
36
+ .d-inline { display: inline !important; }
37
+ .d-inline-block { display: inline-block !important; }
38
+ .d-flex { display: flex !important; }
39
+ .d-grid { display: grid !important; }
40
+ .d-none { display: none !important; }
41
+
42
+ /* Flex utilities */
43
+ .flex-row { flex-direction: row !important; }
44
+ .flex-column { flex-direction: column !important; }
45
+ .flex-wrap { flex-wrap: wrap !important; }
46
+ .flex-nowrap { flex-wrap: nowrap !important; }
47
+ .justify-content-start { justify-content: flex-start !important; }
48
+ .justify-content-end { justify-content: flex-end !important; }
49
+ .justify-content-center { justify-content: center !important; }
50
+ .justify-content-between { justify-content: space-between !important; }
51
+ .justify-content-around { justify-content: space-around !important; }
52
+ .align-items-start { align-items: flex-start !important; }
53
+ .align-items-end { align-items: flex-end !important; }
54
+ .align-items-center { align-items: center !important; }
55
+ .align-items-baseline { align-items: baseline !important; }
56
+ .align-items-stretch { align-items: stretch !important; }
57
+
58
+ /* Text utilities */
59
+ .text-primary { color: $primary-color !important; }
60
+ .text-secondary { color: $secondary-color !important; }
61
+ .text-muted { color: $dark-gray !important; }
62
+ .text-white { color: white !important; }
63
+ .font-weight-normal { font-weight: normal !important; }
64
+ .font-weight-bold { font-weight: 600 !important; }
65
+ .font-italic { font-style: italic !important; }
66
+ .text-decoration-none { text-decoration: none !important; }
67
+ .text-transform-uppercase { text-transform: uppercase !important; }
68
+ .text-transform-lowercase { text-transform: lowercase !important; }
69
+ .text-transform-capitalize { text-transform: capitalize !important; }
70
+
71
+ /* Background utilities */
72
+ .bg-primary { background-color: $primary-color !important; }
73
+ .bg-secondary { background-color: $secondary-color !important; }
74
+ .bg-light { background-color: $light-gray !important; }
75
+ .bg-white { background-color: white !important; }
76
+
77
+ /* Border utilities */
78
+ .border { border: 1px solid $border-color !important; }
79
+ .border-top { border-top: 1px solid $border-color !important; }
80
+ .border-right { border-right: 1px solid $border-color !important; }
81
+ .border-bottom { border-bottom: 1px solid $border-color !important; }
82
+ .border-left { border-left: 1px solid $border-color !important; }
83
+ .border-0 { border: 0 !important; }
84
+ .rounded { border-radius: $border-radius !important; }
85
+ .rounded-sm { border-radius: $border-radius-sm !important; }
86
+ .rounded-lg { border-radius: $border-radius-lg !important; }
87
+ .rounded-circle { border-radius: 50% !important; }
88
+
89
+ /* Width and height utilities */
90
+ .w-100 { width: 100% !important; }
91
+ .w-75 { width: 75% !important; }
92
+ .w-50 { width: 50% !important; }
93
+ .w-25 { width: 25% !important; }
94
+ .h-100 { height: 100% !important; }
95
+ .h-75 { height: 75% !important; }
96
+ .h-50 { height: 50% !important; }
97
+ .h-25 { height: 25% !important; }
98
+
99
+ /* Position utilities */
100
+ .position-relative { position: relative !important; }
101
+ .position-absolute { position: absolute !important; }
102
+ .position-fixed { position: fixed !important; }
103
+ .position-sticky { position: sticky !important; }
104
+
105
+ /* Responsive visibility */
106
+ @media (max-width: $on-palm) {
107
+ .hide-on-mobile { display: none !important; }
108
+ }
109
+
110
+ @media (min-width: $on-palm) and (max-width: $on-laptop) {
111
+ .hide-on-tablet { display: none !important; }
112
+ }
113
+
114
+ @media (min-width: $on-laptop) {
115
+ .hide-on-desktop { display: none !important; }
116
+ }
117
+
118
+ /* Clearfix */
119
+ .clearfix {
120
+ &::after {
121
+ display: block;
122
+ clear: both;
123
+ content: "";
124
+ }
125
+ }
126
+
127
+ /* Screen reader only */
128
+ .sr-only {
129
+ position: absolute;
130
+ width: 1px;
131
+ height: 1px;
132
+ padding: 0;
133
+ margin: -1px;
134
+ overflow: hidden;
135
+ clip: rect(0, 0, 0, 0);
136
+ white-space: nowrap;
137
+ border: 0;
138
+ }
@@ -0,0 +1,63 @@
1
+ // Colors
2
+ $primary-color: #3273dc; // Modern blue
3
+ $primary-color-rgb: 50, 115, 220; // RGB values for primary color
4
+ $secondary-color: #00d1b2; // Teal accent
5
+ $accent-color: #ff5c8d; // Eye-catching pink accent
6
+ $text-color: #2c3e50; // Softer than pure black
7
+ $background-color: #ffffff;
8
+ $light-gray: #f9fafb; // Lighter background
9
+ $gray: #e0e3e8;
10
+ $dark-gray: #8c9bab;
11
+ $code-background: #f0f4f8;
12
+ $link-color: $primary-color;
13
+ $link-hover-color: $accent-color;
14
+ $border-color: #edf2f7;
15
+ $success-color: #48c774;
16
+ $warning-color: #ffdd57;
17
+ $danger-color: #ff3860;
18
+
19
+ // Typography
20
+ $base-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
21
+ $code-font-family: 'JetBrains Mono', 'Courier New', monospace;
22
+ $base-font-size: 18px;
23
+ $small-font-size: 16px;
24
+ $smaller-font-size: 14px;
25
+ $base-line-height: 1.7;
26
+ $heading-line-height: 1.3;
27
+
28
+ // Spacing
29
+ $spacing-unit: 30px;
30
+ $spacing-xs: $spacing-unit * 0.25;
31
+ $spacing-sm: $spacing-unit * 0.5;
32
+ $spacing-md: $spacing-unit;
33
+ $spacing-lg: $spacing-unit * 1.5;
34
+ $spacing-xl: $spacing-unit * 2;
35
+
36
+ // Layout
37
+ $content-width: 800px;
38
+ $on-palm: 600px;
39
+ $on-laptop: 900px;
40
+ $on-large: 1200px;
41
+
42
+ // Border Radius
43
+ $border-radius: 8px; // More modern, slightly rounded corners
44
+ $border-radius-sm: 4px;
45
+ $border-radius-lg: 12px;
46
+
47
+ // Shadows
48
+ $shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
49
+ $shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
50
+ $shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);
51
+
52
+ // Transitions
53
+ $transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
54
+ $transition-fast: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
55
+ $transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
56
+
57
+ // Dark mode colors
58
+ $dark-background: #0f172a; // Dark blue-gray background
59
+ $dark-surface: #1e293b; // Slightly lighter surface
60
+ $dark-text-color: #e2e8f0;
61
+ $dark-border-color: #334155;
62
+ $dark-code-background: #1e293b;
63
+ $dark-gray-light: #64748b;
@@ -0,0 +1,245 @@
1
+ /* Code block styles */
2
+ .code-block {
3
+ margin-bottom: $spacing-lg;
4
+ position: relative;
5
+
6
+ pre {
7
+ margin: 0;
8
+ padding: $spacing-md;
9
+ background-color: $code-background;
10
+ border-radius: $border-radius;
11
+ overflow-x: auto;
12
+ font-family: $code-font-family;
13
+ font-size: 0.9rem;
14
+ line-height: 1.6;
15
+ box-shadow: $shadow-md;
16
+ border: none;
17
+
18
+ code {
19
+ background: none;
20
+ padding: 0;
21
+ font-size: inherit;
22
+ color: inherit;
23
+ border: none;
24
+ display: block;
25
+ }
26
+ }
27
+
28
+ &::before {
29
+ content: attr(data-language);
30
+ position: absolute;
31
+ top: 0;
32
+ right: $spacing-sm;
33
+ background: linear-gradient(to right, $secondary-color, $accent-color);
34
+ color: white;
35
+ font-size: 0.7rem;
36
+ font-weight: bold;
37
+ padding: 0.2rem 0.7rem;
38
+ border-radius: 0 0 $border-radius-sm $border-radius-sm;
39
+ text-transform: uppercase;
40
+ z-index: 10;
41
+ font-family: $base-font-family;
42
+ letter-spacing: 0.5px;
43
+ }
44
+ }
45
+
46
+ /* Terminal output style */
47
+ .language-terminal pre {
48
+ background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
49
+ color: #f8f8f2;
50
+ border: 1px solid #444;
51
+
52
+ &::before {
53
+ content: '';
54
+ position: absolute;
55
+ top: 0.8rem;
56
+ left: 1rem;
57
+ width: 0.75rem;
58
+ height: 0.75rem;
59
+ background-color: #ff5f56;
60
+ border-radius: 50%;
61
+ box-shadow:
62
+ 1.3rem 0 0 0 #ffbd2e,
63
+ 2.6rem 0 0 0 #27c93f;
64
+ }
65
+ }
66
+
67
+ /* Filename header for code blocks */
68
+ .code-filename {
69
+ display: block;
70
+ background: linear-gradient(to right, rgba($primary-color, 0.05), rgba($secondary-color, 0.05));
71
+ border-top-left-radius: $border-radius;
72
+ border-top-right-radius: $border-radius;
73
+ padding: $spacing-sm $spacing-md;
74
+ font-family: $code-font-family;
75
+ font-size: 0.85rem;
76
+ color: $secondary-color;
77
+ border: none;
78
+ border-bottom: 1px dashed rgba($border-color, 0.5);
79
+ font-weight: 500;
80
+
81
+ &::before {
82
+ content: '📁';
83
+ margin-right: $spacing-xs;
84
+ opacity: 0.8;
85
+ }
86
+
87
+ + pre {
88
+ border-top-left-radius: 0;
89
+ border-top-right-radius: 0;
90
+ margin-top: 0;
91
+ }
92
+ }
93
+
94
+ /* Line numbers for code blocks */
95
+ .line-numbers {
96
+ pre {
97
+ counter-reset: line;
98
+ padding-left: 4rem;
99
+
100
+ .line {
101
+ display: inline-block;
102
+ width: 100%;
103
+ position: relative;
104
+
105
+ &::before {
106
+ counter-increment: line;
107
+ content: counter(line);
108
+ position: absolute;
109
+ left: -3rem;
110
+ top: 0;
111
+ color: rgba($dark-gray, 0.5);
112
+ text-align: right;
113
+ width: 2rem;
114
+ font-size: 0.85em;
115
+ user-select: none;
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ /* Code block with highlighted lines */
122
+ .highlight-line {
123
+ background: linear-gradient(to right, rgba($accent-color, 0.1), rgba($accent-color, 0.05));
124
+ display: block;
125
+ margin: 0 -$spacing-md;
126
+ padding: 0 $spacing-md;
127
+ border-left: 3px solid $accent-color;
128
+ }
129
+
130
+ /* Commands in code blocks */
131
+ .command-line-prompt {
132
+ border-right: 1px solid rgba($border-color, 0.5);
133
+ display: block;
134
+ float: left;
135
+ font-size: 100%;
136
+ letter-spacing: -1px;
137
+ margin-right: $spacing-sm;
138
+ pointer-events: none;
139
+ user-select: none;
140
+
141
+ > span {
142
+ position: relative;
143
+
144
+ &:before {
145
+ color: rgba($dark-gray, 0.7);
146
+ content: " ";
147
+ display: block;
148
+ padding-right: 0.8em;
149
+ }
150
+ }
151
+
152
+ > span[data-prompt]:before {
153
+ content: attr(data-prompt);
154
+ }
155
+
156
+ > span[data-user]:before {
157
+ content: attr(data-user);
158
+ color: rgba($secondary-color, 0.8);
159
+ }
160
+
161
+ > span[data-host]:before {
162
+ content: attr(data-host);
163
+ color: rgba($accent-color, 0.8);
164
+ }
165
+ }
166
+
167
+ /* Copy code button */
168
+ .copy-code-button {
169
+ position: absolute;
170
+ right: $spacing-sm;
171
+ top: $spacing-sm;
172
+ display: inline-flex;
173
+ align-items: center;
174
+ justify-content: center;
175
+ padding: 0.3rem 0.8rem;
176
+ font-size: 0.75rem;
177
+ color: white;
178
+ background-color: rgba(0, 0, 0, 0.3); /* Lighter background */
179
+ border: none;
180
+ border-radius: $border-radius;
181
+ cursor: pointer;
182
+ opacity: 0.7; /* Make button visible by default */
183
+ transform: translateY(0); /* No initial transform */
184
+ transition: $transition-base;
185
+ z-index: 2;
186
+ font-weight: 500;
187
+ box-shadow: $shadow-sm;
188
+
189
+ &::before {
190
+ content: '📋';
191
+ margin-right: 0.3rem;
192
+ }
193
+
194
+ &:hover {
195
+ background-color: rgba(0, 0, 0, 0.7); /* Darker on hover */
196
+ color: white; /* Ensure text remains white on hover */
197
+ box-shadow: $shadow-md;
198
+ transform: translateY(-2px);
199
+ opacity: 1; /* Full opacity on hover */
200
+ }
201
+
202
+ &.copied {
203
+ background: linear-gradient(to right, $success-color, darken($success-color, 10%));
204
+ opacity: 1;
205
+
206
+ &::before {
207
+ content: '✓';
208
+ }
209
+ }
210
+ }
211
+
212
+ /* Syntax highlighting improvements */
213
+ .highlight {
214
+ .c, .c1, .cm { color: #6c8998; font-style: italic; } /* Comment */
215
+ .k, .kd, .kr { color: #569CD6; font-weight: bold; } /* Keyword */
216
+ .o { color: #d4d4d4; } /* Operator */
217
+ .s, .s1, .s2 { color: #CE9178; } /* String */
218
+ .nb { color: #569CD6; } /* Built-in */
219
+ .nc { color: #4EC9B0; } /* Class */
220
+ .nf { color: #DCDCAA; } /* Function */
221
+ .nn { color: #4EC9B0; } /* Namespace */
222
+ .nt { color: #569CD6; } /* Tag */
223
+ .nv { color: #9CDCFE; } /* Variable */
224
+ .mi, .mf { color: #B5CEA8; } /* Number */
225
+ .err { color: #F44747; background-color: transparent; } /* Error */
226
+ }
227
+
228
+ /* Diff syntax highlighting */
229
+ .language-diff {
230
+ .gd {
231
+ background-color: rgba($danger-color, 0.2);
232
+ color: $danger-color;
233
+ display: block;
234
+ margin: 0 -$spacing-md;
235
+ padding: 0 $spacing-md;
236
+ }
237
+
238
+ .gi {
239
+ background-color: rgba($success-color, 0.2);
240
+ color: darken($success-color, 10%);
241
+ display: block;
242
+ margin: 0 -$spacing-md;
243
+ padding: 0 $spacing-md;
244
+ }
245
+ }
@@ -0,0 +1,263 @@
1
+ // Documentation styles
2
+ .docs-container {
3
+ display: flex;
4
+ flex-direction: row;
5
+ gap: 2rem;
6
+ max-width: var(--container-width);
7
+ margin: 0 auto;
8
+ padding: 2rem 1rem;
9
+ position: relative; // Add position context for absolute children
10
+ min-height: calc(100vh - 4rem); // Full viewport height minus padding
11
+
12
+ @media (max-width: 768px) {
13
+ flex-direction: column;
14
+ min-height: auto;
15
+ }
16
+ }
17
+
18
+ .docs-content {
19
+ flex: 1;
20
+ min-width: 0; // Fixes text overflowing flexbox in some cases
21
+ }
22
+
23
+ .docs-article {
24
+ width: 100%;
25
+ }
26
+
27
+ .docs-header {
28
+ margin-bottom: 2rem;
29
+ padding-top: 0; // Remove the top padding
30
+ }
31
+
32
+ .docs-title {
33
+ font-size: 2.5rem;
34
+ margin-bottom: 0.5rem;
35
+ margin-top: 0; // Ensure no top margin
36
+
37
+ @media (max-width: 768px) {
38
+ font-size: 2rem;
39
+ }
40
+ }
41
+
42
+ .docs-description {
43
+ font-size: 1.2rem;
44
+ color: var(--light-text-color);
45
+ margin-top: 0.5rem;
46
+ }
47
+
48
+ .docs-body {
49
+ font-size: 1.05rem;
50
+ line-height: 1.7;
51
+
52
+ h2 {
53
+ font-size: 1.75rem;
54
+ margin: 2rem 0 1rem;
55
+ padding-bottom: 0.3rem;
56
+ border-bottom: 1px solid var(--border-color);
57
+ }
58
+
59
+ h3 {
60
+ font-size: 1.4rem;
61
+ margin: 1.5rem 0 1rem;
62
+ }
63
+
64
+ h4 {
65
+ font-size: 1.2rem;
66
+ margin: 1.5rem 0 0.75rem;
67
+ }
68
+
69
+ p, ul, ol {
70
+ margin-bottom: 1.2rem;
71
+ }
72
+
73
+ ul, ol {
74
+ padding-left: 1.5rem;
75
+
76
+ li {
77
+ margin-bottom: 0.5rem;
78
+ }
79
+ }
80
+
81
+ pre {
82
+ margin: 1.5rem 0;
83
+ border-radius: 0.5rem;
84
+ }
85
+
86
+ img {
87
+ max-width: 100%;
88
+ border-radius: 0.5rem;
89
+ margin: 1.5rem 0;
90
+ }
91
+
92
+ .highlight {
93
+ border-radius: 0.5rem;
94
+ }
95
+ }
96
+
97
+ // Sidebar styles
98
+ .docs-sidebar {
99
+ width: 260px;
100
+ flex-shrink: 0;
101
+ position: sticky;
102
+ top: 2rem;
103
+ height: calc(100vh - 4rem); // Full viewport height minus top spacing
104
+ overflow-y: auto; // Enable scrolling
105
+ scrollbar-width: thin; // Sleeker scrollbar for Firefox
106
+
107
+ // Custom scrollbar for webkit browsers
108
+ &::-webkit-scrollbar {
109
+ width: 6px;
110
+ }
111
+
112
+ &::-webkit-scrollbar-track {
113
+ background: transparent;
114
+ }
115
+
116
+ &::-webkit-scrollbar-thumb {
117
+ background-color: var(--border-color);
118
+ border-radius: 6px;
119
+ }
120
+
121
+ // Better scrolling UX
122
+ -webkit-overflow-scrolling: touch; // Smooth scrolling on iOS
123
+ overscroll-behavior: contain; // Prevent scroll chaining
124
+
125
+ @media (max-width: 768px) {
126
+ width: 100%;
127
+ position: relative;
128
+ top: 0;
129
+ height: auto;
130
+ max-height: 70vh; // Limit height on mobile but still allow scrolling
131
+ margin-top: 2rem;
132
+ margin-bottom: 0;
133
+ order: 2;
134
+ }
135
+ }
136
+
137
+ .docs-nav {
138
+ padding: 0.75rem 1rem 2rem; // Add more padding at the bottom
139
+ background: var(--light-bg-color);
140
+ border-radius: 0.5rem;
141
+ position: relative; // For proper stacking
142
+
143
+ .dark-mode & {
144
+ background: var(--dark-code-bg);
145
+ }
146
+ }
147
+
148
+ .docs-nav-title {
149
+ font-size: 1.2rem;
150
+ margin-top: 0;
151
+ margin-bottom: 1.2rem;
152
+ padding-bottom: 0.5rem;
153
+ padding-top: 0; // Remove the padding-top completely
154
+ line-height: 1.2; // Adjust line height to match the main title
155
+ border-bottom: 1px solid var(--border-color);
156
+ }
157
+
158
+ .docs-nav-list {
159
+ list-style: none;
160
+ padding: 0;
161
+ margin: 0;
162
+
163
+ & > li {
164
+ margin-bottom: 0.75rem;
165
+
166
+ & > a {
167
+ display: block;
168
+ padding: 0.4rem 0;
169
+ color: var(--text-color);
170
+ text-decoration: none;
171
+ font-weight: 500;
172
+ border-radius: 0.25rem;
173
+
174
+ &:hover {
175
+ color: var(--primary-color);
176
+ }
177
+
178
+ &.active {
179
+ color: var(--primary-color);
180
+ font-weight: 600;
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ .docs-section {
187
+ margin-bottom: 1rem;
188
+ }
189
+
190
+ .docs-section-title {
191
+ display: block;
192
+ font-weight: 600;
193
+ margin: 1.25rem 0 0.5rem;
194
+ font-size: 0.9rem;
195
+ text-transform: uppercase;
196
+ letter-spacing: 0.05em;
197
+ color: var(--light-text-color);
198
+ }
199
+
200
+ .docs-section-items {
201
+ list-style: none;
202
+ padding-left: 0.5rem;
203
+ margin: 0.5rem 0 1rem;
204
+
205
+ li {
206
+ margin-bottom: 0.25rem;
207
+ }
208
+
209
+ a {
210
+ display: block;
211
+ padding: 0.3rem 0.5rem;
212
+ color: var(--text-color);
213
+ text-decoration: none;
214
+ border-radius: 0.25rem;
215
+ font-size: 0.95rem;
216
+
217
+ &:hover {
218
+ background: rgba(0, 0, 0, 0.05);
219
+ color: var(--primary-color);
220
+
221
+ .dark-mode & {
222
+ background: rgba(255, 255, 255, 0.05);
223
+ }
224
+ }
225
+
226
+ &.active {
227
+ background: rgba(0, 0, 0, 0.07);
228
+ color: var(--primary-color);
229
+ font-weight: 500;
230
+
231
+ .dark-mode & {
232
+ background: rgba(255, 255, 255, 0.07);
233
+ }
234
+ }
235
+ }
236
+ }
237
+
238
+ // Dark mode support
239
+ .dark-mode {
240
+ .docs-description {
241
+ color: var(--dark-text-color);
242
+ opacity: 0.8;
243
+ }
244
+
245
+ .docs-nav {
246
+ background: var(--dark-code-bg);
247
+ }
248
+
249
+ .docs-section-title {
250
+ color: var(--dark-text-color);
251
+ opacity: 0.7;
252
+ }
253
+
254
+ .docs-nav-list > li > a,
255
+ .docs-section-items a {
256
+ color: var(--dark-text-color);
257
+
258
+ &:hover,
259
+ &.active {
260
+ color: var(--dark-link-color);
261
+ }
262
+ }
263
+ }