Skip to content

Commit

Permalink
Adds Adaptive
Browse files Browse the repository at this point in the history
  • Loading branch information
NZAlona committed Oct 30, 2023
1 parent 4b240b5 commit 209e0f5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
Binary file added picture/mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 25 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@
}

body {
background-image: url(./picture/christmas-holidays-composition.jpg);
background-image: url(./picture/mobile.jpg);
background-size: cover;
background-repeat: no-repeat;

@media screen and (min-width: 420px) {
background-image: url(./picture/christmas-holidays-composition.jpg);
background-size: cover;
/* background-repeat: no-repeat; */
}
}

.wrapper {
Expand All @@ -23,21 +30,34 @@ body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva,
Verdana, sans-serif;
line-height: 1.17;
margin-top: 520px;
margin-top: 360px;

@media screen and (min-width: 420px) {
margin-top: 520px;
}
}

.box-container {
display: flex;
justify-content: center;
gap: 45px;
margin-top: 25px;
gap: 8px;
margin-top: 23px;

@media screen and (min-width: 420px) {
gap: 45px;
margin-top: 25px;
}
}

.box-wrapper {
height: 103px;
width: 103px;
width: 71px;
border-radius: 3px;
box-shadow: 1px 1px 1px 1px grey;

@media screen and (min-width: 420px) {
width: 103px;
}
}

.time-slot {
Expand Down

0 comments on commit 209e0f5

Please sign in to comment.