set experiences section responsive
This commit is contained in:
parent
a706f065a7
commit
028f7f5b89
@ -7,7 +7,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.experiences-container {
|
.experiences-container {
|
||||||
width: 50%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -23,3 +23,15 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(176, 176, 176, 0.2);
|
background-color: rgba(176, 176, 176, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.experiences-container {
|
||||||
|
width: 90%;
|
||||||
|
align-items: flex-start;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experiences-container::before {
|
||||||
|
left: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -4,6 +4,8 @@
|
|||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
gap: 6rem;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.experience-card::before {
|
.experience-card::before {
|
||||||
@ -21,18 +23,17 @@
|
|||||||
|
|
||||||
|
|
||||||
.experience-card-left {
|
.experience-card-left {
|
||||||
width: 50%;
|
width: 25%;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
margin-right: 8rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.experience-card-right {
|
.experience-card-right {
|
||||||
width: 50%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.experience-company {
|
.experience-company {
|
||||||
color: var(--important-color);
|
color: var(--important-color);
|
||||||
font-size: 1.2rem;
|
font-size: 1.5rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,4 +75,25 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.experience-card{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0;
|
||||||
|
}
|
||||||
|
.experience-card::before {
|
||||||
|
left: 20px;
|
||||||
|
top: 31px;
|
||||||
|
}
|
||||||
|
.experience-card-left, .experience-card-right{
|
||||||
|
width: fit-content;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
.experience-card-left{
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
html{
|
html{
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +17,7 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user