Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Derniers sujets
Probleme avec un code Dim 13 Oct - 21:05Jawn
Problème/Question CodeDim 13 Oct - 21:04Jawn
• THE LAST CUREDMer 9 Oct - 0:35Invité
• LOOM OF FATESLun 7 Oct - 16:09Invité
• AINSI TOMBA THEDASDim 6 Oct - 21:01Invité
• HIGHWAY TO THE STARSSam 5 Oct - 21:45Jawn
• CROWN OF SERPENTSMar 1 Oct - 20:05Invité
DEMANDES DE PARTENARIATLun 30 Sep - 21:30Jawn
• JUST MARRIEDLun 23 Sep - 0:00Jawn
• [+18] AMARYLLISMar 10 Sep - 23:18Jawn
• [+16] LA CALICES DES DIEUXSam 7 Sep - 22:18Jawn
• ERAXARTHJeu 5 Sep - 18:58Invité
• [+16] BEYOND THE VEILLun 2 Sep - 22:23Jawn
• ANAMORPHOSEDim 1 Sep - 23:12Jawn
• 30 YEARS STILL YOUNGJeu 29 Aoû - 20:35Jawn
• HELIANTHUSMer 28 Aoû - 13:08Jawn
• BASIQUEMar 27 Aoû - 13:56Jawn
• BLACK HOLE SUNLun 26 Aoû - 21:20Jawn
• A DROP IN THE OCEANLun 26 Aoû - 0:02Jawn
Le Deal du moment :
Carte Fnac+ Jackpot avec 30€ offerts sur le ...
Voir le deal
19.99 €

Jawn
she/her mais n'importe quel pronom fera l'affaire - codeuse - accro à Genshin Impact - vive les fleurs et la nature - créditez les codes
Jawn
she/her mais n'importe quel pronom fera l'affaire - codeuse - accro à Genshin Impact - vive les fleurs et la nature - créditez les codes
74427/01/2018
[PURPLE AND BLACK] RBjiygc

Pour le HTML, remplacez l'intégralité de votre template index_box par ce code :
Code:
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">

<div class="autourcate">
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<div class="tleCAT">{catrow.tablehead.L_FORUM}</div>

<!-- END tablehead -->
<!-- BEGIN cathead -->
<!-- END cathead -->
<!-- BEGIN forumrow -->

