Advertisement
Hardrockdesign

Caja de perfil Spring Candy

Apr 20th, 2015
1,340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. ----------------------- CSS -----------------------
  2.  
  3. /*perfil*/
  4. .postprofile dt a img {
  5. align: center;
  6. max-height: 350px;
  7. position: absolute;
  8. top: 10px;
  9. left: 10px;
  10. max-width: 200px;
  11. }
  12.  
  13. #contenidoperfil {
  14. width: 200px;
  15. height: 355px;
  16. overflow:hidden;
  17. position: relative;
  18. left: 10px;
  19. top: -4px;
  20. }
  21. .contactoperfil {
  22. margin-left: 10px;
  23. }
  24. #contenidoperfil .efecto {
  25. background: #654143;
  26. width: 200px;
  27. height: 355px;
  28. position: absolute;
  29. text-align: left;
  30. text-transform: uppercase;
  31. font-family: calibri;
  32. margin-top: 4px;
  33. font-size: 9px;
  34. letter-spacing: 1px;
  35. right: -200px;
  36. top: 0px;
  37. -webkit-transition-duration: 1.5s;
  38. }
  39. #contenidoperfil:hover .efecto {
  40. background: #654143;
  41. width: 190px;
  42. height: 355px;
  43. padding: 5px;
  44. position: absolute;
  45. right: 0px;
  46. top: 0px;
  47. text-align: left;
  48. margin-top: 4px;
  49. color: #ffffff;
  50. text-transform: uppercase;
  51. font-family: calibri;
  52. font-size: 9px;
  53. letter-spacing: 1px;
  54. -webkit-transition-duration: 1.5s;
  55. }
  56.  
  57. .spanstyle {
  58. background: #EBE2C1;
  59. padding-top: 3px;
  60. color: #000000;
  61. font-weight: bold;
  62. padding-left: 4px;
  63. padding-right: 3px;
  64. padding-bottom: 3px;
  65. display: inline-block;
  66. margin: 2px;
  67. }
  68.  
  69. .postprofile {
  70. display: block;
  71. width: 220px;
  72. background: #EBE2C1;
  73. border: 5px solid #654143;
  74. position:relative;
  75. color: #fff;
  76. height: 430px;
  77. overflow: hidden;
  78. }
  79.  
  80. .rango {
  81. left: 10px;
  82. position: absolute;
  83. bottom: 10px;
  84. }
  85.  
  86. .usuarioperfil {
  87. background-color: #654143;
  88. display: block;
  89. font-family: calibri;
  90. float: right;
  91. font-size: 12px;
  92. letter-spacing: 1px;
  93. max-height: 15px;
  94. max-width: 230px;
  95. min-height: 15px;
  96. min-width: 230px;
  97. padding-bottom: 15px;
  98. padding-top: 15px;
  99. position: relative;
  100. text-align: center;
  101. text-transform: uppercase;
  102. margin-bottom: 0px;
  103. margin-top: 10px;
  104. }
  105.  
  106. ----------------------- PA>VISUALIZACIÓN>TEMPLATES>GENERAL>VIEWTOPIC_BODY -----------------------
  107.  
  108. <div class="usuarioperfil">{postrow.displayed.POSTER_NAME}</div><div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
  109. <!-- div class="online2"></div-->
  110. <dl>
  111. <dt>
  112. {postrow.displayed.POSTER_AVATAR}
  113. <br />
  114. </dt>
  115. <div id="contenidoperfil"><div class="efecto">
  116. <br />
  117. <dd>
  118. <!-- BEGIN profile_field -->
  119. <span class="spanstyle">{postrow.displayed.profile_field.LABEL}</span> {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
  120. <!-- END profile_field -->
  121. {postrow.displayed.POSTER_RPG}
  122. </dd>
  123. <br />
  124.  
  125. <div class="contactoperfil">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --></div>
  126. </div></div>
  127. <div class="rango">{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</div>
  128. </dl>
  129. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement