commit
This commit is contained in:
parent
a4c6130659
commit
84ab389e20
@ -2,6 +2,10 @@
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center bg-dark text-white min-vh-100 pt-5">
|
||||
<div class="home-hero text-center text-white min-vh-100">
|
||||
</div>
|
||||
|
||||
@* <div class="text-center bg-dark text-white min-vh-100 pt-5">
|
||||
<h1 class="display-4">Strona w trakcie budowy...</h1>
|
||||
</div>
|
||||
*@
|
||||
@ -45,3 +45,21 @@ body {
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.home-hero {
|
||||
min-height: 100vh;
|
||||
background-image: url('/images/main.jpg');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.home-hero {
|
||||
min-height: 100vh;
|
||||
background-image: url('/images/main.jpg');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 200% auto;
|
||||
}
|
||||
}
|
||||
BIN
ZPDuszynska/wwwroot/images/main.jpg
Normal file
BIN
ZPDuszynska/wwwroot/images/main.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Loading…
Reference in New Issue
Block a user