Skip to content

Commit

Permalink
wip(front): adjust breakpoint padding on CV page (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Feb 7, 2024
1 parent c7d99c4 commit 49735af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 0 additions & 2 deletions front/src/lib/styles/pages/cv.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@import '../components/cv-timeline.css';

.cv.meat {
padding: 2.33rem;
max-width: 64rem;
h1.page-heading {
font-family: var(--font-psbl);
letter-spacing: -0.0875rem;
Expand Down
13 changes: 12 additions & 1 deletion front/src/routes/cv/[collection]/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</script>

<PageTransition transitionKey={slug}>
<section class="cv meat {collection}">
<section class="cv meat singleton {collection}">
<span class="flourish" />
<a id="main">Main Content</a>
{#if itemData}
Expand All @@ -56,3 +56,14 @@
<Meta {pageMeta} />
{/key}
{/if}

<style lang="postcss">
.singleton {
max-width: 64rem;
}
@media screen and (min-width: 640px) {
.singleton {
padding: 2.33rem;
}
}
</style>

0 comments on commit 49735af

Please sign in to comment.