<div class="mdlCAT">
  <div class="gauche">
    <div class="lastpost">{catrow.forumrow.LAST_POST}</div>
    <img src="{catrow.forumrow.FORUM_FOLDER_IMG}" class="imgFRM" />
  </div>
  <div class="droite">
    <div class="sousforumFRM">
      {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
    </div>
    <div>
      <div>
        <div class="titreFRM"><span>“</span><a href="{catrow.forumrow.U_VIEWFORUM}"> {catrow.forumrow.FORUM_NAME}</a></div>
        <div class="descFRM">{catrow.forumrow.FORUM_DESC}</div>
      </div>
      <div class="statsFRM">
        <div>{catrow.forumrow.TOPICS} <span>sujets</span></div>
        <div>{catrow.forumrow.POSTS} <span>messages</span></div>
      </div>
    </div>
  </div>
</div>


<script type="text/javascript">$('.sfFRM').each(function(){$(this).html($(this).html().replace(/>, /g,"><br /> "));});</script>


<!-- END forumrow -->
<!-- END catrow -->
  
</div>
Ensuite, allez dans votre CSS et ajoutez ceci :
Code:
@font-face {    font-family: 'LemonTuesday';    src: url('http://vanessaskins.b1.jcink.com/uploads/vanessaskins/LemonTuesdaye.eot');    src: url('http://vanessaskins.b1.jcink.com/uploads/vanessaskins/LemonTuesday.eot?#iefix') format('embedded-opentype'),         url('http://vanessaskins.b1.jcink.com/uploads/vanessaskins/LemonTuesday.woff') format('woff'),         url('http://vanessaskins.b1.jcink.com/uploads/vanessaskins/LemonTuesday.ttf') format('truetype'),         url('http://vanessaskins.b1.jcink.com/uploads/vanessaskins/LemonTuesday.svg') format('svg');    font-weight: normal;    font-style: normal; }

/*Catégorie*/
 .autourcate {
    background:rgba(0, 0, 0, 0.6);
    margin:0 auto;
    border:solid 15px black;
    width: 940px;
    box-sizing: border-box;
}
 .tleCAT {
    padding: 40px;
    margin: 0 auto 10px;
    font-size: 20px;
    background: url(https://i.imgur.com/9C6uQSH.png) repeat;
}
 .tleCAT h2 {
    color: #762dcf;
    font-family:lemontuesday;
    font-size: 30px;
    text-shadow:2px 2px 0px #c5a459, 0px 1px #c5a459, 1px 0px #c5a459, -1px 0px #c5a459, 0px -1px #c5a459;
}
/*Forum*/
 .mdlCAT {
    background: #ccc;
    width: 780px;
    margin: 0 auto;
    height: 280px;
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    position: relative;
}
/*Partie gauche du forum*/
 .gauche {
    min-width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    margin-right: 20px;
}
/*Dernier emssage*/
 .lastpost {
    padding: 10px;
    background: black;
    color: #cccccc;
    font-family: "Times New Roman", serif;
    height: 35px;
    font-size: 9px;
    text-align: center;
    line-height: 1;
      position: relative;
    top: 15px;
}
 .lastpost > span > a:first-child, .lastpost strong > a {
    text-transform: uppercase;
    font-size: 12px;
    color: #c5a459;
    font-family: calibri, sans-serif;
    letter-spacing: 4px;
      position: relative;
    top: -3px;
}
 .lastpost .last-post-icon {
    vertical-align: middle;
}
 .lastpost strong {
    display: inline-block;
    margin-top: 3px;
}
 .lastpost:empty::before {
    content: "Pas de nouveaux messages";
    line-height: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-family: "Montserrat", sans-serif;
}
/*Image nouveau message*/
 .imgFRM {
    height: 50px;
    width: 300px;
      position: relative;
    top: 10px;
}
/*Partie droite du forum*/
 .droite > div:nth-child(2) {
    display: flex;
    margin-left: 30px;
}
 .droite > div:nth-child(2) > div:first-child {
    width: 300px;
    margin-right: 30px;
}
/*sous forums*/
 .sousforumFRM {
    font-size: 0px;
    margin-bottom: 50px;
}
 .sousforumFRM a {
    padding: 6px 12px;
    background: #762dcf;
    display: inline-block;
    color: #eaeaea;
    font-family: calibri, sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    margin:0px 2px 2px 0px;
    transition:all 800ms;
}
 .sousforumFRM a:hover {
    transition:all 800ms;
    background-color:#ffa500;
    color:#111111;
}
/*Titre forum*/
 .titreFRM a {
    color: black;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    margin-left: 10px;
}
 .titreFRM span {
    color: black;
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    margin-left: -20px;
    position: absolute;
    margin-top: -30px;
}
/*Description*/
 .descFRM {
    height: 100px;
    padding-right: 10px;
    overflow: auto;
    font-size: 11px;
    text-align: justify;
    color: black;
    font-family: calibri, sans-serif;
    margin-top: 10px;
}
 .descFRM img {
    position: absolute;
    z-index: 3;
    left: 20px;
    width: 300px;
    height: 150px;
    top: 20px;
    filter: grayscale(100%);
    transition: all 0.3s;
      outline: 1px solid #ffffff;
    outline-offset: -10px;
}
 .descFRM img:hover {
    transition:all 800ms;
    filter:grayscale(50%);
}
/*Statistiques*/
 .statsFRM {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}
 .statsFRM > div {
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
    width: 40px;
    font-size: 25px;
    text-align: center;
    color: black;
}
 .statsFRM > div span {
    font-weight:100;
    font-size:9px;
}

Pensez bien à cocher "non" à "opitmisation de votre CSS" et le tour sera joué !
L'image tout à gauche correspond à l'image que vous ajoutez dans votre catégorie en même temps que sa description ! Elle se mettra directement à la taille donc vous n'avez pas à vous en faire pour ça ! Pour changer la taille de cette image, c'est la balise "descFRM img" ~
[PURPLE AND BLACK] Empty # [PURPLE AND BLACK] - Lun 17 Déc - 2:35
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
© epsilon - 2024
créateurice de code depuis 2018
© jawn