-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
299 lines (251 loc) · 4.91 KB
/
custom.css
File metadata and controls
299 lines (251 loc) · 4.91 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
/* Holochain Custom Theme - Based on slides style */
/* Typography */
html, body {
font-family: 'Helvetica', 'Arial', sans-serif;
line-height: 1.6;
color: #333333;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 500;
color: #5d8392; /* Primary Holochain color from slides */
margin-top: 1.5em;
margin-bottom: 0.8em;
}
h1 {
font-size: 2.2em;
border-bottom: 1px solid #e5e5e5;
padding-bottom: 0.3em;
}
h2 {
font-size: 1.8em;
}
h3 {
font-size: 1.5em;
}
/* Links */
a {
color: #5d8392;
text-decoration: none;
}
a:hover {
color: #7ba8b8;
text-decoration: underline;
}
/* Navigation and sidebar */
.sidebar {
background-color: #f5f7f9;
width: 300px;
position: fixed;
top: 0;
bottom: 0;
left: 0;
overflow-y: auto;
}
.sidebar .sidebar-scrollbox {
padding: 10px 10px 10px 20px;
overflow-y: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.sidebar h2 {
margin-top: 1.5em;
margin-bottom: 0.5em;
}
.chapter li.chapter-item {
line-height: 1.5;
margin-top: 0.4em;
padding-left: 0;
}
.chapter li a.active {
color: #5d8392;
font-weight: bold;
}
.chapter ul {
padding-left: 1em;
margin: 0;
}
/* Content */
.content {
padding: 0 30px;
max-width: 750px;
margin: 0 auto;
}
#content {
margin-top: 0;
}
.page-wrapper {
position: absolute;
top: 0;
left: 300px;
right: 0;
bottom: 0;
overflow-y: auto;
box-sizing: border-box;
}
.page {
margin-top: 0;
padding-top: 0;
}
.content main {
margin: 30px 0;
line-height: 1.7;
}
.content p {
margin: 0 0 1em 0;
}
.content main p {
line-height: 1.7;
}
/* Code blocks */
code {
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace;
font-size: 0.9em;
background-color: #f7f7f7;
padding: 0.1em 0.3em;
border-radius: 3px;
}
pre {
padding: 1em;
background-color: #f7f7f7;
border-radius: 5px;
margin: 1em 0;
overflow-x: auto;
}
pre > code {
background-color: transparent;
padding: 0;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
}
table th {
background-color: #f2f7f9;
border: 1px solid #ddd;
padding: 0.5em;
text-align: left;
}
table td {
border: 1px solid #ddd;
padding: 0.5em;
}
/* Blockquotes */
blockquote {
margin: 1em 0;
padding: 0.5em 1em;
border-left: 4px solid #5d8392;
background-color: #f5f7f9;
}
/* Navigation buttons */
.nav-chapters {
color: #5d8392;
font-weight: bold;
}
/* Header styling */
.menu-bar {
height: 50px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e5e5e5;
padding: 0 15px;
background-color: #ffffff;
position: sticky;
top: 0;
z-index: 10;
}
/* Logo styling */
.menu-title {
font-size: 1.3em;
font-weight: bold;
color: #5d8392;
display: flex;
align-items: center;
}
.menu-title::before {
content: "";
background-image: url('theme/logo.svg');
background-size: contain;
background-repeat: no-repeat;
width: 30px;
height: 30px;
display: inline-block;
margin-right: 10px;
}
/* Button styling */
.icon-button {
background: none;
border: none;
padding: 5px 10px;
color: #555;
cursor: pointer;
}
.icon-button:hover {
color: #5d8392;
}
/* Search box styling */
#searchbar {
border: 1px solid #ccc;
border-radius: 3px;
padding: 5px 10px;
background-color: #f7f7f7;
}
#searchbar:focus {
outline: none;
border-color: #5d8392;
}
/* Dark theme overrides */
.ayu, .coal, .navy {
background-color: #2c2c2c;
color: #ddd;
}
.ayu .sidebar, .coal .sidebar, .navy .sidebar {
background-color: #252525;
}
.ayu .content, .coal .content, .navy .content {
background-color: #2c2c2c;
}
.ayu .menu-bar, .coal .menu-bar, .navy .menu-bar {
background-color: #252525;
border-bottom-color: #444;
}
.ayu pre, .ayu code, .coal pre, .coal code, .navy pre, .navy code {
background-color: #333;
}
.ayu table th, .coal table th, .navy table th {
background-color: #333;
}
.ayu table td, .ayu table th, .coal table td, .coal table th, .navy table td, .navy table th {
border-color: #555;
}
.ayu .nav-chapters, .coal .nav-chapters, .navy .nav-chapters {
color: #ddd;
}
.ayu h1, .ayu h2, .ayu h3, .ayu h4, .ayu h5,
.coal h1, .coal h2, .coal h3, .coal h4, .coal h5,
.navy h1, .navy h2, .navy h3, .navy h4, .navy h5 {
color: #8eafbf;
}
.ayu #searchbar, .coal #searchbar, .navy #searchbar {
background-color: #333;
color: #ddd;
border-color: #555;
}
.ayu .menu-title, .coal .menu-title, .navy .menu-title {
color: #8eafbf;
}
.ayu a, .coal a, .navy a {
color: #8eafbf;
}
.ayu a:hover, .coal a:hover, .navy a:hover {
color: #a7c7d4;
}