diff --git a/noisettes/logosite.html b/noisettes/logosite.html index 1d05030981e7968eb7fe0e5b7601f03e541dd196..993927817ea5e919cad0c024d6d1cdf1b44688f2 100644 --- a/noisettes/logosite.html +++ b/noisettes/logosite.html @@ -1,9 +1,4 @@ -#SET{logosite,#LOGO_SITE_SPIP_NORMAL}[(#CONFIG{soyezcreateurs/logoheader,header}|=={header}|oui)[(#CONFIG{soyezcreateurs/hauteurbannierre,200}|=={0}|non)[(#SET{logosite,[(#GET{logosite} -|image_reduire{0, -[(#CONFIG{soyezcreateurs/hauteurbannierre,200} -|moins{#CONFIG{soyezcreateurs/logoheadery,0}} -|moins{10})]})]})]]][(#CONFIG{soyezcreateurs/logoheader,header}|=={navigation}|oui)[(#SET{logosite,[(#GET{logosite} -|image_reduire{[(#CONFIG{soyezcreateurs_layout/largeurmenugauche,180})],0})]})]][<div id="logo"> +#SET{logosite,#INCLURE{fond=noisettes/logosite_calcul}}[<div id="logo"> <a href="#ENV{url,./}" title="[(#ENV{title,<:soyezcreateurs:accueil_site:> [(#NOM_SITE_SPIP|supprimer_tags|attribut_html)]})]"> <span> <img src="(#GET{logosite}|extraire_attribut{src})" width="[(#GET{logosite}|largeur)]" height="[(#GET{logosite}|hauteur)]" alt="[(#NOM_SITE_SPIP|supprimer_tags|attribut_html)]" /> diff --git a/noisettes/logosite_calcul.html b/noisettes/logosite_calcul.html new file mode 100644 index 0000000000000000000000000000000000000000..7d7c61b4a6ef80598232dcf55e8a714e0fff8cad --- /dev/null +++ b/noisettes/logosite_calcul.html @@ -0,0 +1,6 @@ +#SET{logosite,#LOGO_SITE_SPIP_NORMAL}[(#CONFIG{soyezcreateurs/logoheader,header}|=={header}|oui)[(#CONFIG{soyezcreateurs/hauteurbannierre,200}|=={0}|non)[(#SET{logosite,[(#GET{logosite} +|image_reduire{0, +[(#CONFIG{soyezcreateurs/hauteurbannierre,200} +|moins{#CONFIG{soyezcreateurs/logoheadery,0}} +|moins{10})]})]})]]][(#CONFIG{soyezcreateurs/logoheader,header}|=={navigation}|oui)[(#SET{logosite,[(#GET{logosite} +|image_reduire{[(#CONFIG{soyezcreateurs_layout/largeurmenugauche,180})],0})]})]]#GET{logosite} \ No newline at end of file diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html index 03847d08f9db57339c8d3d8a4ec7ccf58646f9ca..7df75b727953c603d315ecb3e6e45d8aa3f1b9a9 100644 --- a/stylessoyezcreateurs.css.html +++ b/stylessoyezcreateurs.css.html @@ -2615,9 +2615,10 @@ a.button.triadeC:focus, } [(#CONFIG{soyezcreateurs/centrerlogo,non}|=={oui}|oui) +#SET{logosite,#INCLURE{fond=noisettes/logosite_calcul}} .portailcognac #header #logo { position: absolute; - left: calc(50% - [(#LOGO_SITE_SPIP_NORMAL|largeur|div{2})]px); + left: calc(50% - [(#GET{logosite}|largeur|div{2})]px); margin: 0; z-index: 2; }]