-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,34 @@ | ||
// 自定义样式 | ||
.navbar | ||
.logo | ||
height 2.2rem | ||
min-width 2.2rem | ||
margin-right 0.8rem | ||
vertical-align top | ||
height 2.8rem | ||
min-width 2.8rem | ||
max-width 3rem | ||
margin-right 1rem | ||
vertical-align middle | ||
border-radius 50% | ||
object-fit cover | ||
|
||
.home-wrapper | ||
.banner | ||
padding 2rem 0 | ||
background-color #f8f9fa | ||
padding 4rem 2rem | ||
background-image linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/img/banner.jpg') | ||
background-size cover | ||
background-position center | ||
background-repeat no-repeat | ||
min-height 300px | ||
max-height 500px | ||
height 40vh | ||
display flex | ||
align-items center | ||
justify-content center | ||
position relative | ||
|
||
@media (max-width: 719px) | ||
padding 3rem 1rem | ||
min-height 250px | ||
height 30vh | ||
|
||
@media (min-width: 1200px) | ||
height 50vh | ||
max-height 600px |