Unify stylesheets

dev
gravel 7 months ago
parent 9ab13f4d57
commit 725677a610
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -0,0 +1,8 @@
* { box-sizing: border-box; }
html { color: white; background-color: black; font-size: clamp(16px, 2vw, 24px); width: 100%; }
body { margin: 0; padding: 2rem; width: 100%; line-height: 1.5; }
a { color: hsl(210, 100%, 60%); }
pre, .code { background-color: #222; font-size: 0.9rem; white-space: break-spaces; overflow: auto; }
pre { padding: 1em; }
.code { padding: 0.1em 0.25em; }
.hidden { display: none; }

@ -1,19 +1,18 @@
body {
background-color: black;
color: white;
}
header {
text-align: center;
}
a, .anchorstyle {
color: hsl(210, 100%, 60%);
text-decoration: underline;
label[for^=language-selection] {
font-size: 1.2em;
padding-right: 0.5em;
padding-block: 0.5em;
}
#language-selection-title, label[for^=language-selection] {
font-size: 1.2em;
.language-selection {
width: 2em;
height: 2em;
padding-left: 0.5em;
padding-block: 0.5em;
}
#instructions {

@ -14,12 +14,10 @@
<?php include "+components/page-head.php" ?>
<link rel="canonical" href="https://sessioncommunities.online/donate.html">
<link rel="stylesheet" href="css/common-dark.css">
<title>Donate — sessioncommunities.online</title>
<style>
* { box-sizing: border-box; font-variant-ligatures: none; }
html { color: white; background-color: black; font-size: clamp(16px, 2vw, 24px); width: 100%; }
body { margin: 0; padding: 2rem; width: 100%; line-height: 1.5; }
a { color: hsl(210, 100%, 60%); }
* { font-variant-ligatures: none; }
.particle {
font-family: sans-serif;
font-weight: bold;

@ -9,6 +9,7 @@
<?php include "+components/page-head.php" ?>
<link rel="canonical" href="https://sessioncommunities.online/instructions.php">
<link rel="stylesheet" href="css/common-dark.css">
<link rel="stylesheet" href="css/instructions.css">
<style type="text/css">
<?php foreach ($instruction_files as $i => $file): ?>
@ -30,6 +31,7 @@
<meta property="og:description" content="Learn how to use sessioncommunities.online to join">
<meta property="og:url" content="https://sessioncommunities.online/instructions.php">
<meta property="og:type" content="article">
<title>Instructions — sessioncommunities.online</title>
</head>
<body>
<header>
@ -41,9 +43,9 @@
Go back to Community list
</a>
</p>
<span id="language-selection-title">
<h2 id="language-selection-title">
Choose your language:
</span>
</h2>
<br>
<?php foreach ($instruction_files as $i => $file): ?>
<input

@ -14,15 +14,8 @@
<title>Privacy — sessioncommunities.online</title>
<meta name="description" content="Read what data sessioncommunities.online collects">
<meta property="og:title" content="sessioncommunities.online — Privacy">
<link rel="stylesheet" href="css/common-dark.css">
<style>
* { box-sizing: border-box; }
html { color: white; background-color: black; font-size: clamp(16px, 2vw, 24px); width: 100%; }
body { margin: 0; padding: 2rem; width: 100%; line-height: 1.5; }
a { color: hsl(210, 100%, 60%); }
pre, .code { background-color: #222; font-size: 0.9rem; white-space: break-spaces; overflow: auto; }
pre { padding: 1em; }
.code { padding: 0.1em 0.25em; }
input { display: none; }
label, label a { text-decoration: underline dotted white 1px; text-underline-offset: 0.2em; }
<?php foreach ($HIGHLIGHTED_FIELDS as $field): ?>
#show-<?=$field?>:hover ~ :is(p, pre) :is(label[for="show-<?=$field?>"], label[for="show-<?=$field?>"] *),
@ -42,7 +35,7 @@
<p>Server logs look like this: (<em>Hover for details</em>)</p>
<?php foreach ($HIGHLIGHTED_FIELDS as $field): ?>
<input type="checkbox" id="show-<?=$field?>">
<input type="checkbox" class="hidden" id="show-<?=$field?>">
<?php endforeach; ?>
<pre><label for="show-ip" title="De-identified IP address">155.71.106.0</label> - - <label for="show-datetime" title="Time of visit">[27/Jan/2041:14:05:22 +0000]</label> <label for="show-resource" title="Requested resource and method">"GET / HTTP/2.0"</label> <label for="show-status" title="Status returned by the server">200</label> <label for="show-bytes" title="Size of server response">41322</label> <label for="show-referer" title="Site which referred the user to us">"https://duckduckgo.com/"</label> <label for="show-user-agent" title="User Agent Header">"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"</label></pre>

Loading…
Cancel
Save