Skip to content

Commit

Permalink
Merge pull request #1182 from dhruv389/fix/mobile-section
Browse files Browse the repository at this point in the history
Improve Mobile Section with New Images and Enhanced Styling   #1134
  • Loading branch information
codervivek5 authored May 31, 2024
2 parents eb30366 + 864fb0d commit 7329d1b
Show file tree
Hide file tree
Showing 17 changed files with 492 additions and 306 deletions.
Binary file added img/mo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo2.avif
Binary file not shown.
Binary file added img/mo3.avif
Binary file not shown.
Binary file added img/mo4.webp
Binary file not shown.
Binary file added img/mo5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mo9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/vigybag_design-removebg-preview 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/vigybag_icon-removebg-preview (1) 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
201 changes: 201 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,205 @@ box-shadow: 16.5px 17.5px 32px -4.5px #8a8afb;
flex: 100%;
max-width: 80%;
}
}

















/* NEW Customer review Section BY DHaval */


a:link,a:active,a:visited,a:hover{
color:#3f51b5;
}

.outerdiv
{
width: 100%;
min-height: 100vh;
background: #EDF2F8;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.innerdiv
{
transform: scale(0.9);
margin: 1rem;
display: grid;
grid-gap: 1.5rem;
grid-template-rows: repeat(2,22rem);
grid-template-columns: repeat(4,17rem);
}
.eachdiv
{
padding: 1rem 2rem;
border-radius: 0.8rem;
box-shadow: 5px 5px 20px #6d6b6b6b;
color: white;
overflow-y: hidden;
height: auto;
}
.div1
{
background: #733FC8;
grid-column: 1/3;
grid-row: 1/2;
background-image: url(https://raw.githubusercontent.com/RahulSahOfficial/testimonials_grid_section/5532c958b7d3c9b910a216b198fdd21c73112d84/images/bg-pattern-quotation.svg);
background-repeat: no-repeat;
background-position-x: 25rem;

}
.div2
{
background:#49556B;
grid-column: 3/4;
grid-row: 1/2;
}
.div3
{
background: white;
grid-column: 4/5;
grid-row: 1/3;
color: black;
}
.div4
{
background: white;
grid-column: 1/2;
grid-row: 2/3;
color: black;
}
.div5
{
background: #18202D;
grid-column: 2/4;
grid-row: 2/3;
}
.userdetails
{
display: flex;
}
.imgbox
{
margin-right: 1rem;
}
.imgbox img
{
border-radius: 50%;
width: 2rem;
border: 2px solid #cec5c5;
}
.detbox
{
display: flex;
flex-direction: column;
justify-content: center;
}
.detbox p
{
margin: 0;
}
.detbox .name
{
color: hsl(0, 0%, 81%);
font-size: 0.9rem;
margin-bottom: 0.1rem;
font-weight: 600;
}
.detbox .name.dark
{
color: #49505A;
}
.detbox .designation
{
color: hsl(0, 0%, 81%);
opacity: 50%;
font-size: 0.8rem;
}
.detbox .designation.dark
{
color: #49505A;
}
.review h4
{
font-size: 1.4rem;
color: #F3DEFF;
font-weight: 600;
line-height: 1.5;
margin-bottom: 0.8rem;
}
.review.dark h4{
color:#4B5258;
}
.review p
{
font-size: 0.95rem;
color: #F3DEFF;
font-weight: 500;
opacity: 50%;
line-height: 1.5;
}
.review.dark p{
color: #0e0e0e;
}
.attribution
{
font-size: 1rem;
line-height: 1.5;
position: fixed;
bottom: 1rem;
right: 1rem;
text-align: right;
}
.attribution a
{
text-decoration: none;
}

@media only screen and (max-width: 1000px)
{
.innerdiv
{
transform: scale(0.7);
}
}
@media only screen and (max-width: 800px)
{
.innerdiv
{
transform: scale(0.6);
}
}
@media only screen and (max-width: 700px)
{
.div1 {
background-position-x: 10rem;
}
.innerdiv
{
display: flex;
flex-direction: column;
transform: scale(1);
margin: 2rem;
margin-bottom: 5rem;
}
.attribution
{
position: relative;
}
}
Loading

0 comments on commit 7329d1b

Please sign in to comment.