summaryrefslogtreecommitdiff
path: root/includes/www.css
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2022-01-14 14:28:19 -0500
committer53hornet <atc@53hor.net>2022-01-14 14:28:19 -0500
commit8794c7382edc928dc4054a27b572e0b02ea91cb1 (patch)
tree145fcc4b49410c58e80f105f03b2c34896a4d48c /includes/www.css
parent30b5423c1486c167240876b70521014d06b8d79b (diff)
download53hor-8794c7382edc928dc4054a27b572e0b02ea91cb1.tar.xz
53hor-8794c7382edc928dc4054a27b572e0b02ea91cb1.zip
feat: break up css, add cgit css
Diffstat (limited to 'includes/www.css')
-rw-r--r--includes/www.css193
1 files changed, 193 insertions, 0 deletions
diff --git a/includes/www.css b/includes/www.css
new file mode 100644
index 0000000..512793b
--- /dev/null
+++ b/includes/www.css
@@ -0,0 +1,193 @@
+body {
+ max-width: 50em;
+}
+
+hr {
+ color: var(--white);
+}
+
+nav {
+ list-style-type: none;
+ text-align: center;
+}
+
+nav ul {
+ padding: 0;
+ margin: 0;
+}
+
+nav li {
+ display: inline-block;
+ margin: 0.5em;
+ padding: 0.5em;
+}
+
+nav svg {
+ padding-right: 0.5em;
+ width: 24px;
+ height: 24px;
+}
+
+nav svg path,
+nav svg rect {
+ fill: var(--white);
+}
+
+a:link {
+ color: var(--slate);
+}
+
+a:visited {
+ color: var(--charcoal);
+}
+
+a:visited code {
+ color: var(--slate);
+}
+
+nav a:link,
+nav a:visited,
+nav a:active {
+ background-color: var(--balboa);
+ display: flex;
+ align-items: center;
+ color: var(--white);
+ text-decoration: underline solid var(--balboa);
+}
+
+a:hover {
+ transition: 0.25s;
+ color: var(--white);
+}
+
+nav a:hover {
+ transition: 0.25s;
+ text-decoration: underline solid var(--slate);
+}
+
+p code {
+ background-color: var(--charcoal);
+ border-radius: var(--box-radius);
+}
+
+pre {
+ white-space: pre-wrap;
+ display: block;
+ background-color: var(--charcoal);
+ padding: 1em;
+ border-radius: var(--box-radius);
+ border-left: var(--box-border);
+ border-right: var(--box-border);
+ overflow: auto;
+}
+
+.description {
+ background-color: var(--ruby);
+ padding: 1em;
+ border-radius: var(--box-radius);
+ border-left: var(--box-border);
+ border-right: var(--box-border);
+}
+
+h1,
+blockquote {
+ font-style: oblique;
+}
+
+h1,
+header {
+ text-align: center;
+}
+
+article ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+article ul li {
+ padding: 0.5em;
+}
+
+article ul li:before {
+ content: "➙";
+ padding-right: 0.5em;
+}
+
+article ol li {
+ padding: 0.5em;
+}
+
+p img {
+ display: block;
+ margin-top: 1em;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 75%;
+ height: auto;
+ border-radius: var(--box-radius);
+ border-left: var(--box-border);
+ border-right: var(--box-border);
+}
+
+iframe {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.list {
+ overflow-x: auto;
+}
+
+.list table {
+ width: 100%;
+}
+
+.list td,
+th {
+ padding: 0.5em;
+ text-align: left;
+ border-bottom: 1px solid var(--charcoal);
+}
+
+.form {
+ text-align: center;
+}
+
+.form input {
+ font-size: 1em;
+ margin-top: 1em;
+ border-radius: 3em;
+ box-sizing: border-box;
+ padding: 0.5em;
+ border: 0;
+}
+
+.form .description {
+ display: none;
+}
+
+footer {
+ font-size: 0.75em;
+ text-align: center;
+}
+
+.centered {
+ text-align: center;
+}
+
+a.donation,
+a.donation:visited {
+ background-color: var(--ruby);
+ border-radius: var(--box-radius);
+ padding: 1em;
+ text-decoration: none;
+ color: var(--slate);
+ border-left: var(--box-border);
+ border-right: var(--box-border);
+}
+
+a.donation:hover {
+ color: var(--white);
+}