correction styles + header générique

This commit is contained in:
chankalan 2021-02-06 22:17:52 +01:00
parent cebb12edc2
commit 436d36abe8
3 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<div class="header_title print"> <div class="header_title print">
<h1 id="logo_site_spip"[ class="(#EDIT{meta-nom_site})"]>[(#SI_PAGE{sommaire}|non)<a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">] <h1 id="logo_site_spip"[ class="(#EDIT{meta-nom_site})"]>[(#SI_PAGE{sommaire}|non)<a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">]
[(#LOGO_SITE_SPIP|image_reduire{400,60}) ]<span class="nom_site_spip">#NOM_SITE_SPIP</span> [(#LOGO_SITE_SPIP|image_reduire{400,150}) ]<span class="nom_site_spip">#NOM_SITE_SPIP</span>
[<small class="slogan_site_spip[ (#EDIT{meta-slogan_site})]">(#SLOGAN_SITE_SPIP)</small>] [<small class="slogan_site_spip[ (#EDIT{meta-slogan_site})]">(#SLOGAN_SITE_SPIP)</small>]
[(#SI_PAGE{sommaire}|non)</a>]</h1> [(#SI_PAGE{sommaire}|non)</a>]</h1>
</div> </div>

View File

@ -11,6 +11,10 @@
align-items: center; align-items: center;
} }
.header_title h1 {
margin:0;
}
.nom_site_spip, .slogan_site_spip { .nom_site_spip, .slogan_site_spip {
@include visuallyhidden; @include visuallyhidden;
} }

View File

@ -48,7 +48,7 @@
&:active { &:active {
border-color:$couleurSecondaire; border-color:$couleurSecondaire;
.header_initiatives & { .header_initiatives & {
background:$couleurPrincipaleOn; border-color:$couleurPrincipaleOn;
} }
} }
} }
@ -90,7 +90,7 @@
position:absolute; position:absolute;
background:$couleurPrincipale; background:$couleurPrincipale;
width:100%; width:100%;
top:38px; top:36px;
left:-100%; left:-100%;
padding:$spacer/2 $spacer; padding:$spacer/2 $spacer;
text-align:center; text-align:center;