Skip to content

Commit

Permalink
feat: adjust syles
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmaxed committed Dec 1, 2019
1 parent ff22e03 commit 1566045
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
33 changes: 28 additions & 5 deletions client/src/components/Donation/Donation.css
Expand Up @@ -163,16 +163,12 @@ li.disabled > a {
padding: 20px;
}

.donation-modal p {
margin: 0;
}

.heart-icon-contaier {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 30px;
margin: 40px;
}

.heart-icon {
Expand All @@ -195,3 +191,30 @@ li.disabled > a {
transform: scale(1);
}
}

.donation-modal p {
margin: 0;
text-align: center;
font-weight: 700;
font-size: 1.2rem;
}

.donation-modal .modal-title {
text-align: center;
font-weight: 700;
font-size: 1.5rem;
}

@media screen and (max-width: 991px) {
.heart-icon-contaier {
margin: 30px;
}
.donation-modal p {
font-weight: 400;
font-size: 1rem;
}
.donation-modal .modal-title {
font-weight: 600;
font-size: 1.2rem;
}
}
2 changes: 1 addition & 1 deletion client/src/components/Donation/components/DonationModal.js
Expand Up @@ -55,7 +55,7 @@ class DonateModal extends Component {
return (
<Modal bsSize='lg' className='donation-modal' show={show}>
<Modal.Header className='fcc-modal'>
<Modal.Title className='text-center'>
<Modal.Title className='modal-title text-center'>
<strong>Support freeCodeCamp.org</strong>
</Modal.Title>
</Modal.Header>
Expand Down

0 comments on commit 1566045

Please sign in to comment.