AccueilDernières imagesRechercherS'enregistrerConnexion

Forum de graphisme, codage et game design proposant des tutoriels, astuces, libres services et commandes dans les domaines de l'infographie amateur, de l'intégration web (HTML et CSS essentiellement) ainsi que dans la conception de RPG sur forum.

Le deal à ne pas rater :
Cartes Pokémon 151 : où trouver le coffret Collection Alakazam-ex ?
Voir le deal

    Mise en forme complète du profil "upside down" (CSS)

    Sparrow-style
    Sparrow-style
    FémininAge : 39Messages : 32055

    Sam 24 Nov 2012 - 1:19

    Rappel du premier message :

    Salut salut x)
    (oui je suis motivé aujourd'hui Razz)

    Je vous propose avec ce tutoriel une mise en forme complète de votre profil (pseudo + cadre + avatar + profil) avec comme particularité principale un profil qui apparait en tournant. Un petite explication en image est surement préférable :

    Image 1
    Image 2
    Image 3

    Donc pour l'explication, votre profil apparait normalement comme dans l'image 1. Ensuite, lorsque vous survolez la petite image en dessous de l'avatar inscrite "profil", le cadre se tourne (image 2 = intermédiaire de mouvement) pour arriver dans le bon sens comme sur l'image 3.

    Plutôt sympa, nan ? x)


    Installation HTML

    Pour modifier le profil sur vos forum vous devez aller dans le template "viewtopic_body", autrement nommé "Affichage d'un sujet". Dans ce template, repérez le code suivant :

    Code:
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
             <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
                <span class="postdetails poster-profile">
                {postrow.displayed.POSTER_RANK}<br />
                {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
                <!-- BEGIN profile_field -->
                {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                <!-- END profile_field -->
                {postrow.displayed.POSTER_RPG}
             </span><br />
             <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
          </td>

    Il commence à la ligne 87 normalement. C'est la case du profil ("td" en codage html désignant la case d'un tableau).

    Remplacez l'intégralité de ce passage par celui-ci :

    Code:
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
                      <div class="profil_mess">
             <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
                <span class="postdetails poster-profile">
                {postrow.displayed.POSTER_RANK}<br />
                                      {postrow.displayed.RANK_IMAGE}</span>
                        <span class="avatar_mess">{postrow.displayed.POSTER_AVATAR}</span><br />
                      </div>
                      <div class="profil2_mess">
                        <center><img src="http://img15.hostingpics.net/pics/665019profilimage.png" /></center>
                        <div class="profil2_content"><span class="postdetails poster-profile">
                <!-- BEGIN profile_field -->
                {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                <!-- END profile_field -->
                {postrow.displayed.POSTER_RPG}
             </span><br />
                          <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" /></div>
                      </div>
          </td>

    N'oubliez pas d'enregistrer et de valider votre template modifié !


    Installation CSS

    Allez ensuite dans votre Feuille CSS pour y ajouter ce code, qui mettra en forme votre profil :

    Code:
    .profil_mess
    {
      position: relative;
      z-index: 9;
      width: 210px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 10px;
      background-color: #333333;
      padding: 4px;
      text-align: center;
      border-radius: 10px;
      -moz-border-radius: 10px;
      -htm-border-radius: 10px;
      -o-border-radius: 10px;
      -webkit-border-radius: 10px;
      border: 2px solid #5b5b5b;
      box-shadow: 0px 0px 5px #000000;
      -moz-box-shadow: 0px 0px 5px #000000;
      -htm-box-shadow: 0px 0px 5px #000000;
      -o-box-shadow: 0px 0px 5px #000000;
      -webkit-box-shadow: 0px 0px 5px #000000;
    }

    .name
    {
      display: block;
      text-transform: uppercase;
      margin-top: -15px;
      margin-bottom: -10px;
      font-size: 14px;
      font-family: arial black;
      text-shadow: 1px 1px 0px #000000;
      padding-bottom: 5px;
      border-bottom: 1px dashed #5b5b5b;
    }

    .avatar_mess
    {
      display: block;
      width: 200px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 10px;
      height: 320px;
      overflow: hidden;
      border: 5px solid #0d0d0d;
      opacity: 0.7;
      -moz-opacity: 0.7;
      -khtml-opacity: 0.7;
      filter: alpha(opacity=70);
      transition: 1s;
      -moz-transition: 1s;
      -o-transition: 1s;
      -htm-transition: 1s;
      -webkit-transition: 1s;
    }
    .avatar_mess:hover
    {
      opacity: 1;
      -moz-opacity: 1;
      -khtml-opacity: 1;
      filter: alpha(opacity=100);
      transition: 1s;
      -moz-transition: 1s;
      -o-transition: 1s;
      -htm-transition: 1s;
      -webkit-transition: 1s;
    }

    .profil2_mess
    {
      position: relative;
      z-index: 1;
      width: 180px;
      margin-left: auto;
      margin-right: auto;
      margin-top: -202px;
      background-color: #141414;
      padding-left: 4px;
      padding-right: 4px;
      text-align: left;
      border-radius: 10px;
      -moz-border-radius: 10px;
      -htm-border-radius: 10px;
      -o-border-radius: 10px;
      -webkit-border-radius: 10px;
      border: 2px solid #434343;
      box-shadow: 0px 0px 5px #000000;
      -moz-box-shadow: 0px 0px 5px #000000;
      -htm-box-shadow: 0px 0px 5px #000000;
      -o-box-shadow: 0px 0px 5px #000000;
      -webkit-box-shadow: 0px 0px 5px #000000;
      color: #434343 !important;
      transform: rotate(-180deg);
      -moz-transform: rotate(-180deg);
      -o-transform: rotate(-180deg);
      -htm-transform: rotate(-180deg);
      -webkit-transform: rotate(-180deg);
      transition: 2s;
      -moz-transition: 2s;
      -o-transition: 2s;
      -htm-transition: 2s;
      -webkit-transition: 2s;
    }
    .profil2_mess:hover
    {
      margin-top: -42px;
      transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      -htm-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      transition: 2s;
      -moz-transition: 2s;
      -o-transition: 2s;
      -htm-transition: 2s;
      -webkit-transition: 2s;
    }
    .profil2_content
    {
      display: block;
      width: 180px;
      height: 200px;
      max-height: 200px;
      overflow: auto;
    }


    Personnalisation

    Comme vous pouvez le constater, le profil est placé à l'envers sous l'avatar pour ensuite être remis dans le bon sens au survol. Du coup, il est OBLIGATOIRE que votre petite image de profil soit créée A L'ENVERS ! Bah oui, puisqu'elle n'apparait à l'endroit que parce que le bloc est à l'envers... Vous suivez ? XD

    Pour le reste, il s'agit essentiellement de couleurs à changer, guère plus.

    Parmi les effets du profil, l'avatar est en opacité légèrement réduite et devient opaque au survol, et le pseudo est en majuscules.

    En cas d'utilisation de ces codes merci de mettre un crédit à Never-Utopia sur votre forum, même si vous personnalisez le code, la base a été écrite ici. Un petit crédit, ce n'est pas grand chose, et nous ne demandons que ça pour le partage de notre petit savoir x)

    Merci de laisser un message pour donner vos impressions, commentaires et/ou remerciements ^^
    Si vous avez des problèmes avec ce LS, venez poster ici.


    Dernière édition par Sparrow-style le Lun 6 Mai 2013 - 11:37, édité 2 fois



    sign
    ColorTime'Less
    ColorTime'Less
    FémininAge : 26Messages : 106

    Ven 28 Aoû 2015 - 19:53

    Merci du partage :)
    MissDream
    MissDream
    FémininAge : 28Messages : 151

    Sam 29 Aoû 2015 - 21:46

    oh *.* super merci beaucoup



    MissDream
    N'ais pas peur de rêver

    Recommandation
    Ookami Shiroi
    Ookami Shiroi
    FémininAge : 32Messages : 90

    Dim 30 Aoû 2015 - 15:21

    Merci
    Err0r
    Err0r
    FémininAge : 30Messages : 134

    Lun 31 Aoû 2015 - 14:08

    je pique ^^



    Mise en forme complète du profil "upside down" (CSS) - Page 18 150519095409324327
    mon-etoile
    mon-etoile
    FémininAge : 35Messages : 140

    Lun 31 Aoû 2015 - 17:24

    Merci beaucoup
    avatar
    LeGrandJuju
    MasculinAge : 34Messages : 7

    Ven 4 Sep 2015 - 20:30

    Thanks
    Grande
    Grande
    FémininAge : 36Messages : 207

    Jeu 10 Sep 2015 - 1:04

    Merci =D



    Mise en forme complète du profil "upside down" (CSS) - Page 18 171074gwenj10
    Tinkky
    Tinkky
    FémininAge : 33Messages : 104

    Jeu 10 Sep 2015 - 18:18

    Vraiment jolie. Merci du partage ^_^
    Aine Michiyo
    Aine Michiyo
    FémininAge : 28Messages : 27

    Sam 12 Sep 2015 - 21:38

    Merci !
    fancy
    fancy
    MasculinAge : 33Messages : 34

    Lun 14 Sep 2015 - 13:50

    merci infiniment pour ton partage **
    Soupy
    Soupy
    FémininAge : 28Messages : 23

    Lun 14 Sep 2015 - 17:03

    Merci c'est génial !
    Alaynna
    Alaynna
    FémininAge : 31Messages : 77

    Lun 14 Sep 2015 - 17:53

    Merci beaucoup pour le partage, c'est sublime



    -- If we don't have the key we can't open we can't open whatever it is, we don't have, that it unlocks, so what purpose would be served in finding whatever need be unlocked, which we don't have, without first having found the key that unlocks it?
    -- So we're going after this key?
    -- You're not making any sense at all.
    lala zhang
    lala zhang
    FémininAge : 33Messages : 377

    Ven 18 Sep 2015 - 9:50

    Merci pour le partage.
    Zealanders
    Zealanders
    MasculinAge : 28Messages : 42

    Ven 18 Sep 2015 - 14:35

    Trop cool ! :p
    Milou
    Milou
    FémininAge : 25Messages : 163

    Sam 19 Sep 2015 - 12:47

    Thanks, c'est ce que je cherchais ^^



    Mise en forme complète du profil "upside down" (CSS) - Page 18 693002signa
    Stafo
    Stafo
    MasculinAge : 43Messages : 12

    Dim 20 Sep 2015 - 0:08

    merci !
    Maxen Cox
    Maxen Cox
    MasculinAge : 28Messages : 26

    Lun 21 Sep 2015 - 21:11

    Merci beaucoup !!
    Missy 26
    Missy 26
    FémininAge : 34Messages : 60

    Lun 28 Sep 2015 - 15:45

    Thanks
    MsCrazy.E
    MsCrazy.E
    FémininAge : 26Messages : 183

    Ven 2 Oct 2015 - 23:52

    Merci pour ce partage ! :3



    Mise en forme complète du profil "upside down" (CSS) - Page 18 Nu_a_b10
    Sun.
    Sun.
    FémininAge : 24Messages : 15

    Mer 21 Oct 2015 - 21:30

    Merci beaucoup ! :3
    Archeos
    Archeos
    FémininAge : 27Messages : 60

    Sam 24 Oct 2015 - 19:35

    Merci. **



    Mise en forme complète du profil "upside down" (CSS) - Page 18 120523094846729821
    Neymar
    Neymar
    MasculinAge : 25Messages : 139

    Dim 25 Oct 2015 - 17:05

    KYA KAWAI >////<
    CruZa
    CruZa
    MasculinAge : 28Messages : 136

    Mar 27 Oct 2015 - 17:43

    Merci Very Happy
    Nartiifiice
    Nartiifiice
    FémininAge : 26Messages : 88

    Jeu 5 Nov 2015 - 17:18

    thanks
    Biditoche
    Biditoche
    FémininAge : 31Messages : 32

    Dim 8 Nov 2015 - 19:13

    J'adore, merci Very Happy
    Contenu sponsorisé


      La date/heure actuelle est Lun 29 Avr 2024 - 16:39