chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit 5568abfd3b587badd7ff40b420996bd4d32533ab
parent 190346259994d1c9ffeb7c0bb09b9a1ed03761e0
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sun,  8 Nov 2026 01:58:13 +0000

website: more 90s. navy bars over each section, raised tables, links around pictures in link colours, a bracket link bar on the homepage, 88x31 buttons at the bottom of every page and a link-to-us button people can put on their own pages

Diffstat:
Aartwork/buttons.py | 63+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mdocs/404.html | 6++++++
Mdocs/about.html | 6++++++
Mdocs/board.html | 6++++++
Mdocs/chat.html | 6++++++
Mdocs/docs.html | 6++++++
Mdocs/download.html | 6++++++
Mdocs/editions.html | 6++++++
Adocs/img/buttons/anybrowser.png | 0
Adocs/img/buttons/chamesle.png | 0
Adocs/img/buttons/notrackers.png | 0
Adocs/img/buttons/void.png | 0
Mdocs/index.html | 23+++++++++++++++++++++--
Mdocs/new.html | 6++++++
Mdocs/packages.html | 6++++++
Mdocs/post.html | 6++++++
Mdocs/source.html | 6++++++
Mdocs/style.css | 44++++++++++++++++++++++++++++++--------------
Mdocs/submit.html | 6++++++
19 files changed, 186 insertions(+), 16 deletions(-)

