-
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.
enhance the quality of code used in the scss files, see also: #12
- Loading branch information
Showing
2 changed files
with
28 additions
and
14 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
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,20 +1,38 @@ | ||
.backgroundHeader { | ||
.header-home { | ||
background: url("../../public/gifs/matrix-animation-background.gif"); | ||
background-repeat: no-repeat; | ||
background-size: 100% 12rem; | ||
|
||
width: 100%; | ||
max-width: var(--maxWidth); | ||
min-width: 30rem; | ||
padding-top: 6rem; | ||
|
||
h1 { | ||
margin-bottom: 0; | ||
font-size: 3rem; | ||
color: var(--white); | ||
} | ||
|
||
@media (max-width: 34rem) { | ||
margin: 0; | ||
border-radius: 0; | ||
} | ||
} | ||
|
||
.header-home__image { | ||
width: 11rem; | ||
height: 11rem; | ||
margin: 0 auto; | ||
border: 4px solid rgba(255, 255, 255, 0.5); | ||
border-radius: 9999px; | ||
cursor: pointer; | ||
|
||
box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2); | ||
transition: box-shadow 0.4s; | ||
|
||
&:hover { | ||
box-shadow: 4px 4px 2px 1px rgba(0, 0, 0, 0.2); | ||
transition: box-shadow 0.4s; | ||
} | ||
} | ||
|
||
.header-home__title { | ||
margin-bottom: 0; | ||
font-size: 3rem; | ||
color: var(--white); | ||
} |