Skip to content

Commit

Permalink
media queries added
Browse files Browse the repository at this point in the history
  • Loading branch information
ValenMorales committed Feb 29, 2024
1 parent 9271dd8 commit 3c3485f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,14 @@ main::before {
}

main{
overflow-x: hidden;
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow-x: hidden ;

}

@keyframes color {
Expand Down Expand Up @@ -181,6 +182,7 @@ main{
flex-flow: column wrap;
justify-content: center;
align-items: center;
margin-bottom: 5rem;
}

.section .ul {
Expand Down Expand Up @@ -349,7 +351,7 @@ svg:hover {
}

.my-projects {
width: 100%;
width: 95%;
height: 100%;
display: flex;
flex-direction: column;
Expand All @@ -358,9 +360,10 @@ svg:hover {
color: white;
margin-top :30rem;
margin-bottom: 5rem;

}


.my-projects h2{
font-size: 3rem;
display: inline;
Expand Down Expand Up @@ -610,7 +613,7 @@ color:inherit;
.section-wrapper {
width: 100%;
padding: 10px;
margin-left: 5rem;
margin-left: 1.5rem;
}
.box-wrapper {
position: relative;
Expand Down Expand Up @@ -730,6 +733,13 @@ color:inherit;

/* Responsive css */
@media only screen and (max-width: 767px) {
.my-projects {
width: 100%;
margin-left: 5rem;
}
main{
overflow-x:visible;
}
.box-wrapper {
width: 100%;
}
Expand Down

0 comments on commit 3c3485f

Please sign in to comment.