Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change vertical spacing everywhere #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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 site/layouts/partials/2-up.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-off-white pv4">
<div class="bg-off-white pv3">
<div class="ph3 mw7 center">
<h2 class="f2 b lh-title mb2">{{.intro.heading}}</h2>
<p class="mb4 mw6">{{.intro.text}}</p>
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/4-up.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-off-white pv4">
<div class="bg-off-white pv3">
<div class="ph3 mw7 center">
<h2 class="f2 b lh-title mb2">{{.heading}}</h2>
<p class="mb4 mw6">{{.description}}</p>
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="bg-black ph3 pv4 white">
<footer class="bg-black ph3 pv3 white">

<div class="mw7 center pt3">

Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/image-grid.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="mw7 center ph3 pv4">
<div class="mw7 center ph3 pv3">

<div class="flex flex-wrap mhn1">
<div class="w-100 w-50-ns ph1-ns">
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/registration-intro.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-off-white pv4 ph3">
<div class="bg-off-white pv3 ph3">
<div class="mw7 center">
<h2 class="f2 b lh-title mb3">{{.heading}}</h2>
<div class="flex-ns">
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/partials/short-text.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="bg-grey-1 pv4">
<div class="bg-grey-1 pv3">
<div class="flex-l mhn1-l ph3 center mw7">
<h2 class="f2 b lh-title mb2 w-40-l">{{.heading}}</h2>
<h2 class="f2 b lh-title w-40-l">{{.heading}}</h2>
<p class="w-60-l mb0">{{.text}}</p>
</div>
</div>
2 changes: 1 addition & 1 deletion site/layouts/partials/table.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-off-white pv4 ph3">
<div class="bg-off-white pv3 ph3">

<div class="mw7 center">

Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/text-and-image.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-grey-1 pv4">
<div class="bg-grey-1 pv3">
<div class="ph3 mw7 center">
<h2 class="f2 b lh-title mb2">{{.heading}}</h2>
<div class="flex-l mhn2-l">
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/text-and-link.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-off-white pv4">
<div class="bg-off-white pv3">
<div class="ph3 mw7 center">
<h2 class="f2 b lh-title mb2">{{.heading}}</h2>
<p class="mb4 mw6">{{.text}}</p>
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/text-and-video.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-off-white pv4">
<div class="bg-off-white pv3">
<div class="ph3 mw7 center">
<h2 class="f2 b lh-title mb2">{{.heading}}</h2>
<div class="mb4 mw6 cms">
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/partials/wide-text.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="bg-grey-1 pv4">
<div class="bg-grey-1 pv3">
<div class="ph3 center mw7">
<h2 class="f2 b lh-title mb2">{{.heading}}</h2>
<h2 class="f2 b lh-title">{{.heading}}</h2>
<div class="mb0 cms">
<p>{{.text | markdownify }}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/section/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="flex-ns center mw7 pv3">

<div class="w-40-ns order-last">
<img src="{{ .Params.logo }}" alt="" class="db w5 center pv4">
<img src="{{ .Params.logo }}" alt="" class="db w5 center pv3">
</div>
<div class="w-60-ns">
<div class="cms">{{ .Content }}</div>
Expand Down
4 changes: 2 additions & 2 deletions src/js/cms-preview-templates/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export default class AboutPreview extends React.Component {
return <div>
<Jumbotron image={image} title={entry.getIn(["data", "title"])} />

<div className="bg-grey-1 pv4">
<div className="bg-grey-1 pv3">
<div className="ph3 center mw7">
<h2 className="f2 b lh-title mb2">{entry.getIn(["data", "blurb", "heading"])}</h2>
<p className="cms mb0">{widgetsFor("blurb").get("widgets").get("text")}</p>
</div>
</div>

<div className="bg-off-white pv4">
<div className="bg-off-white pv3">
<div className="mw7 center ph3 pt4">
{items.map(({text, heading, imageUrl}, i) =>
<MediaBlock key={i} text={getItemTextWidget(i)} heading={heading} imageUrl={imageUrl} reverse={i % 2 === 0} />
Expand Down
2 changes: 1 addition & 1 deletion src/js/cms-preview-templates/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class ContactPreview extends React.Component {
return <div className="ph3 bg-off-white">
<div className="flex-ns center mw7 pv3">
<div className="w-40-ns order-last">
<img src={getAsset(entry.getIn(["data", "logo"]))} alt="" className="db w5 center pv4" />
<img src={getAsset(entry.getIn(["data", "logo"]))} alt="" className="db w5 center pv3" />
</div>
<div className="w-60-ns">
<div className="center mw6 pv3">
Expand Down
6 changes: 3 additions & 3 deletions src/js/cms-preview-templates/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ export default class PostPreview extends React.Component {
<div>
<Jumbotron image={image} title={entry.getIn(["data", "title"])} subtitle={entry.getIn(["data", "subtitle"])} />

<div className="bg-grey-1 pv4">
<div className="bg-grey-1 pv3">
<div className="flex-l mhn1-l ph3 center mw7">
<h2 className="f2 b lh-title mb2 w-40-l">{entry.getIn(["data", "blurb", "heading"])}</h2>
<p className="w-60-l mb0">{entry.getIn(["data", "blurb", "text"])}</p>
</div>
</div>

<div className="bg-off-white pv4">
<div className="bg-off-white pv3">
<div className="ph3 mw7 center">
<h2 className="f2 b lh-title mb2">{entry.getIn(["data", "intro", "heading"])}</h2>
<p className="cms mb4 mw6">{widgetsFor("intro").get("widgets").get("text")}</p>
Expand All @@ -45,7 +45,7 @@ export default class PostPreview extends React.Component {
</div>
</div>

<div className="bg-grey-1 pv4">
<div className="bg-grey-1 pv3">
<div className="ph3 mw7 center">
<h2 className="f2 b lh-title mb2">{entry.getIn(["data", "about", "heading"])}</h2>
<div className="flex-l mhn2-l">
Expand Down
4 changes: 2 additions & 2 deletions src/js/cms-preview-templates/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class PostPreview extends React.Component {
return <div>
<Jumbotron image={image} title={entry.getIn(["data", "title"])} />

<div className="bg-off-white pv4 ph3">
<div className="bg-off-white pv3 ph3">
<div className="mw7 center">
<h2 className="f2 b lh-title mb3">{entry.getIn(["data", "intro", "heading"])}</h2>
<div className="flex-ns">
Expand All @@ -47,7 +47,7 @@ export default class PostPreview extends React.Component {
</div>
</div>

<div className="bg-off-white pv4 ph3">
<div className="bg-off-white pv3 ph3">
<div className="mw7 center">

<h2 className="f2 b lh-title mb3">{entry.getIn(['data', 'pricing', 'heading'])}</h2>
Expand Down