Découvrir le conceptSans inscriptionMettez les créditsCommandes ouvertes
Le deal à ne pas rater :
Réassort du coffret Pokémon 151 Électhor-ex : où l’acheter ?
Voir le deal

KoalaVolant
KoalaVolant
Mar 20 Déc 2022 - 10:32
Version du forum : PHPBB2

Ceci est un code appartenant à un thème complet. Vous pouvez
Voir le thème complet "Gang Technology"
Si vous utilisez d'autres codes de ce thème, vous n'avez pas besoin de recopier-coller la partie "couleurs".




Particularités du code :
- Crédits : KoalaVolant
- Les images se redimensionnent toutes seules

Couleurs & Fonts


  1. Pour rappel, ce code appartient à un thème complet. Si vous utilisez déjà d'autres codes de ce thème, vous pouvez esquiver cette partie. Elle concerne les couleurs, et les polices d'écriture.

    Sinon : les couleurs sont à placer où vous voulez, mais quand vous les modifierez, elles se modifieront partout où les "variables" sont utilisées.

    Ce code utilise un système de “variables” rangé dans un “:root”.
    Si vous trouvez :root { } dans votre CSS déjà actuel, coller ce qu’il y a à l’intérieur du :root suivant, dans celui que vous possédez déjà.
    Attention, il peut y avoir des conflits de variable. Il ne peut pas y avoir deux mêmes variables. (genre, pas deux fois de --color1). Si c’est le cas, il suffit de renommer “--fond” par exemple en “--main-color-banane” (ce que vous voulez), partout dans le code.
    Pour rechercher et remplacer dans tout un code : https://convertir.github.io/outils/remplacer-texte-en-ligne.html

    Note : Si vous utilisez plusieurs codes de Pisrale n'appartenant pas à ce thème, il y a des chances qu’il y ait des conflits. Si vous voulez qu’on modifie les codes pour vous, suivez un de ces boutons

    Personnaliser mon code
    Signaler un souci

  2. Pour copier coller le ":root" il faut aller dans le Panneau d'administration > Affichage > Couleurs et CSS > Feuille de style CSS et copier coller ça :

    Code:
    :root{
        --fond-deg:linear-gradient(90deg, var(--dark) 32.29%, var(--light) 89.86%);
        --fond-img:url('https://www.zupimages.net/up/22/45/f0t6.png');
        --fond-img2:url('https://www.zupimages.net/up/22/45/f0t6.png');
        --fond-bodyline:#4d4d4d;
        --dark:#531b37;
        --light:#88263C;
        
        --black:#FDE8ED;
        --white:#dedede;
      --whitef:#363636;
        
        --text-shadow:0px 0px 0px #757575;
        --font-text:'Inter', sans-serif;
        --font-title:'GothamPro', sans-serif;
      
      --groupe1:#d7ba83;
    --groupe2:#ff85a7;
    --groupe3:#88c6ff;
    --groupe4:#6ed373;
    }

  3. Attention, les polices d'écriture utilisées sur ce thème sont "Inter" et "Gotham Pro" dans ce but, donc, il vous faudra les installer. Pour ça, connectez vous au compte fondateur, allez dans le Panneau d'administration > Affichage > Templates > Haut du forum (overall-header) et avant le "< /head>" (sans espace), copiez coller ça :
    Code:
      <!-- FONTS DU FORUM -->
      <link href="https://cdn.statically.io/gist/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/fad2f254369fb54250260077a4c87391a6280c52/gotham.css" rel="stylesheet">
        <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap" rel="stylesheet">

  4. Vous pouvez bien sûr changer les fonts par autre chose, en allant vous servir sur Google Fonts Very Happy



