diff options
author | eudoxia <uplink@distress.network> | 2021-06-23 02:29:57 -0400 |
---|---|---|
committer | eudoxia <uplink@distress.network> | 2021-06-23 02:29:57 -0400 |
commit | 24a9d5c83b8237625e386a152263cc417896da17 (patch) | |
tree | 497e6a25d03869d9816a5a7736a8ed5f8613ae18 | |
parent | 44fea068c257d56ab249a3d4b24a5b0a9f97dcf9 (diff) |
css: broadly more layout adjustments; other misc fixes
-rwxr-xr-x | css/main.css | 42 | ||||
-rwxr-xr-x | index.html | 4 | ||||
-rwxr-xr-x | meta/styletest/index.html | 10 | ||||
-rwxr-xr-x | meta/styletest/src.md | 4 | ||||
-rwxr-xr-x | meta/todo/index.html | 1 | ||||
-rwxr-xr-x | sitemap.xml | 2 |
6 files changed, 34 insertions, 29 deletions
diff --git a/css/main.css b/css/main.css index f3ff528..769f97b 100755 --- a/css/main.css +++ b/css/main.css @@ -13,11 +13,11 @@ font-size: 20px; } body {background-color: var(--color-body-d); color: var(--color-main-l); margin: 0;} -header {display: flex; justify-content: center; flex-direction: column; position: static; height: 80vh; color: var(--color-head-d); 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", "ss04", "ss05"; -webkit-hyphens: auto; hyphens: auto; letter-spacing: -2px; line-height: 1; width: 80vw; margin-bottom: -10px; 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;} +header {display: flex; justify-content: center; flex-direction: column; position: static; height: 75vh; color: var(--color-head-d); 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: 12.5vw;} +.bomber {font-family: schnyder-xl, Didot, serif; font-weight: 400; font-style: italic; font-size: 5rem; font-feature-settings: "case", "ss01", "ss04", "ss05"; -webkit-hyphens: auto; hyphens: auto; letter-spacing: -2px; line-height: 1; width: 75vw; margin-bottom: -10px; padding-left: 10px;} +header hr {width: 75vw; 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 12.5vw; 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; color: var(--color-head-d); cursor: pointer;} .ident a:link {text-decoration: none;} @@ -26,17 +26,17 @@ header hr {width: 80vw; height: 0; border: none; border-top: 1px solid var(--col .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;} -nav pre {margin: 0; color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; font-size: 0.5rem; line-height: 1.25em;} +nav {flex: 0 0 25%; padding: 1rem; position: -webkit-sticky; position: sticky; top: 0; height: 100vh; overflow-x: hidden; overflow-y: auto;} +nav pre {margin: 0; color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; font-size: 0.75rem; line-height: 1.25em;} 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(5% 0% 5% 0%);} nav a:active {color: var(--color-main-l); text-decoration: none;} -main {order: 2; flex: 1 1 90%; min-height: 100vh; padding: 1rem; padding-right: calc(20vw + 1rem); overflow-x: hidden;} +main {order: 2; flex: 1 1 75%; min-height: 100vh; padding: 1rem 0; padding-right: 25vw; overflow-x: hidden;} .leading,h1,h2 {font-family: neue-haas-grotesk-display, var(--fs-sans); line-height: 1;} .leading {font-size: 2.5rem; font-weight: 300; font-style: italic; border: 0; padding: 0;} -.toc {margin: 1rem; padding: 0; height: auto;} +.toc {margin: 0; padding: 0 1rem; height: auto;} .toc li {text-align: left;} .toc a:hover {clip-path: none;} h1 {font-size: 2.5rem; font-weight: 700; margin: 1rem 0 0;} @@ -47,7 +47,7 @@ p,td {font-weight: 400;} p strong,th {font-weight: 700;} p em {font-style: italic;} p img {vertical-align: baseline;} -ul,ol {margin: 1rem; padding: 0 0 0 1rem;} +ul,ol {margin: 1rem 0; padding: 0 0 0 1rem;} ul ul,ol ol {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;} @@ -55,19 +55,19 @@ 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: "↗︎";} +main a::after {font-family: var(--fs-mono); font-size: 0.667rem; font-weight: 700; line-height: 0; vertical-align: super; content: "↗︎";} sup {line-height: 0;} sup a {font-size: 0.667rem; font-weight: 400;} sup a::after {content: none;} blockquote {margin: 1rem; padding-left: 1rem; border-left: 1px solid var(--color-main-m);} 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 {margin: 1rem 0; padding: 1rem; background: var(--color-code-d); border-radius: 5px;} main pre code {margin: 0; line-height: 1.25rem; 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 {display: flex; margin: 1rem 0; max-width: 100%; align-items: center; flex-direction: column;} figure a {font-size: 0;} figure a:hover {text-decoration: none; background-color: transparent;} figure a::after {display: none;} @@ -84,16 +84,22 @@ 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) { +@media screen and (max-width: 960px) { +.contentlevel {flex-direction: column;} +nav {order: 2; position: static; width: 100vw; height: 50vh; border-top: 1px solid var(--color-main-m); padding: 1rem 12.5vw;} +.toc {border: none;} +main {padding: 1rem 12.5vw;} +} + +@media screen and (max-width: 720px) { 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); padding: 1rem 10vw;} +nav {padding: 1rem 2rem;} nav pre {font-size: 1rem;} -main {padding: 1rem 10vw;} -.toc {width: auto; margin: 1rem 0; border: none;} +main {padding: 1rem 2rem;} +.toc {width: auto;} 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);} main pre,figure,table {margin: 1rem 0;} @@ -11,8 +11,8 @@ <link rel="manifest" href="/favicon/site.webmanifest"> <style> .bg {display: flex; justify-content: center; flex-direction: column; min-height: 100vh; background-image: url("media/clouds-m.png"); background-size: cover; background-position: center center; background-attachment: fixed; image-rendering: crisp-edges; image-rendering: pixelated;} - .main {flex-direction: row; justify-content: flex-start; padding: 10vw;} - .main img {height: 32px; image-rendering: unset;} + .main {flex-direction: row; justify-content: flex-start; padding: 12.5vw;} + .main img {height: 1.5rem; image-rendering: unset;} nav {flex: none; width: unset; height: unset; position: static; padding: 0; background: none; border: none; overflow: hidden;} nav pre {font-size: 0.75rem;} @media screen and (max-width: 800px) {nav pre {font-size: 1rem;}} diff --git a/meta/styletest/index.html b/meta/styletest/index.html index 25e4866..c812c86 100755 --- a/meta/styletest/index.html +++ b/meta/styletest/index.html @@ -12,14 +12,14 @@ <script src="/js/bg.js"></script> <title>Style Template — DistressNetwork°</title> <meta name="description" content="«BOMBER TEXT» — Title & Explanatory Phrase" /> -<meta http-equiv="last-modified" content="2021-02-19 13:01:00-05:00" /> +<meta http-equiv="last-modified" content="2021-06-23 01:59:52-04:00" /> </head> <body> <header> <div class="bomber">BOMBER TEXT</div> <hr> <div class="identcontainer"> -<div class="ident"><time datetime="2021-02-19 13:01:00-05:00">210219</time>––––<a href="https://distress.network">DistressNetwork°</a></div> +<div class="ident"><time datetime="2021-06-23 01:59:52-04:00">210623</time>––––<a href="https://distress.network">DistressNetwork°</a></div> <img class="headerlogo" src="/media/distressnetwork-b.svg" alt=""> </div> </header> @@ -132,13 +132,13 @@ Level Three</p> <tbody> <tr> <td>And blood-black nothingness began to spin,</td> -<td>A system of cells interlinked</td> -<td>within Cells interlinked</td> +<td>A system of cells interlinked within</td> +<td>Cells interlinked within cells interlinked</td> </tr> <tr> -<td>within cells interlinked</td> <td>Within one stem; And dreadfully distinct</td> <td>against the dark, a tall white fountain played.</td> +<td><em>(Nabokov, 1962)</em></td> </tr> </tbody> </table> diff --git a/meta/styletest/src.md b/meta/styletest/src.md index e466c5a..f3ba1e9 100755 --- a/meta/styletest/src.md +++ b/meta/styletest/src.md @@ -59,8 +59,8 @@ Left Cell | Center Cell | Right Cell Long | Cell | Test --- | --- | --- -And blood-black nothingness began to spin, | A system of cells interlinked | within Cells interlinked -within cells interlinked | Within one stem; And dreadfully distinct | against the dark, a tall white fountain played. +And blood-black nothingness began to spin, | A system of cells interlinked within | Cells interlinked within cells interlinked +Within one stem; And dreadfully distinct | against the dark, a tall white fountain played. | *(Nabokov, 1962)* # Image Test diff --git a/meta/todo/index.html b/meta/todo/index.html index ed7fc3a..e531015 100755 --- a/meta/todo/index.html +++ b/meta/todo/index.html @@ -10,7 +10,6 @@ <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png"> <link rel="manifest" href="/favicon/site.webmanifest"> <title>To Do — DistressNetwork°</title> -<meta name="description" content="«FOR INTERNAL USE ONLY.» — To Do:" /> <meta http-equiv="last-modified" content="2020-12-31 21:02:55-05:00" /> </head> <body> diff --git a/sitemap.xml b/sitemap.xml index 4959bc7..1f4c1d1 100755 --- a/sitemap.xml +++ b/sitemap.xml @@ -10,7 +10,7 @@ xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>https://distress.network/meta/sitemap/</loc><lastmod>2021-02-01T00:24:46-05:00</lastmod></url> -<url><loc>https://distress.network/meta/styletest/</loc><lastmod>2021-02-19T13:01:00-05:00</lastmod></url> +<url><loc>https://distress.network/meta/styletest/</loc><lastmod>2021-06-23T01:59:52-04:00</lastmod></url> <url><loc>https://distress.network/meta/todo/</loc><lastmod>2020-12-31T21:02:55-05:00</lastmod></url> |