Added missing closing brackets in partials/header.hbs styles (#521)
This commit is contained in:
parent
273e987240
commit
047c7c0c9c
1 changed files with 23 additions and 21 deletions
|
@ -18,28 +18,30 @@ with a `no-image` class so we can style it accordingly.
|
||||||
background-image: url({{img_url background size='xl'}});
|
background-image: url({{img_url background size='xl'}});
|
||||||
}
|
}
|
||||||
@media(max-width: 1000px) {
|
@media(max-width: 1000px) {
|
||||||
.responsive-header-img {
|
.responsive-header-img {
|
||||||
background-image: url({{img_url background size='l'}});
|
background-image: url({{img_url background size='l'}});
|
||||||
background-image: -webkit-image-set(
|
background-image: -webkit-image-set(
|
||||||
url({{img_url background size='l'}}) 1x,
|
url({{img_url background size='l'}}) 1x,
|
||||||
url({{img_url background size='xl'}}) 2x
|
url({{img_url background size='xl'}}) 2x
|
||||||
);
|
);
|
||||||
background-image: image-set(
|
background-image: image-set(
|
||||||
url({{img_url background size='l'}}) 1x,
|
url({{img_url background size='l'}}) 1x,
|
||||||
url({{img_url background size='xl'}}) 2x
|
url({{img_url background size='xl'}}) 2x
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media(max-width: 600px) {
|
@media(max-width: 600px) {
|
||||||
.responsive-header-img {
|
.responsive-header-img {
|
||||||
background-image: url({{img_url background size='m'}});
|
background-image: url({{img_url background size='m'}});
|
||||||
background-image: -webkit-image-set(
|
background-image: -webkit-image-set(
|
||||||
url({{img_url background size='m'}}) 1x,
|
url({{img_url background size='m'}}) 1x,
|
||||||
url({{img_url background size='l'}}) 2x
|
url({{img_url background size='l'}}) 2x
|
||||||
);
|
);
|
||||||
background-image: image-set(
|
background-image: image-set(
|
||||||
url({{img_url background size='m'}}) 1x,
|
url({{img_url background size='m'}}) 1x,
|
||||||
url({{img_url background size='l'}}) 2x
|
url({{img_url background size='l'}}) 2x
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<header class="site-header outer responsive-header-img">
|
<header class="site-header outer responsive-header-img">
|
||||||
|
@ -48,4 +50,4 @@ with a `no-image` class so we can style it accordingly.
|
||||||
|
|
||||||
<header class="site-header outer no-image">
|
<header class="site-header outer no-image">
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in a new issue