alpes-maritimes-2022: remove banner-right placeholder (#75909)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0a33ea1f47
commit
7b773526d8
|
@ -374,30 +374,18 @@ div.gru-nav > ul ul > li a {
|
|||
.homepage-banner--wrapper {
|
||||
@media ($min-desktop-viewport) {
|
||||
padding: 2em 2.5em;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.homepage-banner--left, .homepage-banner--right {
|
||||
.homepage-banner--content {
|
||||
@media ($min-desktop-viewport) {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
margin: 1.5em;
|
||||
div.textcell {
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
.homepage-banner--left {
|
||||
@media ($min-desktop-viewport) {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
min-width: 72%;
|
||||
}
|
||||
}
|
||||
.homepage-banner--right {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
@media screen and ($max-mobile-viewport) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// MAIN
|
||||
|
|
|
@ -5,12 +5,9 @@
|
|||
{{ block.super }}
|
||||
<div class="homepage-banner">
|
||||
<div class="homepage-banner--wrapper page-width">
|
||||
<div class="homepage-banner--left">
|
||||
<div class="homepage-banner--content">
|
||||
{% placeholder "banner-left" name="Bannière (bloc gauche)" %}
|
||||
</div>
|
||||
<div class="homepage-banner--right">
|
||||
{% placeholder "banner-right" name="Bannière (bloc droit)" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue