summaryrefslogtreecommitdiffstats
path: root/main.css
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-07-22 12:12:22 +0100
committerLexi Winter <lexi@le-fay.org>2025-07-22 12:12:22 +0100
commit7086d13eb5fc26a8e4c461c9a0ff5ead5de010b3 (patch)
treefa87f57d32c962b721400df503e36050bb3b3dad /main.css
downloadwww.le-fay.org-7086d13eb5fc26a8e4c461c9a0ff5ead5de010b3.tar.gz
www.le-fay.org-7086d13eb5fc26a8e4c461c9a0ff5ead5de010b3.tar.bz2
initial commit
Diffstat (limited to 'main.css')
-rw-r--r--main.css97
1 files changed, 97 insertions, 0 deletions
diff --git a/main.css b/main.css
new file mode 100644
index 0000000..86bd4cb
--- /dev/null
+++ b/main.css
@@ -0,0 +1,97 @@
+body {
+ font-family: sans-serif;
+}
+
+h1 {
+ font-size: 135%;
+ border-bottom: dashed 1px black;
+}
+
+h2 {
+ font-size: 120%;
+}
+
+#footer {
+ width: 100%;
+ border-top: solid 1px;
+ font-size: 80%;
+ opacity: 0.6;
+}
+
+p {
+ width: 40%;
+ min-width: 30em;
+ margin-left: 1.5em;
+ line-height: 1.4em;
+ text-align: justify;
+}
+
+dt {
+ font-weight: bold;
+}
+
+dl {
+ margin-left: 1.5em;
+}
+
+span.red {
+ color: #dd3333;
+}
+
+span.green {
+ color: #33dd33;
+}
+
+span.node, span.path, span.ipaddr, span.key, .community {
+ font-family: monospace;
+}
+
+/*
+ * asciidoctor puts the content of certain elements inside <p>, which makes
+ * them format badly using the default style.
+ */
+dd p,
+dt p,
+td p,
+th p,
+li p {
+ min-width: 0;
+ width: auto;
+ text-align: start;
+ margin: 0;
+ padding: 0;
+}
+
+table {
+ border-collapse: collapse;
+ text-align: left;
+}
+
+th, td {
+ padding: 4px;
+ border: none;
+}
+
+thead th {
+ font-weight: bold;
+ text-align: center;
+ text-transform: uppercase;
+ border-bottom: 2px solid currentColor;
+}
+
+tbody th p {
+ background-color: rgba(0, 0, 0, 0.1);
+ text-align: center;
+ font-weight: bold;
+ padding: 5px;
+ margin: 0;
+}
+
+tbody tr:nth-child(odd) td {
+ background-color: rgba(0, 0, 0, 0.05);
+}
+
+tfoot {
+ font-weight: bold;
+ border-top: 2px solid currentColor;
+}