Changeset 115931 in spip-zone


Ignore:
Timestamp:
Jul 11, 2019, 4:21:58 PM (9 days ago)
Author:
cent20@…
Message:

Feuille de style en cascade ... Pffff plus d'une heure pour débuguer un truc évident
body.is-mobile.landing #banner,

body.landing #page-wrapper {

Si tu oublies "body.is-mobile.landing #banner," ça ne cascade plus du tout !

Location:
_squelettes_/html5up_spectral
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/html5up_spectral/assets/css/html5up_spectral.spip.css.html

    r115926 r115931  
    11/*
     2#CONFIG{html5up_spectral/image_background}
    23
    3 <BOUCLE_image_entete(DOCUMENTS){id_document=#CONFIG{html5up_spectral/image_background}}{extension==jpg|png|gif}{tous}>
    4 #SET{image_fond,#FICHIER}
     4<BOUCLE_image_entete(DOCUMENTS){id_document=#CONFIG{html5up_spectral/image_fond_accueil}}{extension==jpg|png|gif}{tous}>
     5#SET{image_fond,#URL_DOCUMENT}
     6#FICHIER
     7#URL_DOCUMENT
    58Surcharge l'image de fond si config depuis la page de configuration du plugin... : OK
    69</BOUCLE_image_entete>
     
    1922        }]
    2023               
    21         [body.landing #page-wrapper {
     24        [body.is-mobile.landing #banner,
     25        body.landing #page-wrapper {
    2226                background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("(#GET{image_fond})");]
    2327                [background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("(#GET{image_fond})");]
  • _squelettes_/html5up_spectral/assets/css/main.css

    r115591 r115931  
    39683968
    39693969        body.landing #page-wrapper {
    3970                 background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/banner.jpg");
    3971                 background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/banner.jpg");
    3972                 background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/banner.jpg");
    3973                 background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/banner.jpg");
     3970                background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
     3971                background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
     3972                background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
     3973                background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg");
    39743974                background-attachment: fixed;
    39753975                background-position: center center;
  • _squelettes_/html5up_spectral/formulaires/configurer_html5up_spectral.html

    r115926 r115931  
    2323                        <div class="editer-groupe">
    2424                       
    25                                 [(#SAISIE{selecteur_document,image_background,
     25                                [(#SAISIE{selecteur_document,image_fond_accueil,
    2626                                        label=Image de fond,
    2727                                        explication=Image de la médiathèque utilisée comme image de fond du thème.})]
Note: See TracChangeset for help on using the changeset viewer.