From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=maniero.me header.i=@maniero.me Received: from caracal.birch.relay.mailchannels.net (caracal.birch.relay.mailchannels.net [23.83.209.30]) by mail-a.sr.ht (Postfix) with ESMTPS id 5F808200AC for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 17 Feb 2024 18:34:38 +0000 (UTC) X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DEBBD410B6 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 17 Feb 2024 18:34:35 +0000 (UTC) Received: from uk-fast-smtpout2.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id DBC2C4194E for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 17 Feb 2024 18:34:34 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1708194875; a=rsa-sha256; cv=none; b=IfWRWh5ApN8zN/u5LTYrz5YQVDSXDN588eb9BFEBxN2rZPRKQ25LBMOB6ttTui4xn2KCCv lnwhTJDw0d9X0nUPc9JuREhzyekLPQ5ev5lYucZkb2CbQ6LNKEQOSTHNdNzYajGVuewpkW 5/hsXVgEKNRlw+B29f54GQosx7FP3TRQZw7QJiglIjfoyfpFzaZN7qseE8Z31r5eIDNXpB QeaFEJJtGrNkrYGRfPwEu9HuEUVh+y2xOzlk2LNf3VbxOF+ChpaDgjPTWDhG5bhsALnOVn LEysFLcRbCzUoqjbqEaQW7N77+CxEAk1hPWj6xESN+dhn6GuqD/jdVj7HNlmaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1708194875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=L0UHV0N7D8oxF36PoJPOOaTFOCHM9JzBIFPzNMZOjmY=; b=y6mPes8BvS9RqQJaMQm9mjJdea8fhmakExYSuj9vdx8GjLqZOUnAaVYIAQCY1i99XWzICo gpnnp/BH1dHUdWr8ASCEnQOR+Iu0kl+pAqZ1nL6qZZ02hSPRNuLdVANC7p1mSUfjTs/bKG abl+qcpIwzzuKYpfarylRlcuNsGXtv09NqC6Wjjqs1PemYjC28wF/S8gERXVwX+OBhwEuQ IUC4oH+hwFBfv0D12M+NR27cL3phl46CB7jhbEqpCpo2OYnf3zCWkKUOjchdwz7gpd5x0o pPSSFQqCUGXGKVBszjrwmrjs0v2XM0HHifQHBJANqL5dLa2w51vlU0Ylx2k+tA== ARC-Authentication-Results: i=1; rspamd-6bdc45795d-qx4xh; auth=pass smtp.auth=hostingeremail smtp.mailfrom=carlos@maniero.me X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|carlos@maniero.me X-MailChannels-Auth-Id: hostingeremail X-Illegal-Arithmetic: 2af4a06134a34f38_1708194875439_1625922210 X-MC-Loop-Signature: 1708194875439:3942860507 X-MC-Ingress-Time: 1708194875439 Received: from uk-fast-smtpout2.hostinger.io (uk-fast-smtpout2.hostinger.io [31.220.23.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.119.153.87 (trex/6.9.2); Sat, 17 Feb 2024 18:34:35 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1708194872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L0UHV0N7D8oxF36PoJPOOaTFOCHM9JzBIFPzNMZOjmY=; b=SOtLw09P4hBN7X487FQmFp2cvKkEucftVy/IC2u3jrOWaLDVCYFYm88CQ89kHmlU6+GlI0 yGPXUy2+cb/vHw/58S8e6l0jggDtrsNn1+UXYyPkF7UsMYfPEm1nKqXTOcr+QqY1ku5A9u gwcMqypnuZ9oqqJmLvAYG0nbmscw9PUx8wLlTb6Vm6hZCafzKeazgNJ7+yAlDrxUr01HoU 6tQYaGznyMvYZV/M8I/GehhgLrHq/hj0sCc/Lqe7colfz7i2cRHgWTgTQHsNu3MMV/dn8F Y0qsoa9KSOS8kf3yoLnPQ56w3hfgVoBGI5syVLfTRCpLzHFT5sqsfS1RjUQHUg== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang v2] docs: add white mode support Date: Sat, 17 Feb 2024 15:29:57 -0300 Message-Id: <20240217182957.3348962-1-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-Envelope: MS4xfJxFOJz7rjlP3FP7TM/Q86tYbZGG0Kd+f7fgJAiPMDiRhm21L6O5ewFLTMIk9wOCI0GTPALccLxKUkH+2raaHyHgQilZ/gXLYt05p7EtfWWvD0F8f787 HdWwzWIKhpabx008iVlTY5iHaBgyAbuw6GsEB8BW1hWI+zCZYQ+duv44ddZZiMKbu6d0/sRppR/NUhh6eBSpdI/yxaVcDzV0VcZj/+nAeOAEDmzPrKlHAXuw 1HF5gB5gASVJIM9ZYKD4uQ== X-CM-Analysis: v=2.4 cv=Rp/DLjmK c=1 sm=1 tr=0 ts=65d0fc38 a=5+VMC1FZ3J4mVPAKpPmAqg==:117 a=5+VMC1FZ3J4mVPAKpPmAqg==:17 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=BXDaF_L80NYA:10 a=bwGbKnmsAAAA:8 a=MudDJMRNe-SE0opYzMkA:9 a=KjQRxAQDX5X8emqa:21 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=nuVVIWbBudwLbAahYuja:22 X-AuthUser: carlos@maniero.me X-TUID: ShsO26OwLtHf For accessibility reasons we now also support white mode. Signed-off-by: Carlos Maniero --- v2: - Improve color contrast - Changes link color for white-mode docs/template.html | 110 +++++++++++++++++++++++++-------------------- 1 file changed, 61 insertions(+), 49 deletions(-) diff --git a/docs/template.html b/docs/template.html index 98cc348..2a1b721 100644 --- a/docs/template.html +++ b/docs/template.html @@ -1,55 +1,67 @@ - - - - $title$ | olang - - - -
-

∅lang | The zero programming language.

- -
-
-

$title$

- - $body$ -
-
- © 2024 olang maintainers -
- + } + body { + background: var(--background-color); + color: var(--text-color); + font-family: monospace; + font-size: 1.1rem; + margin: 0; + padding: 0; + } + a { + color: var(--link-color); + } + article, nav, header, footer { + max-width: 820px; + margin: 10px auto; + } + header, footer { + margin: 70px auto; + } + article { + line-height: 1.75rem; + } + pre { + background: rgba(0,0,0, 0.75); + color: white; + padding: 10px; + } + + + +
+

∅lang | The zero programming language

+ +
+
+

$title$

+ $body$ +
+ + -- 2.34.1