Skip to content

Commit

Permalink
setting header background
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Maka committed Nov 22, 2024
1 parent 8154102 commit 6dcc437
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Binary file added src/images/header-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/styles/bloks/header.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.header{
background-color: aquamarine;
background-color: black;
background-image: url(../images/header-background.jpg);
background-repeat: no-repeat;
background-size: cover;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 0 20px 88px 20px;
padding: 0 20px 88px;
box-sizing: border-box;
}

1 change: 1 addition & 0 deletions src/styles/bloks/title.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color: white;
}
2 changes: 1 addition & 1 deletion src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import 'fonts';
@import 'typography';
@import './bloks/title';
@import './bloks/header'
@import './bloks/header';



0 comments on commit 6dcc437

Please sign in to comment.