Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
500 lines (477 loc) · 17.3 KB
/
Copy pathindex.html
File metadata and controls
500 lines (477 loc) · 17.3 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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lonelog — Standard Notation for Solo RPG Logging</title>
<meta name="description" content="A lightweight shorthand notation that captures the essential game elements while leaving room for narrative.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@400;500;600;700;900&display=swap" rel="stylesheet">
<style>
/* ============================================
DESIGN TOKENS
============================================ */
:root {
--bg: #ffffff;
--text: #000000;
--muted: #666666;
--code-text: #585260;
--code-bg: #efecf4;
--green: #188038;
--green-dark: #0f5c28;
--border: #e2dfe9;
--font-ui: "Montserrat", sans-serif;
--font-body: "Lora", serif;
--font-mono: "Consolas", "Courier New", monospace;
--max-w: 820px;
--nav-h: 54px;
--gap: 1.5rem;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #1c1a17;
--text: #e8e4dc;
--muted: #8a8278;
--code-text: #b4acca;
--code-bg: #252119;
--green: #3daa60;
--green-dark:#52c977;
--border: #38342e;
}
}
/* ============================================
RESET
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font-body);
font-size: 17px;
line-height: 1.75;
color: var(--text);
background: var(--bg);
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
/* ============================================
LAYOUT PRIMITIVES
============================================ */
.wrap {
max-width: var(--max-w);
margin: 0 auto;
padding: 0 var(--gap);
}
/* ============================================
NAV
============================================ */
.nav {
position: sticky;
top: 0;
z-index: 50;
height: var(--nav-h);
background: var(--bg);
border-bottom: 1px solid var(--border);
}
.nav .wrap {
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-brand {
font-family: var(--font-ui);
font-weight: 700;
font-size: 1rem;
letter-spacing: -0.01em;
}
.nav-links {
display: flex;
align-items: center;
gap: 1.25rem;
}
.nav-links a {
font-family: var(--font-ui);
font-size: 0.8125rem;
font-weight: 600;
color: var(--muted);
display: flex;
align-items: center;
gap: 0.3rem;
transition: color 0.12s;
}
.nav-links a:hover { color: var(--text); }
.nav-links svg { flex-shrink: 0; }
/* ============================================
HERO
============================================ */
.hero {
padding: 5rem 0 4rem;
text-align: center;
}
.hero-spec {
font-family: var(--font-mono);
font-size: 0.6875rem;
font-weight: 400;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--green);
margin-bottom: 1.25rem;
display: block;
}
.hero-title {
font-family: var(--font-ui);
font-weight: 900;
font-size: clamp(3.75rem, 12vw, 6rem);
letter-spacing: -0.045em;
line-height: 0.95;
color: var(--text);
margin-bottom: 1.25rem;
}
.hero-subtitle {
font-family: var(--font-ui);
font-weight: 500;
font-size: 0.9375rem;
color: var(--muted);
letter-spacing: 0.015em;
margin-bottom: 0.6rem;
}
.hero-version {
display: inline-block;
font-family: var(--font-mono);
font-size: 0.6875rem;
color: var(--muted);
border: 1px solid var(--border);
padding: 0.18em 0.7em;
border-radius: 2px;
margin-bottom: 2.75rem;
}
.hero-desc {
max-width: 540px;
margin: 0 auto 2.5rem;
font-size: 1.0625rem;
color: var(--text);
line-height: 1.8;
}
.cta-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 4rem;
}
.hero-banner-wrap {
border-top: 1px solid var(--border);
padding-top: 2.5rem;
}
.hero-banner {
margin: 0 auto;
max-width: 480px;
width: 100%;
opacity: 0.88;
}
@media (prefers-color-scheme: dark) {
.hero-banner { filter: invert(1) opacity(0.7); }
}
/* ============================================
BUTTONS
============================================ */
.btn {
display: inline-block;
font-family: var(--font-ui);
font-weight: 600;
font-size: 0.875rem;
letter-spacing: 0.01em;
padding: 0.5625rem 1.3125rem;
border-radius: 2px;
transition: background 0.12s, color 0.12s, border-color 0.12s;
white-space: nowrap;
}
.btn-primary {
background: var(--green);
color: #fff;
border: 1px solid var(--green);
}
.btn-primary:hover {
background: var(--green-dark);
border-color: var(--green-dark);
}
.btn-outline {
background: transparent;
color: var(--text);
border: 1px solid var(--text);
}
.btn-outline:hover {
background: var(--text);
color: var(--bg);
}
.btn-ghost {
background: transparent;
color: var(--muted);
border: 1px solid var(--border);
}
.btn-ghost:hover {
color: var(--text);
border-color: var(--muted);
}
/* ============================================
SECTIONS
============================================ */
.section {
padding: 4rem 0;
border-top: 1px solid var(--border);
}
.section-label {
display: block;
font-family: var(--font-ui);
font-size: 0.6875rem;
font-weight: 700;
letter-spacing: 0.13em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 1.75rem;
}
.section-heading {
font-family: var(--font-ui);
font-weight: 700;
font-size: 1.25rem;
letter-spacing: -0.015em;
margin-bottom: 1.25rem;
}
/* ============================================
CODE SHOWCASE
============================================ */
.code-block {
background: var(--code-bg);
border: 1px solid var(--border);
border-radius: 2px;
overflow: hidden;
}
.code-tab {
display: flex;
align-items: center;
gap: 0.45rem;
padding: 0 1rem;
height: 36px;
background: var(--bg);
border-bottom: 1px solid var(--border);
}
.code-tab-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--green);
flex-shrink: 0;
}
.code-tab-name {
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--muted);
}
.code-block pre {
margin: 0;
padding: 1.375rem 1.5rem;
overflow-x: auto;
}
.code-block code {
font-family: var(--font-mono);
font-size: 0.875rem;
line-height: 1.8;
color: var(--code-text);
white-space: pre;
display: block;
}
/* token colours */
.t-h { color: var(--text); font-weight: 600; }
.t-em { font-style: italic; color: var(--muted); }
.t-k { color: var(--green); font-weight: 600; }
.t-a { color: var(--muted); }
/* ============================================
PHILOSOPHY CARDS
============================================ */
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
border: 1px solid var(--border);
border-radius: 2px;
overflow: hidden;
gap: 0;
}
.card {
background: var(--code-bg);
padding: 1.5rem 1.375rem;
border-right: 1px solid var(--border);
}
.card:last-child { border-right: none; }
.card-glyph {
font-family: var(--font-mono);
font-size: 1.125rem;
font-weight: 600;
color: var(--green);
display: block;
margin-bottom: 0.875rem;
}
.card-title {
font-family: var(--font-ui);
font-weight: 600;
font-size: 0.9375rem;
margin-bottom: 0.4rem;
color: var(--text);
}
.card-body {
font-family: var(--font-body);
font-size: 0.9rem;
line-height: 1.7;
color: var(--muted);
}
/* ============================================
COMMUNITY
============================================ */
.community-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
/* ============================================
FOOTER
============================================ */
.footer {
padding: 2rem 0;
border-top: 1px solid var(--border);
}
.footer .wrap {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.375rem;
}
.footer p {
font-family: var(--font-body);
font-size: 0.875rem;
color: var(--muted);
}
.footer a {
color: var(--muted);
text-decoration: underline;
text-underline-offset: 2px;
}
.footer a:hover { color: var(--text); }
/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 560px) {
.hero { padding: 3rem 0 3rem; }
.cta-row { flex-direction: column; align-items: stretch; }
.cta-row .btn { text-align: center; }
.cards { grid-template-columns: 1fr; }
.card { border-right: none; border-bottom: 1px solid var(--border); }
.card:last-child { border-bottom: none; }
.nav-docs { display: none; }
.footer .wrap { flex-direction: column; }
}
</style>
</head>
<body>
<!-- NAV -->
<nav class="nav">
<div class="wrap">
<a href="/" class="nav-brand">Lonelog</a>
<div class="nav-links">
<a href="https://lonelog.readthedocs.io" class="nav-docs">Documentation</a>
<a href="https://github.com/lonelog/lonelog">
<svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
<path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"/>
</svg>
GitHub
</a>
</div>
</div>
</nav>
<!-- HERO -->
<section class="hero">
<div class="wrap">
<span class="hero-spec">Open Specification</span>
<h1 class="hero-title">Lonelog</h1>
<p class="hero-subtitle">A Standard Notation for Solo RPG Session Logging</p>
<span class="hero-version">v1.5.0</span>
<p class="hero-desc">
A lightweight shorthand language designed to separate mechanics from fiction,
stay compact at the table, and scale seamlessly from quick one-shots
to sprawling campaigns.
</p>
<div class="cta-row">
<a href="https://lonelog.readthedocs.io" class="btn btn-primary">Read the Docs</a>
<a href="https://zeruhur.itch.io/lonelog" class="btn btn-outline">Download on Itch.io</a>
<a href="https://github.com/lonelog/lonelog" class="btn btn-ghost">GitHub</a>
</div>
<div class="hero-banner-wrap">
<img src="banner.png" alt="The five core Lonelog symbols: @ ? d: -> =>" class="hero-banner">
</div>
</div>
</section>
<main>
<!-- QUICK START -->
<section class="section">
<div class="wrap">
<span class="section-label">Quick Start</span>
<div class="code-block">
<div class="code-tab">
<span class="code-tab-dot"></span>
<span class="code-tab-name">session-log.md</span>
</div>
<pre><code><span class="t-h">### S1</span> <span class="t-em">Dark alley, midnight</span>
<span class="t-k">@</span> Sneak past the guard
<span class="t-k">d:</span> Stealth 4 vs TN 5 <span class="t-a">-></span> Fail
<span class="t-k">=></span> I kick a bottle. Guard turns!
<span class="t-k">?</span> Does he see me clearly?
<span class="t-a">-></span> No, but…
<span class="t-k">=></span> He's suspicious, starts walking toward the noise</code></pre>
</div>
</div>
</section>
<!-- CORE PHILOSOPHY -->
<section class="section">
<div class="wrap">
<span class="section-label">Core Philosophy</span>
<div class="cards">
<div class="card">
<span class="card-glyph">@</span>
<p class="card-title">Format-agnostic</p>
<p class="card-body">Works identically in digital Markdown code blocks or analog paper notebooks.</p>
</div>
<div class="card">
<span class="card-glyph">d:</span>
<p class="card-title">Toolbox, not a rulebook</p>
<p class="card-body">Fully modular. Use the five core symbols or layer in tracking elements — Clocks, Threads, NPC tags — as needed.</p>
</div>
<div class="card">
<span class="card-glyph">→</span>
<p class="card-title">Built for scannability</p>
<p class="card-body">Standardised tokens allow external tools, plugins, or human readers to parse session logs at a glance.</p>
</div>
</div>
</div>
</section>
<!-- COMMUNITY -->
<section class="section">
<div class="wrap">
<span class="section-label">Community</span>
<p class="section-heading">Join the conversation</p>
<div class="community-buttons">
<a href="https://www.reddit.com/r/lonelog/" class="btn btn-ghost">Reddit</a>
<a href="https://discord.gg/DBpgvvC2sG" class="btn btn-ghost">Discord</a>
</div>
</div>
</section>
</main>
<!-- FOOTER -->
<footer class="footer">
<div class="wrap">
<p>Specification released under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. Created by <a href="https://zeruhur.itch.io/">Zeruhur</a>.</p>
<p><a href="https://github.com/lonelog/lonelog">lonelog/lonelog</a></p>
</div>
</footer>
</body>
</html>