-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mobile background and fix regular background (#159)
* add mobile background and fix regular background * remove clamp
- Loading branch information
Showing
6 changed files
with
196 additions
and
7 deletions.
There are no files selected for viewing
18 changes: 14 additions & 4 deletions
18
apps/site/src/app/(home)/sections/Landing/Landing.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
@use "bootstrap-utils" as bootstrap; | ||
|
||
.landing { | ||
padding-top: 121.27%; | ||
background-image: url("~@/assets/background/ocean-sand-background.svg"); | ||
padding-top: 216.82%; | ||
background-image: url("~@/assets/background/ocean-sand-mobile-background.svg"); | ||
background-size: cover; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
text-align: center; | ||
|
||
@include bootstrap.media-breakpoint-up(md) { | ||
padding-top: 121.27%; | ||
background-image: url("~@/assets/background/ocean-sand-background.svg"); | ||
} | ||
} | ||
|
||
.title { | ||
margin-top: -190%; | ||
margin-top: -355%; | ||
|
||
@include bootstrap.media-breakpoint-up(md) { | ||
margin-top: -190%; | ||
} | ||
} |
11 changes: 9 additions & 2 deletions
11
apps/site/src/app/(home)/sections/Landing/Title.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
@use "bootstrap-utils" as bootstrap; | ||
|
||
.title { | ||
width: clamp(0px, 40vw, 40vw); | ||
height: clamp(0px, 14.53vw, 14.53vw); | ||
width: 70vw; | ||
height: 25.42vw; | ||
|
||
@include bootstrap.media-breakpoint-up(md) { | ||
width: 40vw; | ||
height: 14.53vw; | ||
} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
124 changes: 124 additions & 0 deletions
124
apps/site/src/assets/background/ocean-sand-mobile-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters