From 26fbba75a62b85b8d71ba7e075a2568a63ba6cec Mon Sep 17 00:00:00 2001 From: tetue <tetue@rezo.net> Date: Wed, 10 May 2006 21:07:55 +0000 Subject: [PATCH] =?UTF-8?q?Se=CC=81paration=20du=20logo=20et=20du=20titre?= =?UTF-8?q?=20de=20site=20dans=20l'ente=CC=82te=20(pour=20e=CC=81viter=20d?= =?UTF-8?q?'avoir=20un=20h1=20vide=20en=20navigateur=20textuel)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/habillage.css | 18 +++++++++--------- dist/inc-entete.html | 7 ++++--- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/dist/habillage.css b/dist/habillage.css index 70d605fba5..8c78c2b72a 100755 --- a/dist/habillage.css +++ b/dist/habillage.css @@ -87,17 +87,17 @@ h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: nor /* * Entete */ #entete { width: 100%; + position: relative; font-size: 0.77em; } #entete h1 { - float: left; + position: absolute; + bottom: 0; font-weight: bold; - font-size: 1.5em; - margin: 0; - padding: 0;} + font-size: 1.5em; } #entete a { text-decoration: none; } -#entete a img.spip_logos { display: block; } +#entete a .spip_logos { display: block; float: left; } /* * Fil d'Ariane */ #hierarchie { @@ -188,7 +188,7 @@ h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: nor font-weight: bold; color: #000000; } -.cartouche img.spip_logos { +.cartouche .spip_logos { float: right; margin-left: 16px; margin-bottom: 16px; } @@ -270,7 +270,7 @@ blockquote { #documents_joints h3 { margin-bottom: 10px; font-weight: bold; } #documents_joints li { margin-bottom: 10px; } -#documents_joints li img.spip_logos {} +#documents_joints li .spip_logos {} #documents_joints li .spip_doc_titre { text-align: left; } #documents_joints li .spip_doc_descriptif {} @@ -283,7 +283,7 @@ blockquote { font-size: 1.03em; font-weight: bold; } -.extrait img.spip_logos { +.extrait .spip_logos { float: right; margin-left: 16px; margin-bottom: 16px; @@ -409,4 +409,4 @@ ul ul ul ul ul .forum-chapo { background: #FFFFFF; } /* Divers /* ------------------------------------------ */ .invisible { position: absolute; top: -3000em; height: 1%; } -.nettoyeur { clear: both; margin: 0; padding: 0; height: 0; line-height: 1px; font-size: 1px; overflow: hidden; } \ No newline at end of file +.nettoyeur { clear: both; margin: 0; padding: 0; height: 0; line-height: 1px; font-size: 1px; overflow: hidden; } diff --git a/dist/inc-entete.html b/dist/inc-entete.html index d694e0f744..1bc34464b3 100644 --- a/dist/inc-entete.html +++ b/dist/inc-entete.html @@ -1,10 +1,11 @@ <div id="entete"> -[(#REM) Afficher le logo du site, sinon le titre du site ] -<h1>[<a rel="start" href="#URL_SITE_SPIP/">(#LOGO_SITE_SPIP||reduire_image{770,200}|inserer_attribut{alt,[(#NOM_SITE_SPIP|textebrut)]}|inserer_attribut{title,[(#NOM_SITE_SPIP|textebrut)]}|sinon{#NOM_SITE_SPIP})</a>]</h1> +[(#REM) Afficher le logo et le titre du site ] +[<a rel="start" href="#URL_SITE_SPIP/" title="<:accueil_site:>">(#LOGO_SITE_SPIP||reduire_image{770,200}|inserer_attribut{alt,[(#NOM_SITE_SPIP|textebrut)]})</a>] +<h1[ style="margin-#LANG_LEFT: (#LOGO_SITE_SPIP||reduire_image{770,200}|largeur)px;"]>[<a rel="start" href="#URL_SITE_SPIP/">(#NOM_SITE_SPIP)</a>]</h1> [(#REM) Formulaire de recherche ] [(#FORMULAIRE_RECHERCHE)] <br class="nettoyeur" /> -</div> \ No newline at end of file +</div> -- GitLab