Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase size of Kanvas icon for better visibility #6070

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
70 changes: 58 additions & 12 deletions src/sections/Kanvas/kanvas_banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const BannerSectionWrapper = styled.div`
text-align: center;
}

}
.banner-text p {
color: ${props => props.theme.saffronColor};
margin-bottom: .5rem;
Expand Down Expand Up @@ -96,7 +95,8 @@ const BannerSectionWrapper = styled.div`
overflow: hidden;
margin-top: -7rem;
position: relative;
left: 30%;
left: 10%;
margin-top: -8rem;
z-index: 0;

}
Expand All @@ -117,7 +117,8 @@ const BannerSectionWrapper = styled.div`

@media screen and (max-width: 1700px) {
.kanvas-logo {
width: 12rem;
width: 20rem;
left: 21%;
/* right: 12rem; */
/* margin-top: -5rem; */
}
Expand All @@ -128,28 +129,28 @@ const BannerSectionWrapper = styled.div`
@media screen and (max-width: 1200px) {
.kanvas-logo {
left: 20%;
width: 10rem;
width: 18rem;
/* right: 8rem; */
margin-top: -5rem;
}
/* border-radius: 0% 85% 0% 0% / 0% 60% 0% 0% ; */
}
@media screen and (max-width: 992px) {
.kanvas-logo {
width: 8rem;
width: 16rem;
margin-top: -2rem;
left: 15%;
}
border-radius: 0% 85% 0% 0% / 0% 60% 0% 0% ;
border-radius: 0% 85% 0% 0% / 0% 60% 0% 0%;
}

@media screen and (max-width: 768px) {
padding: 8rem 2rem 3rem;
.kanvas-logo {
margin-top: -5rem;
margin-right: 2rem;
left: 7%;
min-width: 5rem;
left: 10%;
min-width: 8rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
Expand All @@ -158,16 +159,61 @@ const BannerSectionWrapper = styled.div`
margin-top: -5rem;
margin-right: 2rem;
left: 0%;
min-width: 3rem;
min-width: 8rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
@media screen and (max-width: 450px) {
.kanvas-logo {
margin-top: -5rem;
margin-right: 1rem;
left: -10%;
min-width: 7rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
@media screen and (max-width: 400px) {
.kanvas-logo {
margin-top: -5rem;
margin-right: 0;
left: -20%;
min-width: 3rem;
margin-right: 0rem;
left: -28%;
min-width: 6rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
@media screen and (max-width: 350px) {
.kanvas-logo {
margin-top: -5rem;
margin-right: 0rem;
left: -48%;
min-width: 5rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
@media screen and (max-width: 305px) {
.kanvas-logo {
margin-top: -5rem;
margin-right: 0rem;
left: -90%;
min-width: 5rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
@media screen and (max-width: 260px) {
.kanvas-logo {
margin-top: -5rem;
margin-right: 0rem;
left: -170%;
min-width: 5rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
@media screen and (max-width: 210px) {
.kanvas-logo {
margin-top: -5rem;
margin-right: 0rem;
left: -280%;
min-width: 5rem;
}
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
}
Expand Down