Advertisement
Aly

Neopets: Card 01

Aly
Jul 21st, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. <div class="wrapper">
  2.  
  3. <div class="card"><div class="card-container">
  4.  
  5. <div class="header"><img src="https://i.imgur.com/xJEKpEe.jpg"></div>
  6.  
  7. <table><tr><td><b>Layout 01</b>
  8. <br>A simple profile card</td></tr>
  9.  
  10. <tr>
  11.  
  12. <td><div class="tc"><div class="text"><b>Date Started</b>
  13. <br>July 22</div></div></td>
  14.  
  15. <td><div class="tc"><div class="text"><b>Date Completed</b>
  16. <br>July 22
  17. </div></div></td>
  18.  
  19. <td><div class="tc"><div class="text"><b>Other</b>
  20. <br>Something</div></div></td>
  21.  
  22. </tr>
  23. </table>
  24.  
  25. </div></div>
  26.  
  27. </div>
  28.  
  29. <style>
  30.  
  31. /* CSS by Milkwash ask for any assistance */
  32.  
  33. body { margin: 0; padding: 0;
  34. font-family: Trebuchet MS, Calibri, Arial, Sans-Serif; color: #b2969a;
  35. font-size: 12px; background: none;
  36. text-align: center;
  37. }
  38.  
  39. * { border: 0; padding: 0; box-sizing: border-box; }
  40.  
  41. b {}
  42.  
  43. .wrapper { width: 100%; height: 100%;
  44. background-color: #f3d9d8;
  45. display: table;
  46. vertical-align: top;
  47. text-align: center;
  48. }
  49.  
  50. .card {
  51. height: 100%;
  52. width: 100%;
  53. vertical-align: middle;
  54. display: table-cell;
  55. text-align: center;
  56. }
  57.  
  58. .card-container { margin: auto; width: 500px;
  59.  
  60. background-color: #f9ecec;
  61. border: 1px solid #fff;
  62. }
  63.  
  64. .header { width: 100%; height: 250px;
  65. background-color: #fff;
  66. overflow: hidden;border-bottom: 1px solid #fff; }
  67.  
  68. .header img { margin-top: -250px; width: 100%; }
  69.  
  70. table {
  71. font-family: Verdana; font-size: 11px; width: 100%;
  72. table-layout: fixed;
  73. width: 100%;
  74. border-spacing: 10px;
  75. }
  76.  
  77. table tr { width: 100%; display: inline-table;
  78. table-layout: fixed;
  79. border-spacing: 10px; }
  80.  
  81. table tr td {
  82. padding: 10px;
  83. text-align: center; }
  84.  
  85. .tc { width: 100%; height: 100%;
  86. background-color: rgba(255, 255, 255, 0.5); }
  87.  
  88. .alll { background-color: #fff; }
  89. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement