Skip to content

Commit

Permalink
media querie changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ValenMorales committed Feb 29, 2024
1 parent 3c3485f commit a2fa822
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
22 changes: 14 additions & 8 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ main{
justify-content: center;
align-items: center;
margin-bottom: 5rem;

}

.section .ul {
Expand All @@ -198,6 +199,7 @@ main{

.info {
font-size: 1.3em;
margin-left:3rem ;
animation: aparecer1 2s ease 1 both;
}

Expand All @@ -217,18 +219,16 @@ main{
margin: 0 0 1em;
font-size: 1.2em;
}
.section .grid {
.grid {
width: 90%;
max-width: 100rem;
margin: 1em, 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
gap: 2em;
}

.section .article {
.article {
width: 100%;
min-height: 50vh;
display: flex;
flex-flow: column nowrap;
justify-content: center;
Expand Down Expand Up @@ -270,7 +270,7 @@ article ul {
}

.projects{
margin-left: 5rem;
margin-left: 3rem;
}

.projects .p {
Expand All @@ -280,7 +280,7 @@ article ul {
}

.about {
margin-left: 5rem;
margin-left: 3rem;
}

.about .p {
Expand Down Expand Up @@ -446,7 +446,7 @@ margin-bottom: 2rem;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 5rem;
margin-left: 3rem;
}

.carrousel {
Expand Down Expand Up @@ -733,9 +733,15 @@ color:inherit;

/* Responsive css */
@media only screen and (max-width: 767px) {

.grid{
display: flex;
flex-direction: column;
}

.my-projects {
width: 100%;
margin-left: 5rem;
margin-left: 2rem;
}
main{
overflow-x:visible;
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width, initial-scale=0.75" />
<title>my Portfolio</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />

<link
href="https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap"
rel="stylesheet"
Expand Down

0 comments on commit a2fa822

Please sign in to comment.