Skip to content

Commit 34cc2ea

Browse files
copy paste the mentorship page styles and writing program page card size fix
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent a01c8ad commit 34cc2ea

1 file changed

Lines changed: 103 additions & 1 deletion

File tree

src/sections/Community/Handbook/Handbook.style.js

Lines changed: 103 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export const HandbookWrapper = styled.div`
415415
&:hover{
416416
box-shadow: 0px 0px 5px ${props => props.theme.primaryColor};
417417
}
418-
padding: 12% 6% 12% 6%;
418+
padding: 8% 6% 8% 6%;
419419
height: 220px;
420420
border-radius: 4%;
421421
margin-bottom: 30px;
@@ -477,4 +477,106 @@ export const HandbookWrapper = styled.div`
477477
display: inline;
478478
}
479479
}
480+
481+
/* mentorship programs styling */
482+
.explain-2{
483+
padding: 25px 0px;
484+
.text{
485+
padding: 1.25rem 1.25rem 0px 1.25rem;
486+
h2{
487+
font-weight: 700;
488+
font-size: 40px;
489+
padding: 1.25rem 0px;
490+
}
491+
p{
492+
color: ${props => props.theme.tertiaryColor};
493+
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
494+
}
495+
}
496+
img, svg {
497+
height: auto;
498+
width: 23rem;
499+
display: block;
500+
margin-left: auto;
501+
margin-right: auto;
502+
}
503+
504+
path {
505+
stroke: none;
506+
}
507+
508+
.communitybridge_logo_svg__cls-1{
509+
fill: ${props => props.theme.whiteToBlue003764};
510+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
511+
}
512+
513+
.hacktoberfest_svg__cls-1 {
514+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
515+
fill: ${props => props.theme.whiteToRed662839};
516+
}
517+
518+
.lfx-white_svg__b{
519+
fill: ${props => props.theme.whiteToBlue003764};
520+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
521+
}
522+
523+
.lfx-white_svg__c{
524+
fill: ${props => props.theme.whiteToBlue0096d6};
525+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
526+
}
527+
528+
.layer5-colorMode_svg__colorMode1 {
529+
fill: ${props => props.theme.whiteToGreen3C494F};
530+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
531+
}
532+
533+
.mlh_svg__cls-1 {
534+
fill: ${props => props.theme.whiteToBlack};
535+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
536+
}
537+
538+
.sca_svg__fil0, .sca_svg__fil6 {
539+
fill: ${props => props.theme.whiteToBlack};
540+
transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
541+
}
542+
543+
Button{
544+
margin: 1.25rem 0px;
545+
color: white;
546+
}
547+
548+
#col2 {
549+
align-self: center
550+
}
551+
}
552+
553+
@media only screen and (max-width: 750px){
554+
.explain-2 div {
555+
flex-direction: column-reverse;
556+
}
557+
}
558+
559+
@media only screen and (max-width: 475px){
560+
.explain-2 img, .explain-2 svg{
561+
width: 15rem;
562+
}
563+
.explain-2 .text h2{
564+
font-size: 30px;
565+
}
566+
}
567+
568+
@media only screen and (min-width: 765px){
569+
.first {
570+
.list{
571+
display:flex;
572+
flex-wrap:wrap
573+
}
574+
#col1 {
575+
order: 2;
576+
}
577+
#col2 {
578+
order: 1;
579+
}
580+
}
581+
}
480582
`;

0 commit comments

Comments
 (0)