Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/inline-hero-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
grid-template-areas: "logo tagline" "logo cta";
}
.hero .logo, .hero .tagline, .hero .cta {
max-width: calc(var(--content-max-width) / 1.5);
max-width: calc(var(--content-max-width) / 1.90);
}
.hero .logo {
justify-self: end;
Expand Down
6 changes: 5 additions & 1 deletion _includes/inline-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
:root {
--header-height: 4rem;
--content-inline-padding: 1.3rem;
--content-max-width: 80ch;
--content-max-width: 100ch;
/* define our palette for all themes */
--white: #fff;
--gray-100: #f3f4f6;
Expand Down Expand Up @@ -340,6 +340,10 @@ main {
margin: 2rem auto;
}

main.front {
max-width: calc(var(--content-max-width) - 20ch);
}

nav.article-nav {
display: flex;
flex-direction: row;
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{%- include hero.html -%}
{% endif %}

<main id="main">
<main id="main" class="front">
{%- include article.html article=site.posts.first -%}
</main>

Expand Down
Loading