Skip to content

Commit

Permalink
fix size on iPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
Akctarus committed Nov 15, 2023
1 parent 12cc047 commit e724505
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 6 deletions.
24 changes: 20 additions & 4 deletions app.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,26 @@ body {
margin: 0;
font-family: "Avenir";
overflow-x: hidden;
background-image: url(/public/assets/visuels/background_site_kickoff.webp);
background: url(/public/assets/visuels/background_site_kickoff.webp) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

body:after{
content:"";
position:fixed; /* stretch a fixed position to the whole screen */
top:0;
height:100vh; /* fix for mobile browser address bar appearing disappearing */
left:0;
right:0;
z-index:-1; /* needed to keep in the background */
background: url(/public/assets/visuels/background_site_kickoff.webp) center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
}

html {
Expand Down Expand Up @@ -49,6 +64,7 @@ html {
justify-content: center;
display: flex;
flex-direction: column;
text-align: center;
overflow-x: hidden;
}

Expand Down
58 changes: 58 additions & 0 deletions docs/index.846a6f11.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/index.846a6f11.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/index.9a134964.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/index.9a134964.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit e724505

Please sign in to comment.