diff options
author | sanine <sanine.not@pm.me> | 2024-10-11 19:07:14 +0000 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-10-11 19:07:14 +0000 |
commit | d416e3c43418f9ac4b033fb219bec7c383ee39bf (patch) | |
tree | 811674b8907327237b3d03d045ad5367594ed956 | |
parent | 3f768b11c451fb922c7f67dba42aa09ea287da94 (diff) |
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | layouts/base.lua | 15 | ||||
-rw-r--r-- | site_root/cyberia.svg | 10 | ||||
-rw-r--r-- | site_root/index.lua | 2 |
4 files changed, 24 insertions, 5 deletions
@@ -1,3 +1,5 @@ *~ public/ publish.sh +*.swp +pullcheck.sh diff --git a/layouts/base.lua b/layouts/base.lua index fec0bf9..35af0d0 100644 --- a/layouts/base.lua +++ b/layouts/base.lua @@ -21,8 +21,8 @@ return function(html, page_tbl) '<h1>(.-)</h1>', function(s) return string.format( - '<h1>%s</h1>%s</br>', - s, string.rep('=', math.max(string.len(s), 40)) + '<h1>%s</h1><div class="underline">%s</div></br>', + s, string.rep('=', 70) ) end ) @@ -32,8 +32,8 @@ return function(html, page_tbl) '<h2>(.-)</h2>', function(s) return string.format( - '<h2>%s</h2>%s</br>', - s, string.rep('-', string.len(s)) + '<h2>%s</h2><div class="underline">%s</div></br>', + s, string.rep('-', 70) ) end ) @@ -46,6 +46,13 @@ return function(html, page_tbl) <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>%s</title> <link rel="stylesheet" href="/style.css"> + <style> + .underline { + overflow: hidden; + white-space: nowrap; + max-width: 92vw; + } + </style> </html> <body> <div id="content"> diff --git a/site_root/cyberia.svg b/site_root/cyberia.svg new file mode 100644 index 0000000..1fac064 --- /dev/null +++ b/site_root/cyberia.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg width="600" height="600" viewBox="0 0 600 600" version="1.1" id="svg31165" inkscape:version="1.2.2 (b0a8486541, 2022-12-01)" sodipodi:docname="cyberia.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> + <sodipodi:namedview id="namedview31167" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" inkscape:document-units="px" showgrid="false" inkscape:zoom="1.8348087" inkscape:cx="319.37934" inkscape:cy="266.24029" inkscape:window-width="1920" inkscape:window-height="1018" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="layer1" inkscape:showpageshadow="0" inkscape:deskcolor="#d1d1d1"/> + <defs id="defs31162"/> + <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> + <path id="rect1039" clip-path="none" style="font-variation-settings:normal;display:inline;opacity:1;vector-effect:none;fill:#79cfdc;fill-opacity:1;stroke-width:0.541505;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;paint-order:stroke fill markers;stop-color:#000000;stop-opacity:1" d="M 300,0 A 300,300 0 0 0 0,300 300,300 0 0 0 70.759766,492 H 529.24024 A 300,300 0 0 0 600,300 300,300 0 0 0 300,0 Z M 85.039058,508 a 300,300 0 0 0 20.806652,20 H 494.1543 a 300,300 0 0 0 20.80664,-20 z m 40.878912,36 a 300,300 0 0 0 31.95899,20 h 284.24609 a 300,300 0 0 0 31.95898,-20 z m 66.57813,36 A 300,300 0 0 0 300,600 300,300 0 0 0 407.50391,580 Z"/> + <path id="path3110" clip-path="none" style="font-variation-settings:normal;display:inline;opacity:1;vector-effect:none;fill:#a97cb7;fill-opacity:1;fill-rule:evenodd;stroke-width:0.541505;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1" d="M 300,0 A 300,300 0 0 0 0,300 300,300 0 0 0 16.066406,393.50391 c 42.130453,-10.5903 73.537862,-41.95397 79.496092,-81.33984 6.695032,-44.25631 8.968622,-81.05919 36.824222,-104.56055 27.8556,-23.50136 67.52235,-5.27746 81.72852,21.57031 14.20615,26.84778 26.92466,60.31494 61.27734,61.70899 34.35268,1.39405 62.70861,-43.8662 74.15625,-74.36328 11.44764,-30.49708 47.69834,-47.77307 72.26758,-34.63477 24.56923,13.1383 34.67223,40.38966 49.53125,70.99414 14.85901,30.60448 33.60932,61.00834 56.67187,81.03906 19.37272,16.82595 40.73829,33.64697 60.72071,45.19727 A 300,300 0 0 0 600,300 300,300 0 0 0 300,0 Z"/> + </g> +</svg>
\ No newline at end of file diff --git a/site_root/index.lua b/site_root/index.lua index e274644..f0a50e6 100644 --- a/site_root/index.lua +++ b/site_root/index.lua @@ -22,7 +22,7 @@ welcome to sanine.net! [<-prev](https://cyberia.click/prev.cgi?source=sanine) -... [cyberia webring!](https://cyberia.click) ... + [<img src="/cyberia.svg" width="15px" alt="Cyberia Computer Club logo"></img>](https://cyberia.click) [next->](https://cyberia.click/next.cgi?source=sanine) [subscribe via rss](/rss.xml) |