]> Lady’s Gitweb - Status/blob - about.html
Improve styling on topic pages
[Status] / about.html
1 <!dOcTyPe html>
2 <HTML Lang=en>
3 <TITLE>About</TITLE>
4 <STYLE>
5 html{ Color: #E3E3E3; Background: #700020; Font-Family: UI-Rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, Sans-Serif; Line-Height: 1.5; Text-Shadow: Calc(1EM / 12) Calc(1EM / 12) #000000 }
6 body{ Display: Grid; Box-Sizing: Border-Box; Margin: Auto; Padding-Inline: 1CH; Min-Block-Size: 100VH; Inline-Size: 100%; Max-Inline-Size: 48REM; Align-Content: Center; Justify-Content: Stretch }
7 :Any-Link{ Color: #87E6DD }
8 </STYLE>
9 <H1>About</H1>
10 <NAV><UL></UL></NAV>
11 <SCRIPT Type=module>
12 document.title = location.hostname
13 document.body.querySelector("h1").textContent = location.hostname
14 const ul = document.body.querySelector("nav>ul")
15 fetch(`${location}.jsonld`)
16 .then($ => $.json())
17 .then(meta => {
18 { const a = ul
19 .appendChild(document.createElement("li"))
20 .appendChild(document.createElement("a"))
21 a.href = meta.streams.find($ => $["@type"] == "Thread")["@id"]
22 a.textContent = "Updates" }
23 { const a = ul
24 .appendChild(document.createElement("li"))
25 .appendChild(document.createElement("a"))
26 a.href = meta.streams.find($ => $["@type"] == "Forum")["@id"]
27 a.textContent = "Topics" } })
28 </SCRIPT>
This page took 0.050727 seconds and 5 git commands to generate.