diff --git a/artwork/buttons.py b/artwork/buttons.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +# the little 88x31 buttons at the bottom of the website, drawn a pixel at a time like they were. +# python3 artwork/buttons.py -> docs/img/buttons/*.png +import os, subprocess +from PIL import Image, ImageDraw, ImageFont + +HERE = os.path.dirname(os.path.abspath(__file__)) +OUT = os.path.join(HERE, '..', 'docs', 'img', 'buttons') + +def font(name, size): + path = subprocess.run(['fc-match', '-f', '%{file}', name], capture_output=True, text=True).stdout + return ImageFont.truetype(path, size) + +def button(bg, light, dark): + im = Image.new('RGB', (88, 31), bg) + d = ImageDraw.Draw(im) + d.fontmode = '1' # no smoothing, hard pixels + d.rectangle((0, 0, 87, 30), outline='#000') + d.line((1, 1, 86, 1), fill=light); d.line((1, 1, 1, 29), fill=light) + d.line((1, 29, 86, 29), fill=dark); d.line((86, 1, 86, 29), fill=dark) + return im, d + +# a line of text, centred between x0 and the right edge, a size smaller until it fits +def text(d, xy, s, f, fill, x0=None): + x, y = xy + left = x if x0 is None else x0 + room = 84 - left + size = f.size + while d.textlength(s, font=f) > room and size > 7: + size -= 1 + f = f.font_variant(size=size) + d.text((left + (room - d.textlength(s, font=f)) // 2, y), s, font=f, fill=fill) + +os.makedirs(OUT, exist_ok=True) +bold = lambda n: font('Liberation Sans:bold', n) +small = lambda n: font('Liberation Sans', n) + +# ours, for anyone who wants to link here +im, d = button('#ffffff', '#ffffff', '#808080') +ring = Image.open(os.path.join(HERE, 'logo.png')).convert('RGBA').resize((25, 25), Image.LANCZOS) +im.paste(ring, (4, 3), ring) +text(d, (31, 4), 'CHAMESLE', bold(10), '#000') +text(d, (31, 16), 'get it here', small(10), '#0000ee') +im.save(os.path.join(OUT, 'chamesle.png')) + +# any browser will do +im, d = button('#000080', '#6060ff', '#000030') +text(d, (4, 3), 'best viewed with', small(9), '#ffffff') +text(d, (4, 14), 'ANY BROWSER', bold(11), '#ffff00') +im.save(os.path.join(OUT, 'anybrowser.png')) + +# what it's made from +im, d = button('#e8f4ec', '#ffffff', '#5d7d68') +text(d, (4, 3), 'built on', small(10), '#000') +text(d, (4, 14), 'VOID LINUX', bold(11), '#2f6b46') +im.save(os.path.join(OUT, 'void.png')) + +# nothing watching you here +im, d = button('#ffffe0', '#ffffff', '#9a9a60') +text(d, (4, 3), 'this site has', small(10), '#000') +text(d, (4, 14), 'NO TRACKERS', bold(11), '#c00000') +im.save(os.path.join(OUT, 'notrackers.png')) +print('buttons in', os.path.normpath(OUT)) diff --git a/docs/404.html b/docs/404.html @@ -55,6 +55,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="/img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="/img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="/img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="/img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/about.html b/docs/about.html @@ -145,6 +145,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/board.html b/docs/board.html @@ -71,6 +71,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/chat.html b/docs/chat.html @@ -89,6 +89,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/docs.html b/docs/docs.html @@ -289,6 +289,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/download.html b/docs/download.html @@ -146,6 +146,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/editions.html b/docs/editions.html @@ -155,6 +155,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/img/buttons/anybrowser.png b/docs/img/buttons/anybrowser.png Binary files differ. diff --git a/docs/img/buttons/chamesle.png b/docs/img/buttons/chamesle.png Binary files differ. diff --git a/docs/img/buttons/notrackers.png b/docs/img/buttons/notrackers.png Binary files differ. diff --git a/docs/img/buttons/void.png b/docs/img/buttons/void.png Binary files differ. diff --git a/docs/index.html b/docs/index.html @@ -62,10 +62,13 @@ <p>a Linux for the computer you already have</p> </div> </div> +<p class="linkbar">[ <a href="download.html">Download</a> | <a href="new.html">What's new</a> | +<a href="editions.html">Desktops</a> | <a href="docs.html">Docs</a> | <a href="board.html">Board</a> | +<a href="https://github.com/tortr-rs/chamesle">Source</a> ]</p> <div class="release"> <p><b>Current release: 0.7 "Be Kool"</b>, October 28, 2026.</p> -<p><a class="button go" href="download.html">Download Chamesle 0.7</a> (618&nbsp;MB, 64-bit PC) &middot; +<p><a class="button go" href="download.html">Download Chamesle 0.7 now!</a> (618&nbsp;MB, 64-bit PC) &middot; <a href="new.html">what's new</a> &middot; already running it? <code>sudo apk upgrade</code></p> </div> @@ -144,11 +147,21 @@ $ sudo chamesle-desktop kde</pre> <h2>Help</h2> -<p>Start with the <a href="docs.html">docs</a>. Questions go on the <a href="board.html">board</a> or in the +<p>Start with the <a href="docs.html">docs</a>. Questions go on the <a href="board.html">board</a> (it's our guestbook too, say hi) or in the <a href="chat.html">chat</a>, bugs on <a href="https://github.com/tortr-rs/chamesle/issues">GitHub</a>. If you want to help out, <a href="about.html#help">here's how</a>. Tell a friend who's thinking about leaving Windows, that helps too.</p> +<h2>Link to us</h2> + +<div class="linkus"> +<img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"> +Got a homepage? Put this button on it. Copy the code below, the picture loads from here so there's +nothing to save. +<pre>&lt;a href="https://chamesle.org/"&gt;&lt;img src="https://chamesle.org/img/buttons/chamesle.png" + width="88" height="31" alt="Chamesle Linux"&gt;&lt;/a&gt;</pre> +</div> + </main> <hr> <address> @@ -157,6 +170,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/new.html b/docs/new.html @@ -261,6 +261,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/packages.html b/docs/packages.html @@ -101,6 +101,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/post.html b/docs/post.html @@ -54,6 +54,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/source.html b/docs/source.html @@ -105,6 +105,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div> diff --git a/docs/style.css b/docs/style.css @@ -10,10 +10,15 @@ a { color: #0000ee; } a:visited { color: #551a8b; } a:active { color: #e00; } img { max-width: 100%; height: auto; } -hr { border: 0; border-top: 1px solid #888; border-bottom: 1px solid #ddd; margin: 18px 0; } +a img { border: 2px solid #0000ee; } +a:visited img { border-color: #551a8b; } +a.brand img, .top img, a.plain img { border: 0; } +hr { border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #fff; box-shadow: 0 1px 0 #c0c0c0; height: 0; margin: 18px 0; } h1 { font-size: 30px; margin: 8px 0 6px; } -h2 { font-size: 22px; margin: 26px 0 6px; } -h3 { font-size: 18px; margin: 20px 0 4px; } +h2 { font: bold 18px/1.2 Arial, Helvetica, "Liberation Sans", sans-serif; color: #fff; background: #000080; + padding: 3px 8px; margin: 26px 0 8px; border-top: 1px solid #4040c0; border-bottom: 1px solid #000040; } +h2 a, h2 a:visited { color: #ffff80; } +h3 { font-size: 18px; margin: 20px 0 4px; color: #800000; } code, pre, kbd, tt { font-family: "Courier New", Courier, "Liberation Mono", monospace; font-size: 15px; } pre { background: #f4f4f4; border: 1px solid #999; padding: 8px 10px; overflow-x: auto; } address { font-size: 14px; color: #333; margin: 0 0 24px; } @@ -32,10 +37,11 @@ li { margin: 3px 0; } } .side .brand { display: block; text-align: center; } .side .name { text-align: center; font-weight: bold; margin: 4px 0 14px; line-height: 1.2; } -.side ul { list-style: none; padding: 0; margin: 0 0 12px; } +.side ul { list-style: square; padding: 0 0 0 16px; margin: 0 0 12px; } .side li { margin: 0 0 4px; } .side li b { color: #000; } -.side .head { margin: 14px 0 4px; font-weight: bold; font-size: 14px; border-bottom: 1px solid #9aa6c8; } +.side .head { margin: 14px -12px 6px; padding: 2px 12px; font: bold 13px Arial, Helvetica, "Liberation Sans", sans-serif; + color: #fff; background: #000080; } .side .now { margin-top: 18px; font-size: 13.5px; } .content { flex: 1; min-width: 0; max-width: 820px; padding: 14px 28px 0; } @@ -46,24 +52,33 @@ li { margin: 3px 0; } /* tables with real borders, the way border=1 drew them */ table { border-collapse: collapse; } -.grid, .facts, main table { border: 1px solid #777; } -.grid td, .grid th, .facts td, main td, main th { border: 1px solid #aaa; padding: 4px 8px; vertical-align: top; text-align: left; } -.grid th { background: #dfe5f6; } +.grid, .facts, main table { border: 2px outset #c0c0c0; border-spacing: 2px; border-collapse: separate; } +.grid td, .grid th, .facts td, main td, main th { border: 1px inset #c0c0c0; padding: 4px 8px; vertical-align: top; text-align: left; } +.grid th, .facts td:first-child { background: #dfe5f6; font-weight: bold; } /* the homepage */ -.top { display: flex; gap: 16px; align-items: center; } +.top { display: flex; gap: 16px; align-items: center; justify-content: center; } .top img { flex: none; } .top h1 { margin: 0; font-size: 34px; } -.top p { margin: 2px 0 0; font-style: italic; } -.release { border: 1px solid #777; background: #ffffe8; padding: 8px 12px; margin: 14px 0; } +.top p { margin: 2px 0 0; font-style: italic; color: #800000; } +.release { border: 2px outset #e0e0a0; background: #ffffcc; padding: 8px 12px; margin: 14px 0; } .release p { margin: 0 0 4px; } .news dt { font-weight: bold; margin-top: 10px; } .news dd { margin: 2px 0 0 24px; } -.new { color: #c00; font-weight: bold; font-size: 13px; } +.new { color: #f00; font: italic bold 13px Arial, Helvetica, "Liberation Sans", sans-serif; } .shots td { text-align: center; width: 25%; font-size: 14px; } -.shots img { display: block; margin: 0 auto 4px; border: 1px solid #000; } +.shots img { display: block; margin: 0 auto 4px; } .shots td span { color: #333; } +/* under the homepage title: the main links in brackets */ +.linkbar { text-align: center; margin: 10px 0 0; font-size: 15px; } +/* the buttons at the bottom of every page, and the box for linking here */ +.buttons { margin: 0 0 24px; } +.buttons a img, .buttons img { border: 0; margin: 0 4px 4px 0; vertical-align: middle; image-rendering: pixelated; } +.linkus { border: 2px outset #c0c0c0; padding: 8px 12px; margin: 10px 0; } +.linkus img { float: left; margin: 2px 12px 4px 0; border: 0; image-rendering: pixelated; } +.linkus pre { clear: both; margin: 8px 0 0; font-size: 13px; } + /* what other pages already use, kept plain */ .button { font-weight: bold; } .button.go::before { content: "\00bb\00a0"; } @@ -118,7 +133,8 @@ h1.banner img { max-width: 100%; } .side .brand, .side .name { display: inline-block; vertical-align: middle; margin: 0 8px 6px 0; text-align: left; } .side .brand img { width: 40px; height: 40px; } .side .name br { display: none; } - .side ul { display: flex; flex-wrap: wrap; gap: 2px 14px; } + .side ul { display: flex; flex-wrap: wrap; gap: 2px 14px; list-style: none; padding: 0; } + .side .head { margin: 10px -16px 6px; padding: 2px 16px; } .side .now { margin-top: 8px; } .content { padding: 10px 16px 0; } .dl { grid-template-columns: 1fr; } diff --git a/docs/submit.html b/docs/submit.html @@ -70,6 +70,12 @@ Something wrong on this page? Tell us on the <a href="board.html">board</a> or o <a href="https://github.com/tortr-rs/chamesle/issues">issue</a>.<br> Chamesle Linux is free software. Source code for every package is available on request. </address> +<p class="buttons"> +<a class="plain" href="https://chamesle.org/"><img src="img/buttons/chamesle.png" alt="Chamesle Linux" width="88" height="31"></a> +<img src="img/buttons/anybrowser.png" alt="Best viewed with any browser" width="88" height="31"> +<a class="plain" href="https://voidlinux.org"><img src="img/buttons/void.png" alt="Built on Void Linux" width="88" height="31"></a> +<img src="img/buttons/notrackers.png" alt="This site has no trackers" width="88" height="31"> +</p> </div> </div>