Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit 533776a

Browse files
committed
Move heading into Container blocks.
The “emphasized” modifier doesn’t include the built-in gutters that the original “banner” had.
1 parent 8fbd5ff commit 533776a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/themes/dosomething/paraneue_dosomething/templates/campaign/node--campaign--sms-game.tpl.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,9 @@
109109

110110

111111
<section id="do" class="container container--do inline-alt-background-color">
112-
<h2 class="heading -banner"><span><?php print t('Step 2: Do It'); ?></span></h2>
113112
<div class="wrapper">
114-
115113
<div class="container__block -narrow">
114+
<h2 class="heading -emphasized -inverse"><span><?php print t('Step 2: Do It'); ?></span></h2>
116115
<?php if (isset($starter_header)) : ?>
117116
<h3 class="inline-alt-text-color"><?php print $starter_header; ?></h3>
118117
<?php endif; ?>

lib/themes/dosomething/paraneue_dosomething/templates/campaign/node--campaign.tpl.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@
129129

130130
<?php // PLAN IT ////////////////////////////////////////////////////// ?>
131131
<section id="plan" class="container -padded">
132-
<h2 class="heading -banner"><span><?php print t('Step 2: Plan It'); ?></span></h2>
133132
<div class="wrapper">
134133
<div class="container__block">
134+
<h2 class="heading -emphasized"><span><?php print t('Step 2: Plan It'); ?></span></h2>
135135
<?php if (isset($starter)) : ?>
136136
<?php print $starter['safe_value']; ?>
137137
<?php endif; ?>
@@ -304,10 +304,9 @@
304304

305305
<?php // PROVE IT ////////////////////////////////////////////////////// ?>
306306
<section id="prove" class="container container--prove inline-alt-background-color">
307-
<h2 class="heading -banner -inverse"><span><?php print t('Step 4: Prove It'); ?></span></h2>
308-
309307
<div class="wrapper">
310308
<div class="container__block">
309+
<h2 class="heading -emphasized -inverse"><span><?php print t('Step 4: Prove It'); ?></span></h2>
311310
<h3 class="inline-alt-text-color"><?php print t('Pics or It Didn&rsquo;t Happen'); ?></h3>
312311
<?php if (isset($reportback_copy)): ?>
313312
<p class="copy inline-alt-text-color"><?php print $reportback_copy; ?></p>
@@ -334,7 +333,9 @@
334333
<div class="reportback__spacer"></div>
335334

336335
<div data-modal id="modal--crop" class="modal--crop" role="dialog">
337-
<h2 class="heading -banner"><?php print t('Edit your photo'); ?></h2>
336+
<div class="modal__block">
337+
<h2><?php print t('Edit your photo'); ?></h2>
338+
</div>
338339
<div class="image-preview"><!-- Preview image inserted with js --></div>
339340
<div class="image-editor">
340341
<div class="__buttons">

0 commit comments

Comments
 (0)