diff --git a/assets/css/components/global.css b/assets/css/components/global.css index d377f1c..673a40a 100644 --- a/assets/css/components/global.css +++ b/assets/css/components/global.css @@ -21,7 +21,7 @@ body { line-height: 1.6em; font-weight: 400; font-style: normal; - background: #fffbed; + background: #fff9e3; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; diff --git a/assets/css/index.css b/assets/css/index.css index f56d789..e3fc7d8 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -324,7 +324,7 @@ html, display: flex; flex-direction: column; min-height: 100vh; - background: #fffbed; + background: #fff9e3; } .gh-main { @@ -341,6 +341,10 @@ html, padding: 8vmin 3vmin; } +.post-header { + max-width: 900px; +} + .gh-title { font-family: var(--font-display); margin-bottom: 4vmin; @@ -372,7 +376,6 @@ html, .gh-postfeed > *:first-child { margin-bottom: 8rem; - max-width: 1000px; margin-left: auto; margin-right: auto; } @@ -380,20 +383,17 @@ html, .gh-postfeed > :first-child > * { display: grid; grid-template-columns: 1fr 1fr; + column-gap: 8rem; } - + .gh-postfeed > *:first-child .gh-card-title { - @apply text-size-xl/display; + @apply text-size-lg/display; text-transform: uppercase; margin-top: 0; - grid-column-start: 1; - grid-row-start: 1; padding: 0; } .gh-postfeed > *:first-child .gh-post-authors { - grid-column-start: 1; - grid-row-start: 2; padding: 0; } @@ -408,13 +408,13 @@ html, } .gh-postfeed > :first-child .gh-post-authors { - margin-top: 2rem; + margin-top: 4rem; font-size: 1.85rem; } .gh-postfeed > *:first-child .gh-card-image-wrapper { - margin-top: auto; - margin-bottom: 2.5rem; + grid-column-start: 2; + margin: auto 0 auto 0; } .gh-postfeed > *:first-child .gh-card-picture { @@ -433,6 +433,14 @@ html, } } +@media (min-width: 1300px) { + + .gh-postfeed > *:first-child { + margin-left: -50px; + margin-right: -50px; + } +} + .gradient-line-horizontal { width: 100%; height: 6px; diff --git a/partials/card.hbs b/partials/card.hbs index dd6c516..fc38453 100644 --- a/partials/card.hbs +++ b/partials/card.hbs @@ -49,15 +49,18 @@ Re-usable card for linking to posts {{/if}} -
{{excerpt}}
--}} - {{!-- --}} -