Advertisement
ten-tation

Custom bio code #1 by wehelprps

May 2nd, 2013
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.42 KB | None | 0 0
  1. <!-- Please don't steal nor use as a base code! Thank you! -->
  2.  
  3.  
  4.  
  5. <!-- METATAGS -->
  6.  
  7.  
  8.  
  9. <meta name="color:BioColor1" content="#ffffff" />
  10. <meta name="color:BioColor2" content="#f9ad81" />
  11. <meta name="color:BioColor3" content="#d07440" />
  12.  
  13.  
  14.  
  15. /* CSS */
  16.  
  17.  
  18.  
  19. @font-face {
  20.     font-family: 'BebasNeue';
  21.     src: url('http://static.tumblr.com/xm4tcac/Uzzmm5co8/bebasneue-webfont.ttf');
  22. }
  23.  
  24. .topbar, .name, .subtitle, .biography, .info {
  25.     display:inline-block;
  26. }
  27.  
  28. .topbar, .name, .biography, .info {
  29.     margin-bottom:12px;
  30. }
  31.  
  32. .topbar {
  33.     width:500px;
  34.     height:75px;
  35.     background:{color:BioColor2}; /* Color 2 */
  36.     color:{color:BioColor1}; /* Color 1 */
  37. }
  38.  
  39. .name {
  40.     font-family: 'BebasNeue';
  41.     font-size:35pt;
  42.     color:{color:BioColor1}; /* Color 1 */
  43.     text-align:center;
  44.     width:500px;
  45.     margin-top:10px;
  46.     line-height:100%;
  47.     text-transform:uppercase;
  48.     text-shadow: 0 0 0.2em {color:BioColor3}; /* Color 3 */
  49. }
  50.  
  51. .subtitle {
  52.     position:absolute;
  53.     font-family:Calibri;
  54.     font-size:10px;
  55.     text-align:center;
  56.     width:500px;
  57.     color:{color:BioColor1}; /* Color 1 */
  58.     margin-top:-15px;
  59.     line-height:100%;
  60.     text-transform:uppercase;
  61.     text-shadow: 0 0 0.2em {color:BioColor3}; /* Color 3 */
  62. }
  63.  
  64. .biography {
  65.     width:470px;
  66.     height:170px;
  67.     padding:15px;
  68.     color:{color:BioColor1}; /* Color 1 */
  69.     background:{color:BioColor2}; /* Color 2 */
  70.     overflow:auto;
  71.     font-family:Calibri;
  72.     font-size:10pt;
  73.     text-align:right;
  74.     line-height:120%;
  75.     text-shadow: 0 0 0.2em {color:BioColor3}; /* Color 3 */
  76. }
  77.  
  78. .biography::-webkit-scrollbar-thumb {
  79.     background-color:{color:BioColor2}; /* Color 2 */
  80.     height:10px;
  81. }
  82.  
  83. .biography::-webkit-scrollbar {
  84.     background-color:{color:BioColor2}; /* Color 2 */
  85.     height:8px;
  86.     width:5px;
  87. }
  88.  
  89. .info {
  90.     width:480px;
  91.     height:25px;
  92.     padding:10px;
  93.     text-align:center;
  94.     color:{color:BioColor1}; /* Color 1 */
  95.     background:{color:BioColor2}; /* Color 2 */
  96.     font-family:Calibri;
  97.     font-size:10px;
  98.     text-transform:uppercase;
  99.     text-shadow: 0 0 0.2em #{color:BioColor3}; /* Color 3 */
  100. }
  101.  
  102.  
  103.  
  104. <!-- HTML -->
  105.  
  106.  
  107. <div class="topbar">
  108. <div class="name">CHARACTER'S NAME</div>
  109. <div class="subtitle"><em>subtitle</em></div>
  110. </div>
  111. <div class="biography">Biography here</div>
  112. <div class="info"><em>FC: name of celebrity<br />this character is open</em></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement