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

fix responsive experience page #332

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 60 additions & 60 deletions src/components/experienceCard/ExperienceCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@
}

.experience-card {
min-width: 350px;
/* height: 170px; */
min-width: 80vw;
margin-bottom: 20px;
border-radius:10px;
border-radius: 10px;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove unnecessary changes in this commit caused by space issues?

It is creating lot of confusion in understanding the changes.

display: flex;
flex-direction:column;
flex-direction: column;
padding: 10px;
margin-left: 10px;
-webkit-box-shadow: 4px 3px 20px -2px grey;
Expand All @@ -119,11 +119,11 @@

.experience-card-stepper {
display: flex;
flex-direction:row;
flex-direction: row;
position: relative;
align-items: center;
flex-direction: column;
margin-top: -40px
align-items: center;
flex-direction: column;
margin-top: -40px;
}

.experience-card-body-div {
Expand Down Expand Up @@ -195,7 +195,6 @@
font-family: "Google Sans Regular";
}


.experience-card-company > a {
position: relative;
color: #000;
Expand All @@ -204,28 +203,28 @@

.experience-card-company > a:hover {
color: #000;
}
}

.experience-card-company > a:hover:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}

.experience-card-company > a:before {
content: "";
position: absolute;
width: 100%;
height: 1px;
bottom: 0;
left: 0;
background-color: #000;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
content: "";
position: absolute;
width: 100%;
height: 1px;
bottom: 0;
left: 0;
background-color: #000;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}

.experience-list-item {
display: flex;
Expand Down Expand Up @@ -263,82 +262,83 @@ transition: all 0.3s ease-in-out 0s;
} */

@keyframes ripple {
0% {
left:5px;
top:5px;
opcity:75;
width:0;
height:0;
0% {
left: 5px;
top: 5px;
opcity: 75;
width: 0;
height: 0;
}
100% {
left:-20px;
top:-20px;
left: -20px;
top: -20px;
opacity: 0;
width:50px;
height:50px;
width: 50px;
height: 50px;
}
}

@media (max-width: 768px) {
.experience-card{
/* margin-bottom:10px; */
flex-direction:column;
text-align: center;
.experience-card {
/* margin-bottom:10px; */
flex-direction: column;
text-align: center;
margin-left: 0px;
}

.arrow-left {
display: none;
display: none;
}

.experience-card-stepper {
display: none;
display: none;
}

.experience-list-item {
flex-direction: column;
flex-direction: column;
}

.experience-card-logo {
width: 100px;
width: 100px;
}

.experience-card-heading-left {
float: center;
margin-left: auto;
margin-right: auto;
float: center;
margin-left: auto;
margin-right: auto;
}

.experience-card-heading-right {
float: center;
margin-left: auto;
margin-right: auto;
float: center;
margin-left: auto;
margin-right: auto;
}

.experience-card-title {
/* text-align: center; */
/* text-align: center; */
}

.experience-card-company {
/* text-align: center; */
/* text-align: center; */
}

.experience-card-duration {
/* margin-top: 2px; */
/* text-align: center; */
/* margin-top: 2px; */
/* text-align: center; */
}

.experience-card-location{
/* text-align: left; */
/* text-align: center; */
.experience-card-location {
/* text-align: left; */
/* text-align: center; */
}

.experience-card-header-div {
flex-direction: column;
flex-direction: column;
}

.experience-card-description {
margin-left: 14px;
margin-right: 14px;
text-align: justify;
margin-left: 14px;
margin-right: 14px;
text-align: justify;
}
}
Loading