Skip to content

Commit

Permalink
about us component created
Browse files Browse the repository at this point in the history
  • Loading branch information
Devmani Mishra authored and Devmani Mishra committed Jun 18, 2024
1 parent 10eeb38 commit 791b06d
Show file tree
Hide file tree
Showing 3 changed files with 299 additions and 2 deletions.
60 changes: 60 additions & 0 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,63 @@
aspect-ratio: 4 / 3;
object-fit: cover;
}



/* about us rating css */

.cards.ratings-box ul{
column-gap: 24px;
display: grid;
grid-template-columns: 1fr 1fr;
row-gap: 1pc;

}

.cards.ratings-box ul li{
border-radius: 1pc;
-webkit-box-shadow: 0 4px 9pt rgba(51, 51, 51, .078);
box-shadow: 0 4px 9pt rgba(51, 51, 51, .078);
height: 165px;
padding: 40px;
text-align: center;
}

.cards.ratings-box ul li .cards-card-image picture img{
height: 74px;
width: 253px;
object-fit: contain;
}
.cards.ratings-box ul li .cards-card-body{
margin: unset;
}
.cards.ratings-box ul li .cards-card-body p a{
font-family: Nunito-Extrabold, sans-serif;
font-size: 20px;
line-height: 28px;
text-align: center;
text-decoration: underline;
}
.section.cards-container .default-content-wrapper #ratings{
font-family: Nunito-Extrabold, sans-serif;
font-size: 40px;
font-weight: 800;
line-height: 3pc;
margin-bottom: 40px;
}



@media screen and (max-width:768px) {
.cards.ratings-box ul{
display: flex;
flex-wrap: wrap;
padding: 16px;
}
.cards.ratings-box ul li{
width: 100%;
}

}


191 changes: 190 additions & 1 deletion blocks/tabs/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
gap: 8px;
max-width: 100%;
overflow-x: auto;

}

.tabs .tabs-list button {
Expand Down Expand Up @@ -43,4 +44,192 @@

.tabs .tabs-panel[aria-hidden="true"] {
display: none;
}
}


/* about us tab */
.about-us-tab{
max-width: 1240px;
margin: auto;
}
.about-us-tab .tabs-panel{
padding: unset;
}
.about-us-tab .tabs .tabs-list button p {
border-bottom: none;
font-family: Nunito-Bold, sans-serif;
max-width: 264px;
padding: 0 20px;
text-align: center;

}

.about-us-tab .tabs .tabs-list {
margin: 3pc;

}
.about-us-tab .tabs .tabs-list button[aria-selected="true"] p {
color: #e56a0b;

}
.about-us-tab .tabs.block .tabs-panel > div table tbody tr{
border-radius: 1pc;
-webkit-box-shadow: 0 4px 9pt rgba(51, 51, 51, .078);
box-shadow: 0 4px 9pt rgba(51, 51, 51, .078);
display: block;
margin: auto auto 24px;
padding: 24px;
width: 100%;
}

.about-us-tab .tabs.block .tabs-panel > div table{

border-spacing: revert;
}
.about-us-tab .tabs.block .tabs-panel > div table tbody tr td h2{
color: #f26841;
display: block;
font-family: Nunito-Bold, sans-serif;
font-size: 24px;
line-height: 2pc;
margin-bottom: 1pc;
}
.about-us-tab .tabs.block .tabs-panel > div table tbody tr td p{
color: #666;
font-family: Nunito-Regular, sans-serif;
font-size: 1pc;
line-height: 24px;
}

.about-us-tab .tabs .tabs-list{
justify-content: center;
}





/* Underline Tab */
.underline-tab{
max-width: 1240px;
margin: 0 auto;
}
.underline-tab .default-content-wrapper h2{
color: #000;
display: block;
font-family: Nunito-Extrabold, sans-serif;
font-size: 2pc;
font-weight: 800;
line-height: 40px;
padding-bottom: 8px;
}



.underline-tab .tabs-wrapper .tabs.block .tabs-list .tabs-tab p{
font-family: Nunito-Regular, sans-serif;
font-size: 24px;
font-weight: 400;
line-height: 2pc;
padding: unset;
margin-right: 40px;
box-sizing: border-box;
border-bottom: 1px solid transparent;
padding: .5rem 1rem;
cursor: pointer;
}

.underline-tab .tabs-panel{
padding: unset;
}

.underline-tab .tabs-wrapper .tabs.block .tabs-list button[aria-selected="true"] p{
border-bottom: 2px solid #f26841;
color: #f26841;
font-family: Nunito-Extrabold, sans-serif;
font-weight: 800;
padding: unset;

}

.underline-tab .tabs .tabs-list{
margin-top: 22.4px;
}

.underline-tab .tabs .tabs-list button,.underline-tab .tabs-wrapper .tabs.block .tabs-list .tabs-tab p{
padding: unset
}

.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table tbody tr{
align-items: center;
border-radius: 1pc;
-webkit-box-shadow: 0 4px 9pt rgba(51, 51, 51, .078);
box-shadow: 0 4px 9pt rgba(51, 51, 51, .078);
cursor: pointer;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
justify-self: center;
padding: 30px 50px;
width: 100%;
}
.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table tbody tr:hover{
box-shadow: 0 25px 50px -9pt rgba(0, 0, 0, .25);
}



.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table {
width: 100%;
}
.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table tbody {
display: grid;
gap: 1pc;
grid-template-columns: 1fr 1fr 1fr;
margin: 24px 0;
width: 100%;
}

.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table tbody tr td{
height: 83px;
width: 206px;
}

.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table tbody tr td picture img{
width: 100%;
height: 100%;
object-fit: contain;
}


@media screen and (max-width:1024px) {
.about-us-tab .tabs.block .tabs-panel > div table tbody tr td h2{
font-size: 16px;
}
.about-us-tab .tabs.block .tabs-panel > div table tbody tr td p{
font-size: 12px;
}

.underline-tab .default-content-wrapper h2{
font-size: 20px;
line-height: 28px;
padding-bottom: 4px;

}

.underline-tab .tabs-wrapper .tabs.block .tabs-list .tabs-tab p{
font-size: 16px;
line-height: 24px;
margin-right: 16px;
}

.underline-tab .tabs-wrapper .tabs.block .tabs-panel div table tbody{
display: flex;
flex-wrap: wrap;
}
.underline-tab .tabs .tabs-list{
margin-top: unset;
}

}
50 changes: 49 additions & 1 deletion styles/piramal-common/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,52 @@ main{
.footer-wrapper .footer{
max-width: unset;
}
/* footer css end */
/* footer css end */




/* About us Text */
.section.journey-text{
max-width: 1240px;
margin: auto;
}

.section.journey-text .default-content-wrapper h2{
color: #000;
display: block;
font-family: Nunito-Extrabold, sans-serif;
font-size: 2pc;
font-weight: 800;
line-height: 40px;
margin-bottom: 8px;
}
.section.journey-text .default-content-wrapper p{
color: #000;
font-family: Nunito-Regular, sans-serif;
font-size: 18px;
font-weight: 400;
line-height: 24px;
margin-bottom: 20px;
}
.section.journey-text .default-content-wrapper p strong,.section.journey-text .default-content-wrapper p b{
font-weight: 800;
font-family: 'Nunito-Bold';
}



@media screen and (max-width:786px) {

.section.journey-text .default-content-wrapper #our-journey{
font-size: 18px;
line-height: 24px;
}
.section.journey-text .default-content-wrapper p{
font-size: 14px;
line-height: 20px;
}
.section.journey-text{
padding: 0px 16px;
}
}

0 comments on commit 791b06d

Please sign in to comment.