Skip to content

Commit

Permalink
add variables.scss and add custom plan in howit works page
Browse files Browse the repository at this point in the history
  • Loading branch information
verasunyy committed Jun 19, 2019
1 parent 08605c7 commit 3955b36
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions themes/rcforward/page-how-it-works.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</div>
<?php get_template_part( 'template-parts/content', 'why-donate' ); ?>
<?php get_template_part( 'template-parts/content', 'charities' ); ?>
<?php get_template_part('template-parts/content', 'custom-plan'); ?>

<?php endwhile; // End of the loop. ?>

Expand Down
12 changes: 12 additions & 0 deletions themes/rcforward/sass/_front-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,21 @@
.home{
text-align:center;
.entry-header{
padding:$content__padding;
display:flex;
.header-content{
flex-basis:50%;
a{
// @include button();
// display:inline-block;
width:8rem;
margin:auto 1rem;
}
.donate-page-button{
color:$code__blue;
border:1px solid $code__blue;

}
}
}

Expand Down
3 changes: 2 additions & 1 deletion themes/rcforward/sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ $white: #fff;
// RC Fonts
$gotham__font: 'Montserrat Light', sans-serif;

// RC Mixins
// Screen Size
$tablet-width: 600px;
$desktop-width: 1000px;
$max-screen-size: 1440px;
$max-content-size: 900px;

// Typography

Expand Down
7 changes: 7 additions & 0 deletions themes/rcforward/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -839,12 +839,19 @@ ol.flickity-page-dots {
.home {
text-align: center; }
.home .entry-header {
padding: 2rem 6rem;
display: -webkit-box;
display: -ms-flexbox;
display: flex; }
.home .entry-header .header-content {
-ms-flex-preferred-size: 50%;
flex-basis: 50%; }
.home .entry-header .header-content a {
width: 8rem;
margin: auto 1rem; }
.home .entry-header .header-content .donate-page-button {
color: #00BEA8;
border: 1px solid #00BEA8; }
.home .choose-fund {
padding: 2rem 6rem; }
.home .choose-fund .choose-fund-subtitle {
Expand Down

0 comments on commit 3955b36

Please sign in to comment.