Skip to content

Commit

Permalink
Merge pull request #1768 from jungvonmatt/feature/fix-getinvloved-text
Browse files Browse the repository at this point in the history
fix get-involved-banner text color
  • Loading branch information
matthiasrohmer authored Apr 8, 2019
2 parents 2a56e20 + 5cfa997 commit 18b3dd8
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 16 deletions.
2 changes: 1 addition & 1 deletion frontend/scss/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ html, body {
padding: 0;
margin: 0;
min-width: 320px;
color: color('black');
color: color('river-bed');
background-color: #fff;
font-size: 16px;
font-family: sans-serif;
Expand Down
9 changes: 4 additions & 5 deletions frontend/scss/components/organisms/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@

.#{utility('banner')} {
margin: 0 -30px;
padding: 30px 30px;
padding: 60px 30px;
background-color: color('blue-ribbon');

@media (min-width: 930px) {
padding: 70px 90px 70px 90px;
padding: 90px;
}
}

.#{organism('banner')} {

&-headline, &-copy {
color: color('white');
&-headline, p {
max-width: 720px;
color: color('white');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ <h2 class="ap-o-video-slider-text">Featured Videos</h2>

{% do doc.styles.addCssFile('/css/components/organisms/banner.css') %}
<section class="ap--banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
<div class="ap-o-banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ <h2 class="ap-o-video-slider-text">Featured Videos</h2>

{% do doc.styles.addCssFile('/css/components/organisms/banner.css') %}
<section class="ap--banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
<div class="ap-o-banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ <h2 class="ap-o-video-slider-text">Featured Videos</h2>

{% do doc.styles.addCssFile('/css/components/organisms/banner.css') %}
<section class="ap--banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
<div class="ap-o-banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ <h2 class="ap-o-video-slider-text">Featured Videos</h2>

{% do doc.styles.addCssFile('/css/components/organisms/banner.css') %}
<section class="ap--banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
<div class="ap-o-banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ <h2 class="ap-o-video-slider-text">Featured Videos</h2>

{% do doc.styles.addCssFile('/css/components/organisms/banner.css') %}
<section class="ap--banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
<div class="ap-o-banner">
<h2 class="ap-o-banner-headline">Get Involved</h2>
<p class="ap-o-banner-copy">AMP is proudly an open source project with an active community of contributors. We welcome and appreciate documentation and translation contributions! Check out our community section to join our mission to make the web suck less.</p>
</div>
</section>

0 comments on commit 18b3dd8

Please sign in to comment.