diff options
author | eudoxia <uplink@distress.network> | 2021-04-19 18:24:32 -0400 |
---|---|---|
committer | eudoxia <uplink@distress.network> | 2021-04-19 18:24:32 -0400 |
commit | 44fea068c257d56ab249a3d4b24a5b0a9f97dcf9 (patch) | |
tree | 0df351ffba579863c468057bf107dacdb54e9497 | |
parent | 634562f0bf6d4c1c5a4bebba41f6f7aadd72fa6c (diff) |
css: mobile display layout adjustments
-rwxr-xr-x | css/main.css | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/css/main.css b/css/main.css index 5b011a6..f3ff528 100755 --- a/css/main.css +++ b/css/main.css @@ -19,7 +19,7 @@ header {display: flex; justify-content: center; flex-direction: column; positio 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;} +.ident a {text-decoration: none; color: var(--color-head-d); cursor: pointer;} .ident a:link {text-decoration: none;} .ident a:visited{color: var(--color-head-d);} .ident a:hover {text-decoration: none;} @@ -93,10 +93,13 @@ header {background-attachment: initial;} nav {order: 2; position: static; width: 100vw; height: 50vh; border-top: 1px solid var(--color-main-m); padding: 1rem 10vw;} nav pre {font-size: 1rem;} main {padding: 1rem 10vw;} -.toc {width: auto; border: none;} +.toc {width: auto; margin: 1rem 0; 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; line-height: 1.25rem;} +main pre,figure,table {margin: 1rem 0;} +table {width: auto;} +footer {padding: 1rem;} +figure p,footer p,footer a {font-size: 1rem; line-height: 1.5rem;} footer img {height: 1rem; margin-left: 1rem;} } |