Advertisement
Hardrockdesign

perfil horizontal

Nov 4th, 2015
559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. /**** CSS ****/
  2.  
  3. .caja-perfil {
  4. height: 230px;
  5. width: 630px;
  6. position: relative;
  7. }
  8.  
  9. .usuario-p {
  10. width: 180px;
  11. text-align: center;
  12. bottom: 140px;
  13. font-size: 15px;
  14. position: absolute;
  15. right: 0px;
  16. }
  17.  
  18. .rango-p {
  19. right: 0px;
  20. bottom: 70px;
  21. position: absolute;
  22. }
  23.  
  24. .contacto-p {
  25. width: 180px;
  26. bottom: 40px;
  27. position: absolute;
  28. right: 0px;
  29. }
  30.  
  31. .avatar-p {
  32. position: absolute;
  33. top: 0px;
  34. left: 0px;
  35. }
  36.  
  37. .campos-p {
  38. position: absolute;
  39. left: 220px;
  40. font-family: calibri;
  41. top: 0px;
  42. }
  43. .campo-p {
  44. display: block;
  45. width: 210px;
  46. padding-bottom: 3px;
  47. text-align: left;
  48. margin-bottom: 10px;
  49. line-height: 100%;
  50. text-transform: uppercase;
  51. letter-spacing: 2px;
  52. }
  53.  
  54. .post {
  55. width: 650px;
  56. position: relative;
  57. padding: 10px;
  58. }
  59.  
  60. .postbody {
  61. width: 650px;
  62. text-align: justify;
  63. margin-top: 270px;
  64. }
  65.  
  66. .postprofile {
  67. width: 630px;
  68. background: #eee;
  69. float: none;
  70. border: none;
  71. position: absolute;
  72. height: 230px;
  73. padding: 10px;
  74. overflow: hidden;
  75. left: 10px;
  76. top: 4px;
  77. }
  78.  
  79.  
  80. /*** Esta parte va en el template viewtopic_body sustituyendo la que aparece en este pantallazo http://i.imgur.com/p4FkHjj.jpg ***/
  81.  
  82. <div class="postprofile" id="profile{postrow.displayed.U_POST_ID}"><div class="caja-perfil">
  83. <!-- div class="online2"></div-->
  84. <dl>
  85. <div class="avatar-p">{postrow.displayed.POSTER_AVATAR}</div>
  86. <br /><div class="usuario-p">{postrow.displayed.POSTER_NAME}</div>
  87. <div class="rango-p">{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</div>
  88.  
  89. <div class="campos-p"><!-- BEGIN profile_field -->
  90. <div class="campo-p">{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
  91. <!-- END profile_field --></div>
  92. {postrow.displayed.POSTER_RPG}
  93.  
  94. <div class="contacto-p">
  95. {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
  96. </div>
  97. </dl>
  98. </div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement