Skip to content

Commit

Permalink
accept incoming change on the donate button sylying in content.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
verasunyy committed Jun 18, 2019
2 parents 20d2ea3 + 13446c5 commit 2ce9fa0
Show file tree
Hide file tree
Showing 9 changed files with 411 additions and 147 deletions.
4 changes: 1 addition & 3 deletions themes/rcforward/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

<?php wp_head(); ?>
</head>

Expand All @@ -20,8 +21,6 @@
<a class="skip-link screen-reader-text" href="#content"><?php echo esc_html( 'Skip to content' ); ?></a>

<header id="masthead" class="site-header" role="banner">
<div class="header-container">

<div class="site-logo">
<a href="<?php echo home_url('/'); ?>" rel="home">
<h1 class="rcforward-logo">Rc Forward</h1>
Expand All @@ -39,7 +38,6 @@
<nav id="site-navigation" class="main-navigation" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?>
</nav>
</div><!--.header-container -->
</header><!-- .site-header -->

<div id="content" class="site-content">
2 changes: 1 addition & 1 deletion themes/rcforward/js/counter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function($) {
$(function() {
$('.counter').counterUp({
delay: 10,
delay: 20,
time: 2000
});
}); // end doc ready
Expand Down
9 changes: 3 additions & 6 deletions themes/rcforward/js/hamburger.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@
$(function() {
// check if the toggle nav is visible e.g. mobile only
if ($('.hamburger').css('display') !== 'none') {
console.log('is mobile');
// hamburger menu
$('#toggle-nav').on('click', function() {
$('#primary-menu').slideToggle('is-active');
$('#primary-menu').slideToggle();
});
// about us dropdown
$('#menu-item-71').on('click', function() {
$('.sub-menu').slideToggle('is-active');
$('.sub-menu').slideToggle();
});
} // end if
else {
console.log('not mobile');
}

}); // end doc ready
})(jQuery);
90 changes: 76 additions & 14 deletions themes/rcforward/sass/_charity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,91 @@
img {
object-fit: cover;
width: 100%;
height: 100vh;
height: 70vh;
}
}
.charity-logo-container {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
// background: white;
// display: flex;
// align-items: center;
// justify-content: center;
// width: 25%;
// height: 25%;
border-radius: -3px;
bottom: 0;
text-align: center;
bottom: -10px;
background: $white;
width: 200px;
height: 200px;
border-radius: 50%;
bottom: -61px;
padding-left: 35px;
padding-right: 35px;
left: 50%;
transform: translateX(-50%);
.charity-logo {
text-align: center;
width: 20%;
border-radius: 50%;
width: 100%;
}
}
}
.entry-content {
text-align: center;
margin-top: 66px;
h2 {
font-style: normal;
text-align: center;
font-size: 2em;
}
.amount-funded {
background-color: rgba(216,216,216,0.18);
text-align: center;
p {
font-size: 42px;
margin: 0 20px 0 0;
color: $innovative__purple;
font-family: $gotham__font;
font-weight: bold;
line-height: 60px;
letter-spacing: normal;
font-style: normal;
}
}
.charity-description{
height: 137px;
font-style: normal;
width: 728px;
margin-left: auto;
margin-right: auto;
font-family: $gotham__font;
font-size: 24px;
font-weight: 300;
line-height: 33px;
text-align: center;
margin-bottom: 64px;
}
.charity-video{
text-align: center;
iframe{
height: 483.34px;
width: 728px;
}
}


}
.browse-charities-title{
text-align: center;
color:$credible__blue;
font-family: $gotham__font;
font-size: 28px;
font-weight: bold;
line-height: 31px;
}

}

/* Main Content Section */
.single-content{
.chimp-donate-form {
text-align: center;
display: flex;
justify-content: center;
margin: auto;
}
}

13 changes: 13 additions & 0 deletions themes/rcforward/sass/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,17 @@ body{
padding:5rem;
}
}
<<<<<<< HEAD

=======
/* Chimp Donate Button */
.chimp-donate-form {
background: $code__blue;
margin-top: 10px;
width: 160px;
height: 60px;
border-radius: 6px;
color: $grounded__green;
font-weight: bold;
}
>>>>>>> 13446c5441c5a41af894e506924c9b3ec9456ae3
4 changes: 4 additions & 0 deletions themes/rcforward/sass/_elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,8 @@ a{
&:active, &:hover{
text-decoration: none;
}
}

.chimp-donate-form{
background: $code__blue;
}
Loading

0 comments on commit 2ce9fa0

Please sign in to comment.