Advertisement
Guest User

Untitled

a guest
May 27th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5.  
  6. #content {
  7. background-color: #FDF4F4;
  8. width: 800px;
  9. height: 1030px;
  10. padding: 20px;
  11. border: 25px solid #480000;
  12. margin: 25px;
  13. }
  14. body{
  15. font: 16px Arial, sans-serif;
  16. background: url("http://i.imgur.com/QV8jdyd.png") center center fixed;
  17. background-repeat: no-repeat;
  18. }
  19.  
  20. h1{
  21. font: 50px Verdana, sans-serif;
  22. stroketext
  23. }
  24.  
  25. h4{
  26. font: 16px Verdana, sans-serif;
  27. }
  28.  
  29. ul {
  30. margin: 0px;
  31. padding: 10px 20px;
  32. border: 1px solid #999;
  33. box-shadow: 0px 0px 5px #999;
  34. border-radius: 6px;
  35. width: 220px;
  36. list-style-type: none;
  37. }
  38. ul li h3 {
  39. font-size: 15px;
  40. font-family: Verdana;
  41. }
  42. ul li .graph {
  43. background-color: #dbdbdb;
  44. margin-bottom: 15px;
  45. }
  46. ul li .graph .bar {
  47. height: 12px;
  48. width: 0;
  49. background-color: #F3EEE4;
  50. }
  51.  
  52. </style>
  53.  
  54.  
  55. <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  56. <script type="text/javascript">
  57. $(document).ready(function(){
  58. $('.bar').each(function(element) {
  59. console.log($(this).data('value') / 100);
  60. $(this).css('background-color', colorLuminance("#7f0000", $(this).data('value') / 100));
  61. $(this).width($(this).data('value') + "%");
  62. });
  63.  
  64. // http://www.sitepoint.com/javascript-generate-lighter-darker-color/
  65. function colorLuminance(hex, lum) {
  66. // validate hex string
  67. hex = String(hex).replace(/[^0-9a-f]/gi, '');
  68. if (hex.length < 6) {
  69. hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];
  70. }
  71. lum = lum || 0;
  72.  
  73. // convert to decimal and change luminosity
  74. var rgb = "#",
  75. c, i;
  76. for (i = 0; i < 3; i++) {
  77. c = parseInt(hex.substr(i * 2, 2), 16);
  78. c = Math.round(Math.min(Math.max(0, c + (c * lum)), 255)).toString(16);
  79. rgb += ("00" + c).substr(c.length);
  80. }
  81.  
  82. return rgb;
  83. }
  84. });
  85. </script>
  86.  
  87.  
  88. <title>CV-Joseph Stalin</title>
  89. </head>
  90. <body>
  91. <center>
  92. <div align="justify" id="content">
  93.  
  94. <div style="width="100%;">
  95. <h1><center><b>CV-Joseph Stalin</b></center></h1>
  96. </div>
  97.  
  98. <div align="justify" class="col" style="float: left; width: 45%; padding:5%;">
  99. <h2>Work Experiences</h2>
  100. <p>Glouroius uncontested leader of the Sovjet Union from 1922-1953.</p>
  101. <p>Moderator of /r/communism.</p>
  102. <p>Official representative of the Russian Moustache Grooming Foundation.</p>
  103.  
  104.  
  105. <h2>Education</h2>
  106.  
  107. <p>Bachelors degree in how web development.</p>
  108. <p>Masters degree in country border extraction.</p>
  109. <p>Doctorate in advanced communism studies.</p>
  110.  
  111. <h2>Language Knowledges</h2>
  112. <p>I only commmunicate in russian, the language of spoken by the true nation.</p>
  113.  
  114. <h2>Personal interests</h2>
  115. <p>My only freetime activity is listening to the Sovjet National anthem. <a href="https://www.youtube.com/watch?v=U06jlgpMtQs">Here you can listen to it.</a></p>
  116.  
  117. <h2>Other Work</h2>
  118. <a href="http://moveeme.weebly.com/">
  119. <img src="http://i.imgur.com/IJN86D7.png" width="65%"></img>
  120. </a>
  121. <p>A website where you get movies reccomended for you, by me!</p>
  122. <a href="https://moveeman.wordpress.com/">
  123. <img src="http://i.imgur.com/kMbRp7F.png"></img>
  124. </a>
  125. <p>Here you can follow my movie blog, where I will post reviews about recent movies that I want to talk about.</p>
  126. </div>
  127.  
  128.  
  129. <div align="justify" class="col" style="float: left; width: 35%; padding:5%;">
  130. <h2>Personality traits</h2>
  131. <ul>
  132. <li>
  133. <h3>Discipline</h3>
  134. <div class="graph">
  135. <div class="bar" data-value="85"></div>
  136. </div>
  137. </li>
  138. <li>
  139. <h3>Communism</h3>
  140. <div class="graph">
  141. <div class="bar" data-value="100"></div>
  142. </div>
  143. </li>
  144. <li>
  145. <h3>Patience</h3>
  146. <div class="graph">
  147. <div class="bar" data-value="30"></div>
  148. </div>
  149. </li>
  150. <li>
  151. <h3>Loyalty</h3>
  152. <div class="graph">
  153. <div class="bar" data-value="100"></div>
  154. </div>
  155. </li>
  156. <li>
  157. <h3>Mercy</h3>
  158. <div class="graph">
  159. <div class="bar" data-value="0"></div>
  160. </div>
  161. </li>
  162. </ul>
  163. <p>As you can see, I'm the perfect leader.</p>
  164.  
  165. <h2>Contact information</h2>
  166.  
  167. <div style="width:250px; height:188px; margin:5px">
  168. <img src="https://libcom.org/files/images/history/uncle-Joe.jpg" border="1px" height="188px" width="250px"></img>
  169. </div>
  170. <span style="padding:20px"></span>
  171. <table style="width:100%">
  172. <tr>
  173. <td>Telephone:</td>
  174. <td>574L1N</td>
  175. </tr>
  176. <tr>
  177. <td>Email adress:</td>
  178. <td>stalin.sovjet@ussr.ru</td>
  179. </tr>
  180. </table>
  181.  
  182.  
  183. <div style="width: 230px; padding:10px;">
  184. <a href="https://twitter.com/">
  185. <img src="http://i.imgur.com/vWK9pZs.png"></img>
  186. </a>
  187. <a href="https://www.facebook.com/">
  188. <img align="right" src="http://i.imgur.com/XdcmtO3.png"></img>
  189. </a>
  190. </div>
  191. </div>
  192. </div>
  193. </center>
  194. <div align="right" width=100px height=30px margin-right="10px">
  195. <h4>Created by Angus Lothian N2A</h4>
  196. </div>
  197. </body>
  198. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement