From 634562f0bf6d4c1c5a4bebba41f6f7aadd72fa6c Mon Sep 17 00:00:00 2001 From: eudoxia Date: Mon, 19 Apr 2021 17:53:29 -0400 Subject: css: more layout adjustments --- css/main.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/main.css b/css/main.css index 55d711b..5b011a6 100755 --- a/css/main.css +++ b/css/main.css @@ -40,7 +40,7 @@ main {order: 2; flex: 1 1 90%; min-height: 100vh; padding: 1rem; padding-right: .toc li {text-align: left;} .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;} +h2 {font-size: 1.75rem; line-height: 2rem; 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;} @@ -72,11 +72,11 @@ figure a {font-size: 0;} 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: 0; padding: 0.5rem 0; text-align: center;} +figure p {font-size: 0.75rem; line-height: 1rem; font-style: italic; margin: 0; padding: 0.5rem 0; text-align: center;} .footnotes a[rev=footnote] {font-size: 0.75rem;} .footnotes a[rev=footnote]::after {content: none;} footer {display: flex; flex-direction: row; justify-content: space-between; 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; text-align: left;} +footer p,footer a {font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 0.75rem; line-height: 1rem; font-weight: 700; font-feature-settings: "case"; margin: 0; -webkit-hyphens: none; hyphens: none; text-align: left;} footer a {color: var(--color-main-l); cursor: pointer;} footer a:link {text-decoration: none;} footer a:visited{color: var(--color-main-l);} @@ -96,7 +96,7 @@ 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;} +figure p,footer p,footer a {font-size: 1rem; line-height: 1.25rem;} footer img {height: 1rem; margin-left: 1rem;} } -- cgit v1.2.3