Découvrir le conceptSans inscriptionMettez les créditsCommandes ouvertes

KoalaVolant
KoalaVolant
Mar 20 Déc 2022 - 10:31
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 > index_body
    Appuyez sur la roue crantée pour le modifier

  2. Repérez
    Code:
    <!-- BEGIN message_admin_txt -->
    Et
    Code:
    <!-- END message_admin_txt -->
  3. Il y a déjà quelque chose à l'intérieur, mais remplacez tout ce qu'il y a à l'intérieur par :

    Code:
    <!-- FLEX ET DEBUT -->
       <div class="bylpa">
              <!-- FLEX NUMERO 2 -->
              <div class="bylflex">
                <!-- CONTEXTE -->
                <div class="bylcont">
                  <div class="byltitle">Ceci est <strong>votre</strong> histoire</div>
                  <span>
                    <i1>La technologie.</i1> Blah blah blah
                  </span>
                  <a href="#" target="_blank">La lire au <strong>complet</strong></a>
                  <!-- FIN CONTEXTE -->
              </div>
                <!-- STAFF ET INFOS -->
                <div class="bylstaffinfos">
                  <!-- STAFF-->
                  <div class="bylstaff">
                    <div class="byltitle2">Le staff</div>
                    <div class="bylstaffimg">
                      <div class="bylstaff-bloc">
                        <img src="https://www.zupimages.net/up/22/39/p055.png"/>
                        <strong>Nom du perso ou pseudo</strong>
                        <span><a href="#" target="_blank">MP</a> - <a href="#" target="_blank">Profil</a></span>
                      </div>
                      <div class="bylstaff-bloc">
                        <img src="https://www.zupimages.net/up/22/39/usvg.png"/>
                        <strong>Nom du perso ou pseudo</strong>
                        <span><a href="#" target="_blank">MP</a> - <a href="#" target="_blank">Profil</a></span>
                      </div>
                    </div>
                    <!-- FIN STAFF -->
                  </div>
                  <!-- INFOS -->
                  <div class="bylinfos">infos du forum blabhalbha
                  <!-- FIN INFOS -->
                                  </div>
                  <!-- FIN STAFF ET INFOS-->
                </div>
                  <!-- NEW ET MEMBRE DU MOIS -->
                  <div class="bylnewmembre">
                    <!-- NEWS -->
                    <div class="bylnew">
                      <div class="byltitle">Et maintenant, le <strong>flash info</strong></div>
                      <div class="bylnew-content">
                                            <strong>07/10/22</strong> - blabha<br/>
                                            <strong>07/10/22</strong> - blabha<br/>
                                            <strong>07/10/22</strong> - blabha<br/>
                                            <strong>07/10/22</strong> - blabha<br/>
                        <strong>07/10/22</strong> - blabha
                      </div>
                      <!-- FIN NEWS -->
                    </div>
                   <!-- MEMBRE DU MOIS -->
                    <div class="bylmembre">
                      <div class="byltitle2">Ils ont fait les <strong>bons choix</strong> ce mois-ci</div>
                      <div class="bylmembre-flex">
                        <div class="bylmembre-content"><img src="https://www.zupimages.net/up/22/46/4m4f.png"/><span>Blah blah</span></div>
                        <div class="bylmembre-content"><img src="https://www.zupimages.net/up/22/46/2xrt.png"/><span>Blah blah</span></div>
                      </div>
                      <!-- FIN MEMBRE DU MOIS -->
                    </div>
                    <!-- FIN NEW ET MEMBRE DU MOIS -->
                  </div>
              <!-- FIN FLEX NUMERO 2 -->
      </div>
              <!-- PARTENAIRES -->
              <div class="bylpartenaires">
                <div class="byltitle">Nos <strong>partenaires</strong></div>
                <a href="https://pisrale.forumactif.com" target="_blank"><img src="https://i.imgur.com/B8c35cm.jpg"/></a>
                <a href="https://dmthbegins.forumactif.org/" target="_blank"><img src="https://i.imgur.com/ZTKRezl.png"/></a>
                <a href="https://zeusontinder.forumactif.com/" target="_blank"><img src="https://i.servimg.com/u/f83/19/82/94/51/part1011.png"/></a>
                <a href="https://detroit-become-human.forumactif.com/" target="_blank"><img src="https://zupimages.net/up/22/41/6pwa.png"/></a>
                <a href="https://auroreforks.forumactif.com/" target="_blank"><img src="https://zupimages.net/up/22/35/vhin.png"/></a>
                <a href="https://gangster-paradise.forumactif.com/" target="_blank"><img src="https://zupimages.net/up/22/40/llx8.bmp"/></a>
                <a href="https://madworld.forumactif.com/" target="_blank"><img src="https://www.zupimages.net/up/22/22/sjbk.png"/></a>
                            <a href="" target="_blank"><img src="https://www.zupimages.net/up/22/45/930a.png"/></a>
                <!-- FIN PARTENAIRES -->
              </div>
         <!-- FIN DE LA PA -->
      </div>

  4. 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:


    /************* PAGE D'ACCUEIL ***********/

    .bylpa{ display:flex; width:100%; flex-wrap:wrap;  margin-top:10px; margin-bottom:20px; }
    .bylpa .bylflex{ display:flex; justify-content:space-between; align-items:center; }

    /* CONTEXTE */

    .byltitle{ background:var(--fond-img); background-position:center; color:var(--white); text-shadow:var(--text-shadow); padding:2px; font-family:var(--font-title); letter-spacing:1px; }
    .bylcont{ width:30%; position:relative; margin-bottom:15px; }
    .bylpa .byltitle{ background:var(--fond-img); background-position:center; color:var(--white); text-shadow:var(--text-shadow); padding:2px; font-family:var(--font-title); letter-spacing:1px; }
    .bylcont span{ display:block; background:var(--whitef); color:var(--white); padding:10px; font-size:12px; line-height:1.2em; height:160px; }
    .bylcont a{ background:var(--fond-deg); color:var(--white); font-size:11px; letter-spacing:2px; font-family:var(--font-title); font-weight:200; padding:5px; width:60%; position:absolute; right:0; display:block; text-align:right; transition:500ms; }
    .bylcont a:hover{ letter-spacing:3px; width:68%; transition:500ms; }

    /* STAFF INFOS */

    .bylstaffinfos{ width:30%; }
    .bylpa .byltitle2{ font-family:var(--font-title); letter-spacing:3px; border-bottom:1px solid var(--light); font-weight:200; margin-bottom:5px; }

    .bylstaffimg{ display:flex; justify-content:space-between; }
    .bylstaffimg .bylstaff-bloc{ width:49%; font-size:12px; text-align:center; }
    .bylstaffimg .bylstaff-bloc img{ width:100%; height:50px; object-fit:cover; margin-bottom:5px; opacity:0.7; }
    .bylstaffimg .bylstaff-bloc:hover img{ opacity:1; }
    .bylstaffimg strong{ display:block; font-size:12px; font-family:var(--font-title); letter-spacing:1px;  }
    .bylstaffimg a{ font-size:11px; color:var(--black); }
    .bylstaffimg a:hover{ color:var(--white); }

    .bylinfos{ width:100%; background:var(--whitef); color:var(--white); height:100px; padding:10px; font-size:12px; line-height:12px; text-align:justify; margin-top:15px; overflow:auto; }
    /* NEW ET MEMBRE DU MOIS */

    .bylnewmembre{ width:34%; }

    /* NEW */

    .bylnew-content{ background:var(--whitef); color:var(--white); font-size:12px; padding:10px; height:80px; overflow:auto;  }
    .bylnew-content strong{ color:var(--black); font-family:var(--font-title); font-weight:200; letter-spacing:2px; }

    .bylmembre{ margin-top:10px;  }
    .bylmembre .byltitle2{ font-size:12px; padding-bottom:5px; text-align:right; }

    .bylmembre .bylmembre-flex{ display:flex; justify-content:space-between; }
    .bylmembre-flex .bylmembre-content{ width:49%; height:40px; position:relative; overflow:hidden; }
    .bylmembre-content img{ width:100%; height:35px; opacity:0.7; }
    .bymembre-content img:hover{ opacity:1; }
    .bylmembre-content span{ width:100%; height:35px; background:var(--fond-deg); padding:5px; font-size:12px; text-align:center; display:flex; justify-content:center; align-items:center; color:var(--white); font-family:var(--font-title); font-weight:200; letter-spacing:1px; position:absolute; top:0; left:-100%; transition:500ms;  }
    .bylmembre-content:hover span{ left:0; transition:500ms; }
    /* PARTENAIRES */

    .bylpartenaires{ width:100%; display:flex; align-items:center; margin-top:15px; }
    .bylpartenaires .byltitle{ width:148px; height:29px; display:flex; align-items:center; }
    .bylpartenaires .byltitle strong{ margin:0 5px; }
    .bylpartenaires img{ margin:0 2px; width:80px; height:29px; opacity:0.7; }
    .bylpartenaires img:hover{ opacity:1; }

Revenir en haut

Nos amis proches

Page d'accueil Parto512 Logo WyvArtem