added octopuses for mobile

This commit is contained in:
Roxie Gibson 2021-10-13 00:35:31 +01:00
parent f64b44d7a8
commit 283ab33cdc
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class="hero header">
<div class="hero header octopus-mobile">
<div class="hero-body">
<a href="/">
<p class="title is-size-0">

View File

@ -5,5 +5,23 @@
background-repeat: no-repeat;
background-size: contain;
}
@media all and (max-width: 1023px) {
.octopus-mobile::before {
background-image: url('{{ $octo_url }}');
background-repeat: no-repeat;
background-size: 40%;
background-position: 100%;
opacity: 60%;
content:"";
position:absolute;
top:-60%;
bottom:0;
right:0;
left:0;
width:auto;
height:auto;
z-index:-3;
}
}
</style>