Guides/Getting-started.md
... ...
@@ -0,0 +1,14 @@
1
+# Getting started
2
+
3
+This page is generated from `wiki/templates/getting_started.md.erb`. Edit that file (or the manifest), then run:
4
+
5
+```bash
6
+bundle exec rake wiki:generate
7
+```
8
+
9
+Commit `wiki/content/` and deploy the Gollum image (see `wiki/README.md`).
10
+
11
+## Quick links
12
+
13
+- [Home](Home)
14
+- [Guides/Website-overview](Guides/Website-overview)
Guides/Repo-layout.md
... ...
@@ -0,0 +1,16 @@
1
+# Monorepo layout
2
+
3
+The full product workspace spans several repositories under one folder. Common paths:
4
+
5
+| Project | Folder | Role |
6
+| ------- | ------ | ---- |
7
+| Web | `amascut_web/` | Rails site, Kamal deploy, Gollum wiki image |
8
+| Game server | `bano-server-218/` | Java game server |
9
+| Client | `bano-client-218/` | RuneLite-based client |
10
+
11
+
12
+## Repo files (generated)
13
+
14
+- `README.md`
15
+- `docs/README.md`
16
+- `wiki/README.md`
Guides/Website-overview.md
... ...
@@ -0,0 +1,62 @@
1
+# Website & API overview
2
+
3
+High-level map of the **Rails app** (`amascut_web`) that powers the site, credits, store, and game integration.
4
+
5
+## Key areas
6
+
7
+| Area | Path in repo |
8
+| ---- | ------------ |
9
+| HTTP routes | `config/routes.rb` |
10
+| Game-facing API | `app/controllers/api/v1/` |
11
+| Models | `app/models/` |
12
+| Background jobs | `app/jobs/` |
13
+
14
+## Auto-generated route snapshot
15
+
16
+The section below is filled by `rake wiki:generate` from the Rails route set.
17
+
18
+
19
+## Routes (generated)
20
+
21
+| Verb | Path | Controller#action |
22
+| ---- | ---- | ----------------- |
23
+| GET | `/api/v1/credits/:username` | `api/v1/credits#show` |
24
+| POST | `/api/v1/credits/:username/claim` | `api/v1/credits#claim` |
25
+| POST | `/api/v1/credits/:username/claim_all` | `api/v1/credits#claim_all` |
26
+| POST | `/api/v1/credits/:username/add` | `api/v1/credits#add` |
27
+| GET | `/api/v1/votes/leaderboard` | `api/v1/votes#leaderboard` |
28
+| GET | `/api/v1/votes/stats` | `api/v1/votes#stats` |
29
+| GET | `/api/v1/votes/:username` | `api/v1/votes#show` |
30
+| POST | `/api/v1/orders/create` | `api/v1/orders#create` |
31
+| POST | `/api/v1/orders/create_paypal` | `api/v1/orders#create_paypal` |
32
+| GET | `/api/v1/orders/:username/unclaimed` | `api/v1/orders#unclaimed` |
33
+| POST | `/api/v1/orders/:username/claim` | `api/v1/orders#claim` |
34
+| POST | `/api/v1/users` | `api/v1/users#create` |
35
+| POST | `/api/v1/users/sync_from_game` | `api/v1/users#sync_from_game` |
36
+| POST | `/api/v1/users/ban` | `api/v1/users#ban` |
37
+| POST | `/api/v1/users/unban` | `api/v1/users#unban` |
38
+| POST | `/api/v1/users/transfer_rank` | `api/v1/users#transfer_rank` |
39
+| GET | `/api/v1/ge/prices.js` | `api/v1/grand_exchange#prices` |
40
+| GET | `/api/v1/ge/item/:item_id` | `api/v1/grand_exchange#item` |
41
+| GET | `/api/v1/ge/item/:item_id/history` | `api/v1/grand_exchange#history` |
42
+| GET | `/api/v1/ge/item/:item_id/transactions` | `api/v1/grand_exchange#transactions` |
43
+| POST | `/api/v1/ge/transactions` | `api/v1/grand_exchange#create_transaction` |
44
+| GET | `/api/v1/launch_events` | `api/v1/launch_events#index` |
45
+| GET | `/api/v1/launch_events/claimable` | `api/v1/launch_events#claimable` |
46
+| POST | `/api/v1/launch_events/claim` | `api/v1/launch_events#claim` |
47
+| POST | `/api/v1/launch_events/record` | `api/v1/launch_events#record` |
48
+| POST | `/api/v1/launch_events/record_test_leaderboard` | `api/v1/launch_events#record_test_leaderboard` |
49
+| POST | `/api/v1/game_logs/online/remove` | `api/v1/game_logs#online_remove` |
50
+| POST | `/api/v1/game_logs/session` | `api/v1/game_logs#session` |
51
+| POST | `/api/v1/game_logs/player_snapshot` | `api/v1/game_logs#player_snapshot` |
52
+| POST | `/api/v1/game_logs/items` | `api/v1/game_logs#items` |
53
+| POST | `/api/v1/game_logs/trade` | `api/v1/game_logs#trade` |
54
+| POST | `/api/v1/game_logs/online` | `api/v1/game_logs#online` |
55
+| POST | `/api/v1/game_logs/player_character` | `api/v1/game_logs#player_character` |
56
+| POST | `/api/v1/game_logs/raids_unique` | `api/v1/game_logs#raids_unique` |
57
+| POST | `/api/v1/game_logs/raids_completed` | `api/v1/game_logs#raids_completed` |
58
+| POST | `/api/v1/game_logs/public_chat` | `api/v1/game_logs#public_chat` |
59
+| POST | `/api/v1/game_logs/clan_chat` | `api/v1/game_logs#clan_chat` |
60
+| POST | `/api/v1/game_logs/yell` | `api/v1/game_logs#yell` |
61
+| POST | `/api/v1/game_logs/private_chat` | `api/v1/game_logs#private_chat` |
62
+| POST | `/api/v1/game_logs/command` | `api/v1/game_logs#command` |
Home.md
... ...
@@ -6,20 +6,20 @@ Welcome to the **player-run knowledge base** for the server: mechanics, guides,
6 6
7 7
## Start here
8 8
9
-- [Getting-started](Getting-started) — first steps (expand this page anytime).
9
+- [Guides/Getting-started](Guides/Getting-started) — first steps.
10 10
- Use the **search box** in the top bar (and **All pages** in the header menu) to find or start articles.
11 11
12 12
## Editing
13 13
14
-- Click **Edit** on any page. Changes are real **git commits** in the wiki repository (stored on the server volume).
15
-- Markdown, links like `[Page-name](Page-name)`, and images are supported. See [GitHub Flavored Markdown](https://github.github.com/gfm/).
14
+- **Production:** The public wiki is **read-only**. To propose a change, create an account on **[amascut.com](https://amascut.com)** and use **Submit / edit** from the site wiki section (`/wiki/new`). An **admin must approve** your submission before it appears under **Contributions/…** on this wiki.
15
+- **Staff:** Manifest pages (**Home**, **Guides/**, etc.) are updated from the `amascut_web` git repo and Docker image (see `wiki/README.md`).
16 16
17 17
## Suggested topics
18 18
19
-| Area | What to add |
20
-| --------------- | ------------------------------------------------ |
21
-| Skills & training | Rates, metas, tick tips |
22
-| Bosses & raids | Mechanics, gear tiers, drops |
23
-| Quests & areas | Requirements, rewards, walkthrough stubs |
19
+| Area | What to add |
20
+| ---- | ----------- |
21
+| Skills & training | Rates, metas, tick tips |
22
+| Bosses & raids | Mechanics, gear tiers, drops |
23
+| Quests & areas | Requirements, rewards, walkthrough stubs |
24 24
25 25
Pick one stub, write a short page, and link it from here — that is how wikis grow.
_Sidebar.md
... ...
@@ -1,4 +1,8 @@
1 1
**Navigation**
2 2
3
-- [Home](Home)
4
-- [Getting-started](Getting-started)
3
+- [Amascut Wiki](Home)
4
+
5
+**Guides**
6
+- [Getting started](Guides/Getting-started)
7
+- [Website & API overview](Guides/Website-overview)
8
+- [Monorepo layout](Guides/Repo-layout)
custom.css
... ...
@@ -1,104 +1,546 @@
1
-/* Amascut dark wiki chrome — injected via `gollum --css` */
1
+/*
2
+ * Gollum wiki — derived from totoroot/gollum-dracula-theme (Codeberg).
3
+ * Upstream: https://codeberg.org/totoroot/gollum-dracula-theme
4
+ * Raw CSS: https://codeberg.org/totoroot/gollum-dracula-theme/raw/branch/main/custom.css
5
+ *
6
+ * Modifications: Amascut palette remaps, Primer/design-token overrides for Gollum 6,
7
+ * editor help contrast fix, and appendix for stubborn light panels (tables/history/modals).
8
+ */
9
+
2 10
:root {
11
+ /* Amascut palette */
12
+ --amascut-bg-deep: #0c0f14;
13
+ --amascut-bg-panel: #1a2230;
14
+ --amascut-bg-muted: #252f3f;
15
+ --amascut-border: #3d4b63;
16
+ --amascut-foreground: #e8eaef;
17
+ --amascut-dim: #9ca8bc;
18
+ --amascut-link: #7bc5ff;
19
+ --amascut-link-visited: #c9b4ff;
20
+ --amascut-accent: #cc4757;
21
+
22
+ /* Names used by gollum-dracula-theme rules */
23
+ --background: var(--amascut-bg-deep);
24
+ --current: var(--amascut-bg-muted);
25
+ --foreground: var(--amascut-foreground);
26
+ --comment: var(--amascut-dim);
27
+ --cyan: var(--amascut-link);
28
+ --green: #6bcf8e;
29
+ --orange: #ffb86c;
30
+ --pink: var(--amascut-link);
31
+ --purple: #c9b4ff;
32
+ --red: #ff6b6b;
33
+ --yellow: #f1fa8c;
34
+ --open: var(--amascut-link);
35
+ --closed: var(--amascut-link-visited);
36
+
37
+ /* Primer / GitHub UI — without these, Gollum keeps light canvas + pale text */
3 38
color-scheme: dark;
39
+ --bgColor-default: var(--amascut-bg-deep);
40
+ --bgColor-muted: var(--amascut-bg-panel);
41
+ --bgColor-inset: #141922;
42
+ --fgColor-default: var(--amascut-foreground);
43
+ --fgColor-muted: var(--amascut-dim);
44
+ --borderColor-default: var(--amascut-border);
45
+ --color-canvas-default: var(--amascut-bg-deep);
46
+ --color-canvas-subtle: var(--amascut-bg-panel);
47
+ --color-canvas-overlay: var(--amascut-bg-muted);
48
+ --color-fg-default: var(--amascut-foreground);
49
+ --color-fg-muted: var(--amascut-dim);
50
+ --color-fg-onEmphasis: #fff;
51
+ --color-border-default: #2a3546;
52
+ --overlay-backdrop-bgColor: rgba(0, 0, 0, 0.65);
53
+}
54
+
55
+
56
+/* Colours for Syntax Highlighting */
57
+
58
+.hll, .highlight .hll { background-color: var(--background) } /* Background */
59
+.c, .highlight .c { color: var(--comment) } /* Comment */
60
+.err, .highlight .err { color: var(--foreground); border: 1px solid var(--red) } /* Error */
61
+.esc, .highlight .esc { color: var(--foreground) } /* Escape */
62
+.g, .highlight .g { color: var(--foreground) } /* Generic */
63
+.k, .highlight .k { color: var(--cyan) } /* Keyword */
64
+.l, .highlight .l { color: var(--foreground) } /* Literal */
65
+.n, .highlight .n { color: var(--foreground) } /* Name */
66
+.o, .highlight .o { color: var(--pink) } /* Operator */
67
+.x, .highlight .x { color: var(--foreground) } /* Other */
68
+.p, .highlight .p { color: var(--foreground) } /* Punctuation */
69
+.ch, .highlight .ch { color: var(--comment) } /* Comment.Hashbang */
70
+.cm, .highlight .cm { color: var(--comment) } /* Comment.Multiline */
71
+.cp, .highlight .cp { color: var(--comment) } /* Comment.Preproc */
72
+.cpf, .highlight .cpf { color: var(--comment) } /* Comment.PreprocFile */
73
+.c1, .highlight .c1 { color: var(--comment) } /* Comment.Single */
74
+.cs, .highlight .cs { color: var(--red); font-weight: bold } /* Comment.Special */
75
+.gd, .highlight .gd { color: var(--red) } /* Generic.Deleted */
76
+.ge, .highlight .ge { color: var(--foreground); font-style: italic } /* Generic.Emph */
77
+.gr, .highlight .gr { color: var(--red) } /* Generic.Error */
78
+.gh, .highlight .gh { color: var(--comment); font-weight: bold } /* Generic.Heading */
79
+.gi, .highlight .gi { color: var(--green) } /* Generic.Inserted */
80
+.go, .highlight .go { color: var(--comment) } /* Generic.Output */
81
+.gp, .highlight .gp { color: var(--comment); font-weight: bold } /* Generic.Prompt */
82
+.gs, .highlight .gs { color: var(--foreground); font-weight: bold } /* Generic.Strong */
83
+.gu, .highlight .gu { color: var(--purple); font-weight: bold } /* Generic.Subheading */
84
+.gt, .highlight .gt { color: var(--red) } /* Generic.Traceback */
85
+.kc, .highlight .kc { color: var(--cyan) } /* Keyword.Constant */
86
+.kd, .highlight .kd { color: var(--green) } /* Keyword.Declaration */
87
+.kn, .highlight .kn { color: var(--pink) } /* Keyword.Namespace */
88
+.kp, .highlight .kp { color: var(--green) } /* Keyword.Pseudo */
89
+.kr, .highlight .kr { color: var(--green) } /* Keyword.Reserved */
90
+.kt, .highlight .kt { color: var(--green) } /* Keyword.Type */
91
+.ld, .highlight .ld { color: var(--foreground) } /* Literal.Date */
92
+.m, .highlight .m { color: var(--cyan) } /* Literal.Number */
93
+.s, .highlight .s { color: var(--yellow) } /* Literal.String */
94
+.na, .highlight .na { color: var(--foreground) } /* Name.Attribute */
95
+.nb, .highlight .nb { color: var(--cyan) } /* Name.Builtin */
96
+.nc, .highlight .nc { color: var(--purple) } /* Name.Class */
97
+.no, .highlight .no { color: var(--foreground) } /* Name.Constant */
98
+.nd, .highlight .nd { color: var(--foreground) } /* Name.Decorator */
99
+.ni, .highlight .ni { color: var(--foreground) } /* Name.Entity */
100
+.ne, .highlight .ne { color: var(--yellow); font-weight: bold } /* Name.Exception */
101
+.nf, .highlight .nf { color: var(--foreground) } /* Name.Function */
102
+.nl, .highlight .nl { color: var(--foreground) } /* Name.Label */
103
+.nn, .highlight .nn { color: var(--foreground) } /* Name.Namespace */
104
+.nx, .highlight .nx { color: var(--foreground) } /* Name.Other */
105
+.py, .highlight .py { color: var(--foreground) } /* Name.Property */
106
+.nt, .highlight .nt { color: var(--foreground) } /* Name.Tag */
107
+.nv, .highlight .nv { color: var(--purple) } /* Name.Variable */
108
+.ow, .highlight .ow { color: var(--green) } /* Operator.Word */
109
+.w, .highlight .w { color: var(--foreground) } /* Text.Whitespace */
110
+.mb, .highlight .mb { color: var(--purple) } /* Literal.Number.Bin */
111
+.mf, .highlight .mf { color: var(--purple) } /* Literal.Number.Float */
112
+.mh, .highlight .mh { color: var(--purple) } /* Literal.Number.Hex */
113
+.mi, .highlight .mi { color: var(--purple) } /* Literal.Number.Integer */
114
+.mo, .highlight .mo { color: var(--purple) } /* Literal.Number.Oct */
115
+.sa, .highlight .sa { color: var(--yellow) } /* Literal.String.Affix */
116
+.sb, .highlight .sb { color: var(--yellow) } /* Literal.String.Backtick */
117
+.sc, .highlight .sc { color: var(--yellow) } /* Literal.String.Char */
118
+.dl, .highlight .dl { color: var(--yellow) } /* Literal.String.Delimiter */
119
+.sd, .highlight .sd { color: var(--yellow) } /* Literal.String.Doc */
120
+.s2, .highlight .s2 { color: var(--yellow) } /* Literal.String.Double */
121
+.se, .highlight .se { color: var(--yellow) } /* Literal.String.Escape */
122
+.sh, .highlight .sh { color: var(--yellow) } /* Literal.String.Heredoc */
123
+.si, .highlight .si { color: var(--yellow) } /* Literal.String.Interpol */
124
+.sx, .highlight .sx { color: var(--yellow) } /* Literal.String.Other */
125
+.sr, .highlight .sr { color: var(--yellow) } /* Literal.String.Regex */
126
+.s1, .highlight .s1 { color: var(--yellow) } /* Literal.String.Single */
127
+.ss, .highlight .ss { color: var(--yellow) } /* Literal.String.Symbol */
128
+.bp, .highlight .bp { color: var(--cyan) } /* Name.Builtin.Pseudo */
129
+.fm, .highlight .fm { color: var(--foreground) } /* Name.Function.Magic */
130
+.vc, .highlight .vc { color: var(--purple) } /* Name.Variable.Class */
131
+.vg, .highlight .vg { color: var(--purple) } /* Name.Variable.Global */
132
+.vi, .highlight .vi { color: var(--purple) } /* Name.Variable.Instance */
133
+.vm, .highlight .vm { color: var(--purple) } /* Name.Variable.Magic */
134
+.il, .highlight .il { color: var(--cyan) } /* Literal.Number.Integer.Long */
135
+
136
+body, html,
137
+.history h1 strong,
138
+.edit h1 strong,
139
+.results h1 strong,
140
+.compare h1 strong,
141
+.highlight,
142
+#gollum-editor textarea,
143
+#wiki-history table tr td.author a {
144
+ background-color: var(--background);
145
+ color: var(--foreground);
146
+}
147
+
148
+.markdown-body h1,
149
+.markdown-body h2,
150
+.markdown-body h3,
151
+.markdown-body h4,
152
+.markdown-body h5,
153
+.markdown-body h6 {
154
+ color: var(--purple);
155
+}
156
+
157
+.tableblock {
158
+ background-color: var(--current);
159
+}
160
+
161
+.header-title {
162
+ color: var(--foreground)
163
+}
164
+
165
+.markdown-body pre {
166
+ background-color: var(--current);
167
+}
168
+
169
+.Box,
170
+.Box-header,
171
+.Box-row {
172
+ background-color: var(--background);
173
+}
174
+
175
+/* Highlight of search results */
176
+.bg-green-light {
177
+ background-color: var(--purple) !important;
178
+ ;
179
+}
180
+
181
+.Box-row:hover {
182
+ background-color: var(--current);
183
+}
184
+
185
+/* Regular buttons */
186
+.btn {
187
+ background-color: var(--current);
188
+ color: var(--foreground);
189
+ border-color: var(--purple);
190
+}
191
+.btn:hover {
192
+ background-color: var(--background);
193
+ color: var(--foreground);
194
+ border-color: var(--purple);
195
+}
196
+
197
+/* Button with symbols */
198
+.btn.btn-outline {
199
+ background-color: var(--current);
200
+ color: var(--foreground);
201
+ border-color: var(--purple);
202
+}
203
+.btn.btn-outline:hover {
204
+ background-color: var(--background);
205
+}
206
+
207
+/* Buttons with hash in file history */
208
+.btn.btn-outline.text-mono {
209
+ background-color: var(--current);
210
+ color: var(--foreground);
211
+ border-color: var(--purple);
212
+ height: 32px;
213
+ line-height: 24px;
214
+}
215
+.btn.btn-outline.text-mono:hover {
216
+ background-color: var(--background);
217
+}
218
+
219
+
220
+.btn.primary {
221
+ background-color: var(--current);
222
+ color: var(--foreground);
223
+ border-color: var(--purple);
224
+}
225
+
226
+/* Buttons in header and footer */
227
+.btn.btn-sm {
228
+ background-color: var(--current);
229
+ color: var(--foreground);
230
+ border-color: var(--purple);
231
+ height: 32px;
232
+ line-height: 24px;
233
+}
234
+.btn.btn-sm:hover {
235
+ background-color: var(--background);
236
+}
237
+.btn.BtnGroup-item.btn-sm {
238
+ background-color: var(--current);
239
+ color: var(--foreground);
240
+ border-color: var(--purple);
241
+}
242
+.btn.BtnGroup-item.btn-sm:hover {
243
+ background-color: var(--background);
244
+}
245
+
246
+/* Center trash button */
247
+.btn.btn-sm.float-right.delete-file {
248
+ height: 32px;
249
+ margin-top: -7px;
250
+}
251
+
252
+.form-control {
253
+ height: 32px;
254
+ font-size: 12px;
255
+}
256
+
257
+/* Links to previous and next page */
258
+#prev.previous_page,
259
+#next.next_page {
260
+ color: var(--pink);
261
+}
262
+#prev.previous_page.disabled,
263
+#next.next_page.disabled {
264
+ color: var(--comment);
265
+}
266
+
267
+/* Tab bar in edit mode */
268
+.tabnav {
269
+ border-color: var(--purple);
270
+ border-radius: 6px 6px 0 0;
271
+}
272
+
273
+/* Inactive tab */
274
+.tabnav-tab {
275
+ background-color: var(--comment);
276
+ border-color: var(--purple);
277
+ border-radius: 6px 6px 0 0;
278
+ color: var(--foreground) !important;
279
+}
280
+
281
+/* Active tab */
282
+.tabnav-tab.selected, .tabnav-tab[aria-selected="true"], .tabnav-tab[aria-current]:not([aria-current="false"]) {
283
+ background-color: var(--background);
284
+ border-color: var(--purple);
285
+ border-radius: 6px 6px 0 0;
286
+ color: var(--foreground);
287
+}
288
+
289
+/* All SVG symbols */
290
+.octicon.octicon-trash,
291
+.octicon.octicon-bold,
292
+.octicon.octicon-italic,
293
+.octicon.octicon-code,
294
+.octicon.octicon-list-unordered,
295
+.octicon.octicon-list-ordered,
296
+.octicon.octicon-quote,
297
+.octicon.octicon-horizontal-rule,
298
+.octicon.octicon-link,
299
+.octicon.octicon-image,
300
+.octicon.octicon-arrow-both,
301
+.octicon.octicon-question {
302
+ color: var(--foreground);
303
+}
304
+
305
+#gollum-dialog-dialog-inner {
306
+ background-color: var(--background);
307
+}
308
+
309
+#gollum-dialog-dialog-body,
310
+#gollum-dialog-dialog-title h4 {
311
+ color: var(--foreground);
312
+}
313
+
314
+/* Buttons on "Create New Page" dialog */
315
+#gollum-dialog-action-ok,
316
+#gollum-dialog-action-cancel {
317
+ background-color: var(--current);
318
+ border-color: var(--purple);
319
+ text-align: center;
320
+ line-height: initial;
321
+}
322
+
323
+#gollum-dialog-dialog-body fieldset .field label {
324
+ color: var(--foreground);
325
+}
326
+
327
+#gollum-dialog-dialog-body fieldset .field span.context {
328
+ color: var(--comment);
329
+}
330
+
331
+#gollum-editor-help {
332
+ border-color: var(--purple);
333
+ border-radius: 6px 6px 0 0;
334
+}
335
+
336
+#gollum-editor-help-content p {
337
+ color: var(--foreground);
338
+}
339
+
340
+#gollum-autorecover-msg {
341
+ background-color: var(--purple);
342
+}
343
+
344
+#edit-content,
345
+#gollum-editor,
346
+#gollum-editor-form,
347
+#gollum-editor-function-bar,
348
+#gollum-editor-format-selector,
349
+#gollum-editor-fields {
350
+ background-color: var(--background);
351
+ border-color: var(--purple);
352
+ border: none !important;
353
+}
354
+
355
+#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector select {
356
+ background-color: var(--current);
357
+ border-color: var(--purple);
358
+ color: var(--foreground);
4 359
}
5 360
6
-body {
7
- background: #0c0f14 !important;
8
- color: #e8eaef !important;
361
+#head #searchbar #searchbar-fauxtext input#search-query,
362
+#gollum-editor .singleline input,
363
+#head #searchbar #searchbar-fauxtext {
364
+ background: var(--current);
365
+ border-color: var(--purple);
366
+ color: var(--pink);
9 367
}
10 368
11
-a {
12
- color: #7bc5ff !important;
369
+#head #searchbar #searchbar-fauxtext input#search-query.ph,
370
+#gollum-editor .singleline input.ph,
371
+#wiki-history table tr td.commit-name span.time-elapsed,
372
+#footer p#last-edit,
373
+#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector label,
374
+.history h1 {
375
+ color: var(--foreground);
13 376
}
14 377
378
+#gollum-editor-function-buttons {
379
+ padding-top: 0.2em !important;
380
+}
381
+
382
+#head #searchbar #searchbar-fauxtext #search-submit span {
383
+ background-position: -431px -28px;
384
+}
385
+
386
+#head #searchbar #searchbar-fauxtext #search-submit:hover span {
387
+ background-position: -431px -3px;
388
+ padding: 0;
389
+}
390
+
391
+.markdown-body code,
392
+.markdown-body tt {
393
+ border: 1px solid var(--purple);
394
+ background-color: var(--background);
395
+}
396
+
397
+#wiki-history table tr {
398
+ background-color: var(--background);
399
+}
400
+
401
+#wiki-history table tr:nth-child(2n),
402
+#wiki-history table tr.alt-row {
403
+ background-color: var(--background);
404
+}
405
+
406
+#wiki-history table tr.selected {
407
+ background-color: var(--cyan) !important;
408
+}
409
+
410
+/* Don't change colour when hovering over link or when already visited */
411
+a:link,
412
+a:hover,
15 413
a:visited {
16
- color: #c9b4ff !important;
414
+ color: var(--pink);
17 415
}
18 416
19
-#wiki-wrapper,
20
-.wiki-page,
21
-#wiki-body,
22
-.minibrowser,
23
-#gollum-loading-message {
24
- background: #0c0f14 !important;
25
- color: #e8eaef !important;
417
+/* Absent links */
418
+.markdown-body a.absent {
419
+ color: var(--pink) !important;
26 420
}
27 421
28
-.has-sidebar #wiki-sidebar {
29
- background: #141922 !important;
30
- border-right: 1px solid #2a3546 !important;
31
- color: #e8eaef !important;
422
+.highlight .err,
423
+.highlight .gd,
424
+.highlight .gd .x,
425
+.highlight .gi,
426
+.highlight .gi .x,
427
+.highlight .gc {
428
+ background-color: var(--background);
32 429
}
33 430
34
-#head,
35
-header.head,
36
-.wiki-header,
37
-#header {
38
- background: linear-gradient(180deg, #1a2230 0%, #141922 100%) !important;
39
- border-bottom: 2px solid #6b1e1e !important;
431
+.compare .data td.line_numbers {
432
+ background: var(--current);
433
+ border-color: var(--foreground);
434
+ color: var(--foreground);
435
+}
436
+
437
+.compare .data {
438
+ border-color: var(--purple);
439
+}
440
+
441
+@media all and (min-width: 940px) {
442
+ #gollum-editor {
443
+ border: 1px solid var(--purple);
444
+ background: var(--background);
445
+ }
446
+}
447
+
448
+@media all and (min-width: 940px) {
449
+ a#function-bold:hover span { background-position: 0 0; }
450
+ a#function-italic:hover span { background-position: -27px 0; }
451
+ a#function-underline:hover span { background-position: -54px 0; }
452
+ a#function-code:hover span { background-position: -82px 0; }
453
+ a#function-ul:hover span { background-position: -109px 0; }
454
+ a#function-ol:hover span { background-position: -136px 0; }
455
+ a#function-blockquote:hover span { background-position: -163px 0; }
456
+ a#function-hr:hover span { background-position: -190px 0; }
457
+ a#function-h1:hover span { background-position: -217px 0; }
458
+ a#function-h2:hover span { background-position: -244px 0; }
459
+ a#function-h3:hover span { background-position: -271px 0; }
460
+ a#function-link:hover span { background-position: -298px 0; }
461
+ a#function-image:hover span { background-position: -324px 0; }
462
+ a#function-help:hover span { background-position: -405px 0; }
463
+
464
+ a#function-bold span { background-position: 0 -28px; }
465
+ a#function-italic span { background-position: -27px -28px; }
466
+ a#function-underline span { background-position: -54px -28px; }
467
+ a#function-code span { background-position: -82px -28px; }
468
+ a#function-ul span { background-position: -109px -28px; }
469
+ a#function-ol span { background-position: -136px -28px; }
470
+ a#function-blockquote span { background-position: -163px -28px; }
471
+ a#function-hr span { background-position: -190px -28px; }
472
+ a#function-h1 span { background-position: -217px -28px; }
473
+ a#function-h2 span { background-position: -244px -28px; }
474
+ a#function-h3 span { background-position: -271px -28px; }
475
+ a#function-link span { background-position: -298px -28px; }
476
+ a#function-image span { background-position: -324px -28px; }
477
+ a#function-help span { background-position: -405px -28px; }
40 478
}
41 479
42
-#head a,
43
-header.head a,
44
-.wiki-header a {
45
- color: #e8eaef !important;
480
+/* Don't let pygmentize's definitions mess up MathJax */
481
+.MathJax * {
482
+ color: var(--foreground) !important;
46 483
}
47 484
48
-#wiki-content,
49
-.wiki-page .markdown-body,
50
-#wiki-body .markdown-body {
51
- background: #1a2230 !important;
52
- color: #e8eaef !important;
53
- border: 1px solid #2a3546 !important;
54
- border-radius: 6px;
55
- padding: 1.25rem 1.5rem !important;
485
+/* --- Amascut / Gollum 6: kill remaining light surfaces (tables, history, dialogs) --- */
486
+
487
+.markdown-body table th,
488
+.markdown-body table td {
489
+ background-color: var(--current) !important;
490
+ color: var(--foreground) !important;
491
+ border-color: var(--borderColor-default) !important;
56 492
}
57 493
58
-.wiki-page .markdown-body h1,
59
-.wiki-page .markdown-body h2,
60
-.wiki-page .markdown-body h3 {
61
- color: #e8eaef !important;
62
- border-bottom: 1px solid rgba(204, 71, 87, 0.35);
63
- padding-bottom: 0.2rem;
494
+.markdown-body table th {
495
+ background-color: var(--bgColor-muted) !important;
496
+ font-weight: 600;
64 497
}
65 498
66
-.wiki-page .markdown-body code,
67
-.wiki-page .markdown-body pre {
68
- background: #0c0f14 !important;
69
- border: 1px solid #3d4b63 !important;
70
- color: #d1dae8 !important;
499
+#wiki-wrapper .Box,
500
+#wiki-wrapper .Box-row,
501
+#wiki-wrapper .Box-header,
502
+#wiki-wrapper .Box-body {
503
+ background-color: var(--bgColor-muted) !important;
504
+ color: var(--fgColor-default) !important;
505
+ border-color: var(--borderColor-default) !important;
71 506
}
72 507
73
-.wiki-page .markdown-body table th,
74
-.wiki-page .markdown-body table td {
75
- border-color: #3d4b63 !important;
508
+.color-bg-default,
509
+.color-bg-subtle,
510
+.color-bg-muted,
511
+.rounded-2 {
512
+ background-color: var(--bgColor-muted) !important;
513
+ color: var(--fgColor-default) !important;
76 514
}
77 515
78
-.wiki-page .markdown-body table tr:nth-child(2n) {
79
- background: rgba(37, 47, 63, 0.45) !important;
516
+.color-fg-default,
517
+.color-fg-muted,
518
+.f5,
519
+.f6,
520
+.text-normal {
521
+ color: var(--fgColor-default) !important;
80 522
}
81 523
82
-input[type="text"],
83
-input[type="search"],
84
-textarea,
85
-select {
86
- background: #252f3f !important;
87
- border: 1px solid #3d4b63 !important;
88
- color: #e8eaef !important;
524
+.Overlay:not([hidden]),
525
+dialog[open],
526
+.Modal,
527
+[role="dialog"] {
528
+ background-color: var(--bgColor-muted) !important;
529
+ color: var(--fgColor-default) !important;
530
+ border: 1px solid var(--borderColor-default) !important;
89 531
}
90 532
91
-button,
92
-.btn,
93
-.actions a.button {
94
- background: linear-gradient(180deg, #cc4757 0%, #6b1e1e 100%) !important;
95
- border: 1px solid #4a1414 !important;
96
- color: #fff !important;
533
+.Overlay-header,
534
+.Overlay-title,
535
+.Modal-header,
536
+h1.Overlay-title,
537
+[role="dialog"] .Overlay-title,
538
+[role="dialog"] h4,
539
+dialog h4 {
540
+ color: var(--fgColor-default) !important;
97 541
}
98 542
99
-button.secondary,
100
-a.cancel {
101
- background: #252f3f !important;
102
- color: #e8eaef !important;
103
- border-color: #3d4b63 !important;
543
+#head,
544
+#footer {
545
+ border-color: var(--amascut-accent) !important;
104 546
}