Skip to content

Commit

Permalink
started to fix responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
leopoldch committed Jan 29, 2024
1 parent 6375095 commit 9a402a5
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/pages/Site.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ function Site(){
<Main/>
<Desc/>
<Son/>
<Lights/>
<Footer/>

</>
);
}
Expand Down
1 change: 0 additions & 1 deletion src/style/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ body{
color: beige;
overflow-x: hidden;
opacity: 1;
overflow: hidden;
}
::-webkit-scrollbar {
display: none;
Expand Down
37 changes: 35 additions & 2 deletions src/style/Desc.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ position:relative;

.place-holder-img{
position:relative;
left: 40%;
margin-bottom: 20%;
left: 50%;
margin-top: -55%;
width: 50%;
}

.img-placeholder{
Expand All @@ -143,6 +144,38 @@ position:relative;
width: auto;
}

.onde3-desc1{
position: relative;
z-index: 0;
width: 30%;
margin-top: -22%;
margin-left: 22%;
}
.onde3-desc2{

position: relative;
z-index: 0;
width: 30%;
margin-top: -22%;
margin-left: 22%;

}
.onde3-desc3{
position: relative;
z-index: 0;
width: 30%;
margin-top: -22%;
margin-left: 22%;
}

.onde5-desc{
position: absolute;
z-index: 0;
width: 35%;
margin-top: 6em;
left: 7%;
}


}

Expand Down
7 changes: 7 additions & 0 deletions src/style/Legals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
text-align: center;
align-items: center;
align-content: center;
padding-bottom: 1em;
}

.text-middle-legals{
Expand All @@ -11,6 +12,7 @@
margin-left: 25%;
margin-right: auto;
z-index: 2;
padding-bottom: 20%;
}

.div-son-legals{
Expand All @@ -33,4 +35,9 @@
width: 35%;
height: auto;
margin: 1%;
}

@media only screen and (min-device-width : 0px) and (max-device-width : 1024px) {


}
9 changes: 9 additions & 0 deletions src/style/Son.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
.son{
position: absolute;
margin-left: 13em;
margin-top: -30em;
width: 80%;
height: auto;
}




}

0 comments on commit 9a402a5

Please sign in to comment.