summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreudoxia <uplink@distress.network>2020-11-28 16:10:13 -0500
committereudoxia <uplink@distress.network>2020-11-28 16:10:13 -0500
commit414014a1231073ed8a5b883687497d9d5ec8bd73 (patch)
tree864541a69fcc1aa89b734374e6cc05b5f94e5dbc
parent8fce2c9fb654a7dbb4a4a9849da6860e6bc7b28f (diff)
css: removed useless tabs, misc other improvements
-rwxr-xr-xcss/main.css181
1 files changed, 90 insertions, 91 deletions
diff --git a/css/main.css b/css/main.css
index 48b5f8b..0f8dde3 100755
--- a/css/main.css
+++ b/css/main.css
@@ -12,104 +12,103 @@ html {
font-size: 20px;
}
-body {background-color: var(--color-body-d); margin: 0;}
-header {display: flex; justify-content: center; flex-direction: column; position: static; width: 100vw; height: 80vh; background-image: url("/media/banner-m.png"); background-size: cover; background-position: center center; background-attachment: fixed; image-rendering: crisp-edges; image-rendering: pixelated;}
-.bomber,hr,.identcontainer {margin-left: 10vw;}
-.bomber {font-family: schnyder-xl, Didot, serif; font-weight: 400; font-style: italic; font-size: 5rem; font-feature-settings: "case", "ss01"; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; letter-spacing: -2px; line-height: 1; width: 80vw; margin-bottom: -12px; padding-left: 10px;}
-header hr {width: 80vw; height: 0; border: none; border-top: 1px solid var(--color-head-d);}
-.identcontainer {display: flex; flex-direction: row; justify-content: space-between; height: 25px; margin: -5px 10vw; padding: 0px 5px;}
-.ident {font-family: neue-haas-grotesk-display, var(--fs-sans); font-weight: 300; font-size: 1rem; align-self: center; font-feature-settings: "case";}
-.ident a {text-decoration: none; cursor: pointer; color: var(--color-head-d);}
-.ident a:link {text-decoration: none;}
-.ident a:visited {color: var(--color-head-d);}
-.ident a:hover {text-decoration: none;}
-.ident a:active {text-decoration: none;}
-.headerlogo {height: 18px; align-self: center;}
-.contentlevel {display: flex;}
-nav {flex: 0 0 20%; padding: 1rem; position: -webkit-sticky; position: sticky; top: 0; height: 100vh; overflow-x: hidden; overflow-y: auto; background-color: var(--color-body-d);}
-nav pre {margin: 0; color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; font-size: 0.5rem; line-height: 1.2;}
-nav a {color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; text-decoration: none; cursor: pointer;}
-nav a:link {text-decoration: none;}
-nav a:visited {color: var(--color-main-l);}
-nav a:hover {color: var(--color-body-d); background-color: var(--color-main-l); clip-path: inset(10% 0% 10% 0%);}
-nav a:active {color: var(--color-main-l); text-decoration: none;}
-main {flex: 1 1 90%; min-height: 100vh; padding: 1rem; padding-right: calc(20vw + 1rem); overflow-x: hidden; background-color: var(--color-main-d);}
+body {background-color: var(--color-body-d); margin: 0;}
+header {display: flex; justify-content: center; flex-direction: column; position: static; width: 100vw; height: 80vh; background-image: url("/media/banner-m.png"); background-size: cover; background-position: center center; background-attachment: fixed; image-rendering: crisp-edges; image-rendering: pixelated;}
+.bomber,hr,.identcontainer {margin-left: 10vw;}
+.bomber {font-family: schnyder-xl, Didot, serif; font-weight: 400; font-style: italic; font-size: 5rem; font-feature-settings: "case", "ss01"; -webkit-hyphens: auto; hyphens: auto; letter-spacing: -2px; line-height: 1; width: 80vw; margin-bottom: -12px; padding-left: 10px;}
+header hr {width: 80vw; height: 0; border: none; border-top: 1px solid var(--color-head-d);}
+.identcontainer {display: flex; flex-direction: row; justify-content: space-between; height: 25px; margin: -5px 10vw; padding: 0 5px;}
+.ident {font-family: neue-haas-grotesk-display, var(--fs-sans); font-weight: 300; font-size: 1rem; align-self: center; font-feature-settings: "case";}
+.ident a {text-decoration: none; cursor: pointer; color: var(--color-head-d);}
+.ident a:link {text-decoration: none;}
+.ident a:visited{color: var(--color-head-d);}
+.ident a:hover {text-decoration: none;}
+.ident a:active {text-decoration: none;}
+.headerlogo {height: 18px; align-self: center;}
+.contentlevel {display: flex;}
+nav {flex: 0 0 20%; padding: 1rem; position: -webkit-sticky; position: sticky; top: 0; height: 100vh; overflow-x: hidden; overflow-y: auto; background-color: var(--color-body-d);}
+nav pre {margin: 0; color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; font-size: 0.5rem; line-height: 1.2;}
+nav a {color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; text-decoration: none; cursor: pointer;}
+nav a:link {text-decoration: none;}
+nav a:visited {color: var(--color-main-l);}
+nav a:hover {color: var(--color-body-d); background-color: var(--color-main-l); clip-path: inset(10% 0% 10% 0%);}
+nav a:active {color: var(--color-main-l); text-decoration: none;}
+main {flex: 1 1 90%; min-height: 100vh; padding: 1rem; padding-right: calc(20vw + 1rem); overflow-x: hidden; background-color: var(--color-main-d);}
.leading,h1,h2,p,p strong,p em,li,code,th,td {color: var(--color-main-l);}
-.leading,h1,h2 {font-family: neue-haas-grotesk-display, var(--fs-sans);}
-.leading {font-size: 2.5rem; font-weight: 300; font-style: italic; border: 0; padding: 0;}
-.toc {margin: 1rem; margin-top: 1.5rem; padding: 0; height: auto;}
-.toc a:hover {clip-path: none;}
-h1 {font-size: 2.5rem; font-weight: 700; margin: 1rem 0 0;}
-h2 {font-size: 1.75rem; font-weight: 700; margin: 1rem 0 0;}
-p,p strong,p em,li,th,td {font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 1rem; line-height: 1.5; text-align: justify; text-justify: inter-word;}
-p,p strong,p em {margin: 1rem 0;}
-p,td {font-weight: 400;}
-p strong,th {font-weight: 700;}
-p em {font-style: italic;}
-p img {vertical-align: baseline;}
-ul {margin: 1rem; padding: 0 0 0 1rem;}
-ul ul {margin: 0 1rem;}
-code {font-family: var(--fs-mono); font-weight: normal; font-size: 1rem; line-height: 1.5em;}
-main a {font-family: neue-haas-grotesk-text, var(--fs-sans); color: var(--color-main-l); font-weight: 700; font-size: 1rem; cursor: pointer;}
-main a:link {text-decoration: none; color: var(--color-main-l);}
-main a:visited {color: var(--color-main-l);}
-main a:hover {text-decoration: none; color: var(--color-main-d); background-color: var(--color-main-l);}
-main a:active {text-decoration: none; color: var(--color-main-l);}
-main a::after {font-size: 0.5rem; font-weight: 700; line-height: 0; vertical-align: super; content: "↗︎";}
-blockquote {margin: 1rem;}
-main hr {height: 1rem; width: 100%; margin: 0; border: none; border-bottom: 1px solid var(--color-main-l);}
-main pre {margin: 1rem; padding: 1rem; background: var(--color-code-d); border-radius: 5px;}
-main pre code {color: var(--color-main-l); margin: 0; line-height: 1rem; white-space: pre-wrap;}
-table {margin: 1rem; width: calc(100% - 2rem); border-collapse: collapse;}
-th,td {padding: 0 0.5rem; text-align: initial;}
-th {border-bottom: 1px solid var(--color-main-m); padding-bottom: 0.5rem;}
-td {padding-top: 0.5rem;}
-figure {display: flex; margin: 1rem; max-width: 100%; align-items: center; flex-direction: column;}
-figure a {font-size: 0; background-color: transparent;}
-figure a:hover {text-decoration: none; background-color: transparent;}
-figure a::after {display: none;}
-figure a img {max-width: 100%; max-height: calc(100vh - 2rem);}
-figure p {font-size: 0.75rem; font-style: italic; margin-top: 0.5rem; margin-bottom: 0; padding-bottom: 1rem; text-align: center;}
-footer {display: flex; flex-direction: row; justify-content: space-between; width: 100vw; min-height: 1rem; border-top: 1px solid var(--color-main-m); padding: 0.75rem 1rem; background-color: var(--color-main-d); color: var(--color-main-l);}
-footer p, footer a {font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 0.75rem; font-weight: 700; font-feature-settings: "case"; margin: 0; hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;}
-footer a {color: var(--color-main-l); cursor: pointer;}
-footer a:link {text-decoration: none;}
-footer a:visited {color: var(--color-main-l);}
-footer a:hover {color: var(--color-main-d); background-color: var(--color-main-l);}
-footer a:active {text-decoration: none;}
-footer img {align-self: center; height: 0.75rem;}
+.leading,h1,h2 {font-family: neue-haas-grotesk-display, var(--fs-sans);}
+.leading {font-size: 2.5rem; font-weight: 300; font-style: italic; border: 0; padding: 0;}
+.toc {margin: 1rem; margin-top: 1.5rem; padding: 0; height: auto;}
+.toc a:hover {clip-path: none;}
+h1 {font-size: 2.5rem; font-weight: 700; margin: 1rem 0 0;}
+h2 {font-size: 1.75rem; font-weight: 700; margin: 1rem 0 0;}
+p,p strong,p em,li,th,td {font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 1rem; line-height: 1.5; text-align: justify; text-justify: inter-word;}
+p,p strong,p em {margin: 1rem 0;}
+p,td {font-weight: 400;}
+p strong,th {font-weight: 700;}
+p em {font-style: italic;}
+p img {vertical-align: baseline;}
+ul {margin: 1rem; padding: 0 0 0 1rem;}
+ul ul {margin: 0 1rem;}
+code {font-family: var(--fs-mono); font-weight: normal; font-size: 1rem; line-height: 1.5em;}
+main a {font-family: neue-haas-grotesk-text, var(--fs-sans); color: var(--color-main-l); font-weight: 700; font-size: 1rem; cursor: pointer;}
+main a:link {text-decoration: none; color: var(--color-main-l);}
+main a:visited {color: var(--color-main-l);}
+main a:hover {text-decoration: none; color: var(--color-main-d); background-color: var(--color-main-l);}
+main a:active {text-decoration: none; color: var(--color-main-l);}
+main a::after {font-size: 0.5rem; font-weight: 700; line-height: 0; vertical-align: super; content: "↗︎";}
+blockquote {margin: 1rem;}
+main hr {height: 1rem; width: 100%; margin: 0; border: none; border-bottom: 1px solid var(--color-main-l);}
+main pre {margin: 1rem; padding: 1rem; background: var(--color-code-d); border-radius: 5px;}
+main pre code {color: var(--color-main-l); margin: 0; line-height: 1rem; white-space: pre-wrap;}
+table {margin: 1rem; width: calc(100% - 2rem); border-collapse: collapse;}
+th,td {padding: 0 0.5rem; text-align: initial;}
+th {border-bottom: 1px solid var(--color-main-m); padding-bottom: 0.5rem;}
+td {padding-top: 0.5rem;}
+figure {display: flex; margin: 1rem; max-width: 100%; align-items: center; flex-direction: column;}
+figure a {font-size: 0; background-color: transparent;}
+figure a:hover {text-decoration: none; background-color: transparent;}
+figure a::after {display: none;}
+figure a img {max-width: 100%; max-height: calc(100vh - 2rem);}
+figure p {font-size: 0.75rem; font-style: italic; margin-top: 0.5rem; margin-bottom: 0; padding-bottom: 1rem; text-align: center;}
+footer {display: flex; flex-direction: row; justify-content: space-between; width: 100vw; min-height: 1rem; border-top: 1px solid var(--color-main-m); padding: 0.75rem 1rem; background-color: var(--color-main-d); color: var(--color-main-l);}
+footer p,footer a {font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 0.75rem; font-weight: 700; font-feature-settings: "case"; margin: 0; -webkit-hyphens: none; hyphens: none;}
+footer a {color: var(--color-main-l); cursor: pointer;}
+footer a:link {text-decoration: none;}
+footer a:visited{color: var(--color-main-l);}
+footer a:hover {color: var(--color-main-d); background-color: var(--color-main-l);}
+footer a:active {text-decoration: none;}
+footer img {align-self: center; height: 0.75rem;}
@media screen and (max-width: 800px) {
-html {font-size: 15px;}
-header {background-attachment: initial;}
-.bomber {margin-bottom: -5px;}
-.headerlogo {height: 14px;}
-.contentlevel {flex-direction: column;}
-nav {order: 2; position: static; width: 100vw; height: 50vh; border-top: 1px solid var(--color-main-m);}
-nav pre {font-size: 1rem; margin-top: -1rem;}
-main {padding: 1rem 10vw;}
-.toc {width: auto; border: none;}
-p,p strong,p em,li {hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;}
-p img {vertical-align: middle; transform: scale(0.75); -webkit-transform: scale(0.75); -ms-transform: scale(0.75);}
-figure p,footer p,footer a {font-size: 1rem;}
-footer img {height: 1rem; margin-left: 1rem;}
+html {font-size: 15px;}
+header {background-attachment: initial;}
+.bomber {margin-bottom: -5px;}
+.headerlogo {height: 14px;}
+.contentlevel {flex-direction: column;}
+nav {order: 2; position: static; width: 100vw; height: 50vh; border-top: 1px solid var(--color-main-m);}
+nav pre {font-size: 1rem; margin-top: -1rem;}
+main {padding: 1rem 10vw;}
+.toc {width: auto; border: none;}
+p,p strong,p em,li {-webkit-hyphens: auto; hyphens: auto;}
+p img {vertical-align: middle; -webkit-transform: scale(0.75); transform: scale(0.75);}
+figure p,footer p,footer a {font-size: 1rem;}
+footer img {height: 1rem; margin-left: 1rem;}
}
@media screen and (max-width: 500px) {
-header {background-image: url("/media/banner-m.png");}
-.bomber {font-size: 4rem;}
+.bomber {font-size: 4rem;}
}
@media print {
-html {font-size: 15px; --color-body-d: #fff; --color-main-d: #fff; --color-main-l: #000;}
-header {display: none;}
-nav {display: none;}
-nav.toc {display: block;}
-main {padding: 1rem 4rem;}
-main pre {background: #fff; border: 1px solid var(--color-main-m);}
-main img {filter: invert(100%); -webkit-filter: invert(100%);}
-p img {vertical-align: middle; transform: scale(0.75); -webkit-transform: scale(0.75); -ms-transform: scale(0.75);}
-figure a img {filter: none;}
-figure p {font-size: 1rem;}
-footer {display: none;}
+html {font-size: 15px; --color-body-d: #fff; --color-main-d: #fff; --color-main-l: #000;}
+header {display: none;}
+nav {display: none;}
+nav.toc {display: block;}
+main {padding: 1rem 4rem;}
+main pre {background: #fff; border: 1px solid var(--color-main-m);}
+main img {-webkit-filter: invert(100%); filter: invert(100%);}
+p img {vertical-align: middle; -webkit-transform: scale(0.75); transform: scale(0.75);}
+figure a img {filter: none;}
+figure p {font-size: 1rem;}
+footer {display: none;}
}