HTML

  1. Avec le compte fondateur, il faut aller dans Panneau d'administration > Affichage > Templates > memberlist_body
    Appuyez sur la roue crantée pour le modifier

  2. Copier coller ça à l'intérieur :

    Code:
    <form action="{S_MODE_ACTION}" method="get">
    <table cellspacing="0" cellpadding="5" border="0" align="center" class="forumline listmembreclef" width="100%">
       <tr>
          <td class="row1">
          <table cellspacing="2" cellpadding="0" border="0" align="center" class="genmed">
             <tr>
                <td width="100%">{L_USER_SELECT} <input type="text" class="post" name="username" maxlength="25" size="20" value="{L_USER_SELECT_VALUE}" />      
                {L_SELECT_SORT_METHOD} {S_MODE_SELECT}      
                {L_ORDER} {S_ORDER_SELECT}     &nbsp;
                {S_HIDDEN_SID}
                <input class="liteoption" type="submit" name="submit" value="{L_SUBMIT}" /></td>
             </tr>
          </table>
          </td>
       </tr>
    </table>
    </form>
    <div class="listmembreflex">
         <!-- BEGIN memberrow -->
    <div class="membreflex">
      <a class="avatarmember" href="{memberrow.U_VIEWPROFILE}">{memberrow.AVATAR_IMG}</a>
      <a class="pseudomember" href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a>
      <div class="labelmember">
        <span><strong>{memberrow.POSTS}</strong> messages</span>
        <span>{memberrow.LASTVISIT}</span>
        <span>Inscris depuis {memberrow.JOINED}</span>
      </div>
    </div>
         <!-- END memberrow -->
    </div>

    <!-- BEGIN switch_pagination -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
          <td><span class="nav">{PAGE_NUMBER}</span></td>
          <td align="right"><span class="nav">{PAGINATION}</span></td>
       </tr>
    </table>
    <br />
    <!-- END switch_pagination -->

  3. Validez une fois que c'est bon (il faut confirmer la modification une fois de retour dans la page des templates



CSS

  1. Allez dans Panneau d'administration > Affichage > Couleurs & CSS > Feuille de style CSS

  2. Si vous n'avez pas d'autres codes de ce thème, copier coller ça en plus à l'intérieur :
    Code:
    /* BODY ET CHOSES DE BASE */
    a, a:hover{ text-decoration:none !important; }
    *{ box-sizing:border-box; }
    img{ object-fit:cover; }
    .sceditor-button{width: 28px;}
    .top-bottom-fo{ position:absolute; }
    .bodyline{ border:none; background:var(--fond-bodyline);}
    #i_logo{ width:auto; }
    .sceditor-button{ width:27px !important; height:27px !important; }

    .catBottom{ background:var(--fond-deg) !important;}
    .catBottom a{ color:var(--white) !important;  }
    .catBottom .nav{ color:var(--black) !important;  }
    .row2, .row1{ background:var(--whitef) !important; color:var(--white); }

    input.post, textarea.post, select, #text_editor_iframe, textarea.inputbox{ color:#222; }
    input, textarea, select, #text_editor_iframe, .external-module .external-more a{ color:#222; }
    .forumline{ background:transparent; }
    th, td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom{ background:var(--fond-deg); }

    /* DÉBUT RETRAIT TRAITS NOIRS FORUM */
    .catHead, .catBottom, .catLeft, .catRight, .thLeft, .thRight,
    .thSides, .thCornerL, .thCornerR, .thTop, .thHead, .row3Right, .forumline
    {
    border: none !important;
    }
    /* FIN RETRAIT TRAITS NOIRS FORUM */

  3. Si vous avez déjà un code de ce thème, contentez vous de copier coller ça à l'intérieur et c'est tout :

    Code:


    /******************* LISTE DE MEMBRES ***************/

    .listmembreclef .row1 table{ font-size:15px !important; letter-spacing:1px; padding:10px; }
    .listmembreclef{ margin-top:10px; }

    .listmembreflex{ display:flex; justify-content:center; flex-wrap:wrap; margin-top:10px; }
    .listmembreflex .membreflex{ width:170px; margin:10px;}
    .membreflex img{ width:170px; height:170px; clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); opacity:0.8; transition:500ms; }
    .membreflex:hover img{ opacity:1; transition:500ms; }
    .membreflex .pseudomember{ display:flex; align-items:center; justify-content:center; text-align:center; background:var(--fond-deg); padding:5px; min-height:50px; font-size:14px; line-height:14px; font-family:var(--font-title); }
    .membreflex .pseudomember span{ background:var(--light); display:block; padding:5px;  }

    .labelmember span{ background:var(--whitef); display:block; text-align:center; font-size:14px; padding:2px; margin:5px 0; }

Revenir en haut

Nos amis proches

Liste des membres Parto512 Logo WyvArtem