diff --git a/assets/css/site.css b/assets/css/site.css index a683224..cace71a 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -1,26 +1,41 @@ -:root { +:root +{ --bg: #f0ede6; --text: #171717; --hover: #070707; - --muted: #676767; + --muted: #575757; --faded: #979797; - --primary: #00b0CD; + --primary: #00b0cd; --secondary: #80c0cc; - --gray: #6f6f6f; - --pink: #E463D2; - --cyan: #00C4D8; - --green: #00D771; - --blue: #2096F6; - --orange: #E78B05; + + --yellow: #ECAF21; + --yellow-body: #E29900; + --red: #eb452b; + --red-body: #de342a; + --blue: #3157AE; /*#2F4C8E;*/ + --blue-body: #0070C0; + --black: #272727; + --bg1: #E5DAD2; + --green-body: #03A653; + + --darkcyan: #008694; + + --lightblue: #e6f3fe; + --lightcyan: #e2ffff; /*--line: rgba(23, 23, 23, 0.12);*/ --line: #272727; --light: #dfdfdf; --white: #f7f7f7; --surface: rgba(255, 255, 255, 0.28); + --font-sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; --font-serif: "Source Serif", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; + --column-width: min(72rem, calc(100% - 3rem)); --content-width: min(48rem, calc(100% - 3rem)); + --article-grid: 1fr; + --article-gap: 2rem; + --article-top: 0; } * { @@ -36,35 +51,19 @@ a { color: inherit; font-weight: 500; text-decoration: underline; - text-decoration-thickness: 1px; + text-decoration-thickness: 1.5px; text-underline-offset: 0.2rem; &:hover { color: var(--hover); text-decoration: underline; - text-decoration-thickness: 1px; + text-decoration-thickness: 1.5px; text-underline-offset: 0.2rem; } } -.icon { - align-items: center; - display: inline-flex; - flex: 0 0 auto; - height: 1em; - justify-content: center; - line-height: 1; - width: 1em; -} - -.icon svg { - display: block; - height: 100%; - width: 100%; -} - h1 { - font-size: clamp(2.5rem, 10dvw, 4rem); + font-size: clamp(2.25rem, 9dvw, 4rem); font-weight: 700; letter-spacing: -0.5px; line-height: 1; @@ -72,17 +71,33 @@ h1 { } h2 { - font-size: clamp(1.5rem, 4vw, 2rem); - font-weight: 700; - line-height: 1.3; + font-size: clamp(1.75rem, 2.25dvw, 2.375rem); + font-weight: 800; + line-height: 1.1; margin: 0 0 1.5rem; + padding-top: 2rem; + text-shadow: 0 1px 0 #fff; } h3 { - color: var(--muted); - font-size: 1.4rem; - font-weight: 700; + color: var(--text); + font-size: clamp(1.33rem, 3vw, 1.625rem); + font-weight: 800; line-height: 1.3; + margin-top: 2rem; + margin-bottom: 1rem; + text-shadow: 0 1px 0 #fff; + + #impact & { + font-size: 1.1rem; + } +} + +h4 { + font-size: 1.1rem; + font-weight: 800; + margin-bottom: 0; + text-shadow: 0 1px 0 #fff; } body { @@ -94,7 +109,7 @@ body { display: grid; font-family: var(--font-sans); grid-template-rows: 5rem 1fr auto; - line-height: 1.6; + line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; width: 100dvw; @@ -110,13 +125,14 @@ body { /* site header */ > header { - border-bottom: 1px solid var(--light); + border-bottom: 1px solid var(--black); padding: 0 1.5rem; + position: relative; .title { align-items: center; display: flex; - gap: 1rem; + gap: 0.75rem; height: 100%; align-items: stretch; } @@ -126,57 +142,82 @@ body { align-items: center; display: flex; font-size: 1.5rem; - gap: 0.5rem; + gap: 0.5rem;; text-decoration: none; + + &:hover { + text-decoration: underline; + } } .logo { font-weight: 700; + letter-spacing: -0.04rem } .page { - font-weight: 700; + font-weight: 800; } .logo:has(+ .page) { - color: var(--faded); + font-weight: 500; + letter-spacing: 0; } - .scheme { - color: var(--faded); - } - - .param { - color: var(--text); - } - - nav { + /* right menu */ + menu { align-items: center; display: none; - gap: 1.5rem; + gap: 1rem; font-size: 1rem; + list-style: none; - a { - text-decoration: none; + a:hover { + color: #000; + text-decoration-thickness: 2.5px; } } + + /* line detail */ + &::before, + &::after { + content: ''; + display: block; + width: calc(100% + 1.5rem); + height: 1px; + background: var(--black); + position: absolute; + bottom: -5px; + left: -1.5rem; + } + &::after { + bottom: -9px; + } } /* site footer */ > footer { - color: var(--muted); + background: var(--black); + color: var(--white); display: flex; flex-direction: column; + font-size: 0.875rem; gap: 2rem; - padding-top: 2rem; + line-height: 1.4; + padding: 2rem 1.5rem; + justify-content: center; section { - width: var(--column-width); + display: grid; + grid-template-columns: var(--article-grid); + gap: var(--article-gap); + justify-content: center; } #footnotes ul { + grid-column-start: 2; list-style: none; - margin: 0; + margin: 0 0 0 -1.5rem; padding: 0; li { @@ -185,90 +226,157 @@ body { span.symbol { font-size: 1.25rem; + margin-top: -3px; + } + } + } + + #end { + padding-bottom: 2rem; + + .text { + grid-column-start: 2; + } + } + + big { + color: var(--white); + font-size: 1.5rem; + font-weight: bold; + } + } +} + +/* + *
is case study wrapper and includes: + * 1.
is the initial full screen pane + * 2.
{{- with .Params.study.toc -}} @@ -46,9 +70,8 @@ {{- end -}} -
{{ .Content }}
-{{- end -}} \ No newline at end of file +{{- end -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ef4f4ce..c65bbba 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,6 +9,7 @@ {{- if gt (len $footnotes) 0 -}}
+ Ag