silbrigthemes

Steckbrief (Page#2) – Dark Version

Jan 28th, 2018
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.53 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. STECKBRIEF
  8. Page#2 by @silbrigthemes
  9.  
  10. This is a simple about page featuring a header image, a contact box, social media icons and more.
  11.  
  12. Please do not edit or delete the credit.
  13. Please do not change the style / layout beyond recognition.
  14. Don't use this code as a base.
  15. Don't distribute this code as your own.
  16.  
  17. Thank you for following the rules and have fun with it.
  18.  
  19. Customization help is given in comments.
  20.  
  21. -->
  22.  
  23. <!-- Add icon library -->
  24. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  25.  
  26. <!-- This script is necessary to make the page responsive -->
  27. <meta name="viewport" content="width=device-width, initial-scale=1">
  28.  
  29. <!-- Custom font scripts -->
  30. <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i" rel="stylesheet">
  31. <link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700" rel="stylesheet">
  32.  
  33. <style type="text/css">
  34.  
  35. body{
  36. margin:0;
  37. background-color:#000; /* edit global background color */
  38. font-family:"Quicksand", Verdana; /* edit font-family ; Verdana is a fall-back system font */
  39. color:#fefefe; /* edit global text color */
  40. font-size:1em; /* 1em = 16px */
  41. overflow:hidden;
  42. }
  43.  
  44. /* Custom scrollbar */
  45. ::-webkit-scrollbar{
  46. width:6px;
  47. background-color:#111; /* background color of the scrollbar */
  48. }
  49.  
  50. ::-webkit-scrollbar-thumb{
  51. background-color:#f99659; /* background color of the scrollbar thumb */
  52. }
  53.  
  54. ::-webkit-scrollbar-track{
  55. background-color:#f99659; /* background color of the scrollbar track */
  56. border:2px solid #111; /* border around the scrollbar track*/
  57. }
  58.  
  59. /* Custom selection */
  60. ::selection{
  61. background-color:#999; /* selection background color */
  62. }
  63.  
  64. ::-webkit-selection{
  65. background-color:#999;
  66. }
  67.  
  68. ::-o-selection{
  69. background-color:#999;
  70. }
  71.  
  72. ::-moz-selection{
  73. background-color:#999;
  74. }
  75.  
  76. /* The card */
  77. #card{
  78. height:80vh; /* vh = viewport height */
  79. width:50vw; /* vw = viewport width */
  80. background-color:#111; /* background color of the card */
  81. margin-left:25vw; /* distance to the left | (100 - width) / 2 */
  82. margin-top:7.5vh; /* distance to top | (100 - height) / 2 */
  83. border-radius:2px; /* increase to round corners more, set to "none" for pointy corners */
  84. }
  85.  
  86. /* The header with the image */
  87. #heading{
  88. background-image:url("http://www.echopublishing.com.au/wp-content/uploads/2017/05/Tess-Holliday-holding-image.jpg");
  89. background-size:50%; /* change this depending on your image */
  90. background-repeat:no-repeat;
  91. background-attachment:fixed;
  92. background-position:top center; /* change this depending on your image | top OR center OR bottom / left OR center OR right */
  93. height:250px; /* height of the image */
  94. }
  95.  
  96. /* The title */
  97. #title{
  98. font-size:2em;
  99. text-align:center;
  100. padding-top:10px;
  101. padding-bottom:5px;
  102. font-family:"Playfair Display", "Times New Roman"; /* change font-family here, TNR is a fall-back system font */
  103. font-weight:bold;
  104. font-style:italic;
  105. color:#fefefe; /* text color of the title */
  106. text-shadow:2px 2px 1px #666; /* shadow of the title | offset to left, offset to top, blur, color*/
  107. }
  108.  
  109. /* The description + specifications */
  110. #description{
  111. text-align:justify; /* text align: left OR center OR right OR justify*/
  112. width:45vw;
  113. height:35%;
  114. padding-top:10px;
  115. padding-left:2.5vw;
  116. padding-right:2.5vw;
  117. overflow-y:scroll; /* if the text gets longer than the height of the box a scrollbar appears */
  118. }
  119.  
  120. #description a{
  121. color:#f99659; /* link color */
  122. font-weight:bold;
  123. text-decoration:none;
  124. transition: 0.5s;
  125. -moz-transition:0.5s;
  126. -o-transition:0.5s;
  127. -webkit-transition:0.5s;
  128. }
  129.  
  130. #description a:hover{
  131. cursor:pointer;
  132. color:#888; /* link color on hover */
  133. transition: 0.5s;
  134. -moz-transition:0.5s;
  135. -o-transition:0.5s;
  136. -webkit-transition:0.5s;
  137. }
  138.  
  139. #description b, strong{
  140. font-weight:bold;
  141. color:#aaa; /* bold text color */
  142. }
  143.  
  144. #description i, em{
  145. font-style:italic;
  146. color:#aaa; /* italic text color */
  147. }
  148.  
  149. #description mark{
  150. background-color:#f99659; /* marker background color */
  151. color:#eee; /* marker text color */
  152. font-weight:bold;
  153. padding:2px;
  154. border-radius:2px; /* rounded corners on the marked text */
  155. }
  156.  
  157. #description ul, ol{
  158. list-style-type:none;
  159. }
  160.  
  161. #description li{
  162. padding-bottom:8px;
  163. }
  164.  
  165. /* The link section at the bottom of the card */
  166. #links{
  167. background-color:#f99659; /* background color of the section with the button */
  168. height:10vh;
  169. display:flex;
  170. justify-content:center;
  171. }
  172.  
  173. /* The button which opens the modal */
  174. button{
  175. background-color:#333; /* button background color */
  176. border-radius:2px;
  177. border:none;
  178. margin-top:20px;
  179. padding:4px;
  180. color:#fefefe; /* button text color */
  181. font-size:1em;
  182. text-transform:uppercase;
  183. width:100px;
  184. font-family:"Quicksand", Verdana; /* button font-family */
  185. font-weight:bold;
  186. text-shadow:1px 1px 1px #aaa; /* button text shadow */
  187. transition: 0.5s;
  188. -moz-transition:0.5s;
  189. -o-transition:0.5s;
  190. -webkit-transition:0.5s;
  191. }
  192.  
  193. button:hover{
  194. background-color:#fefefe; /* button background color on hover */
  195. color:#333; /* button text color on hover */
  196. cursor:pointer;
  197. transition: 0.5s;
  198. -moz-transition:0.5s;
  199. -o-transition:0.5s;
  200. -webkit-transition:0.5s;
  201. }
  202.  
  203. /* The Modal (background) */
  204. .modal {
  205. display: none; /* Hidden by default */
  206. position: fixed; /* Stay in place */
  207. z-index: 1; /* Sit on top */
  208. left: 0;
  209. top: 0;
  210. width: 100%; /* Full width */
  211. height: 100%; /* Full height */
  212. overflow: auto; /* Enable scroll if needed */
  213. background-color: rgb(0,0,0); /* Fallback color */
  214. background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  215. }
  216.  
  217. /* Modal Header */
  218. .modal-header {
  219. padding: 2px 16px;
  220. background-color: #f99659; /* header background color */
  221. color: white; /* header text color */
  222. font-family:"Playfair Display", "Times New Roman"; /* header font-family */
  223. font-weight:bold;
  224. font-style:italic;
  225. font-size:1.5em; /* 1.5 em = 24px*/
  226. text-align:center;
  227. text-shadow:2px 2px 1px #f77322; /* header text shadow | offset to top, offset tp left, blur, color */
  228. }
  229.  
  230. /* Modal Body */
  231. .modal-body {
  232. padding: 2px 16px;
  233. background-color:#111;
  234. }
  235.  
  236. /* Modal Footer */
  237. .modal-footer {
  238. padding: 2px 16px;
  239. background-color: #f99659; /* footer background color */
  240. color: white; /* footer text color */
  241. text-align:center;
  242. }
  243.  
  244. .modal-footer a{
  245. color:#fff; /* link text color */
  246. text-shadow:2px 2px 1px #f77322; /* link text shadow color */
  247. text-align:center;
  248. font-size:1.5em;
  249. padding-left:25px;
  250. }
  251.  
  252. .modal-footer a:hover{
  253. color:#eee; /* link text color on hover */
  254. text-shadow:2px 2px 1px #f77322; /* link text shadow on hover */
  255. }
  256.  
  257. /* Modal Content */
  258. .modal-content {
  259. position: relative;
  260. background-color: #fefefe;
  261. border: 1px solid #888;
  262. width: 80%;
  263. box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  264. animation-name: animatetop;
  265. animation-duration: 0.4s;
  266. top:50%;
  267. left:50%;
  268. transform:translate(-50%,-50%);
  269. }
  270.  
  271. /* Add Animation */
  272. @keyframes animatetop {
  273. from {top: -300px; opacity: 0}
  274. to {top: 0; opacity: 1}
  275. }
  276.  
  277. /* The Close Button */
  278. .close {
  279. color: #fff;
  280. float: right;
  281. font-size: 28px;
  282. font-weight: bold;
  283. }
  284.  
  285. .close:hover,
  286. .close:focus {
  287. color: black;
  288. text-decoration: none;
  289. cursor: pointer;
  290. }
  291.  
  292. #credit img{
  293. width:5em;
  294. float:right;
  295. margin-right:0.5em;
  296. margin-top:-0.5em;
  297. border:5px solid #000; /* set this to the background color of the global background */
  298. border-radius:50%;
  299. transition:0.5s;
  300. -moz-transition:0.5s;
  301. -o-transition:0.5s;
  302. -webkit-transition:0.5s;
  303. }
  304.  
  305. #credit img:hover{
  306. border:5px solid #f77322;
  307. border-radius:50%;
  308. cursor:pointer;
  309. -moz-transition:0.5s;
  310. -o-transition:0.5s;
  311. -webkit-transition:0.5s;
  312. }
  313.  
  314. /* Responsive layout for screens with a width below 750px */
  315. @media only screen and (max-width:750px){
  316. #card{
  317. min-width:250px;
  318. min-height:350px;
  319. }
  320.  
  321. #description{
  322. height:calc(35% + 100px);
  323. min-width:230px;
  324. padding-right:5px;
  325. padding-left:15px;
  326. }
  327.  
  328. #links{
  329. margin-top:0;
  330. min-width:250px;
  331. }
  332.  
  333. #heading{
  334. height:150px;
  335. }
  336.  
  337. #links{
  338. min-height:75px;
  339. display:flex;
  340. justify-content:center;
  341. }
  342.  
  343. button{
  344. margin-top:20px;
  345. }
  346. }
  347.  
  348. /* Responsive layout for screens with a width below 1000px */
  349. @media only sreen and (max-width:1000px){
  350. #heading{
  351. height:200px;
  352. }
  353.  
  354. #description{
  355. height:calc(35% + 50px);
  356. }
  357. }
  358.  
  359. </style>
  360. </head>
  361. <body>
  362.  
  363. <div id="card">
  364. <div id="heading"></div>
  365. <div id="title">Tess Holliday</div> <!-- Add your title here. -->
  366. <div id="description">
  367. <!-- Here goes your description. -->
  368. <!-- An unordered list; delete it if you don't need it. -->
  369. <ul>
  370. <li><mark>Age:</mark> 32 </li>
  371. <li><mark>Nationality:</mark> American</li>
  372. <li><mark>Occupation:</mark> model, make-up artist, blogger</li>
  373. </ul>
  374.  
  375. Missisippi born and L.A. bred, <b>Tess</b> has been modelling since 2010. She cut her teeth working for many indie designers and brands. She continues to work for some to show support for those who support her, such as <i>Orchard Corset</i>, <i>Domino Dollhouse</i>, and <i>Jessica Louise Clothing</i>.
  376. <br><br>
  377. She started the <mark>body positive</mark> movement <a href="https://twitter.com/hashtag/effyourbeautystandards?lang=de">#effyourbeautystandards</a> in 2013, and continues to pursue this avenue to empower people from all walks of life to embrace the body they are in right now.
  378. <br><br>
  379. </div>
  380.  
  381. <div id="links">
  382. <div id="contact">
  383. <button id="myBtn">Contact</button> <!-- Add your own button text here. -->
  384. <!-- The Modal -->
  385. <div id="myModal" class="modal">
  386.  
  387. <!-- Modal content -->
  388. <div class="modal-content">
  389. <div class="modal-header">
  390. <span class="close">&times;</span>
  391. <h2>Get In Touch</h2> <!-- Text on the header. -->
  392. </div>
  393. <div class="modal-body">
  394. <p>This is where you can leave a message. Please remain friendly and do not send graphic content. Please be patient, we'll try to reply as soon as possible.</p> <!-- Content text. -->
  395. <p>
  396. <p><iframe frameborder="0" scrolling="no" width="100%" height="250px" src="http://www.tumblr.com/ask_form/{NAME}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]--></p>
  397. <!-- Don't delete this iframe or you won't have an askbox anymore. The {NAME} automatically gets your username for the askbox to work. -->
  398. </p>
  399. </div>
  400. <div class="modal-footer">
  401. <h3>
  402. <!-- Navigation with the social media icons. -->
  403. <a href="http://facebook.com/tesshollidayofficial"><i class="fa fa-facebook"></i></a>
  404. <a href="https://instagram.com/tessholliday/"><i class="fa fa-instagram"></i></a>
  405. <a href="https://twitter.com/Tess_Holliday"><i class="fa fa-twitter"></i></a>
  406. </h3>
  407. </div>
  408. </div>
  409.  
  410. </div>
  411. </div>
  412.  
  413. </div>
  414.  
  415. </div>
  416.  
  417. <div id="credit">
  418. <a href="https://silbrigthemes.tumblr.com/" alt="silbrigthemes">
  419. <img src="https://78.media.tumblr.com/d6e5b2f2cb7e4a0cac6a079475436af2/tumblr_p39svqXSj81wsskx3o2_r1_500.png" alt="silbrigthemes icon">
  420. </a>
  421.  
  422. </div>
  423.  
  424. <!-- SCRIPT TO OPEN THE MODAL ON CLICK -->
  425. <script>
  426. // Get the modal
  427. var modal = document.getElementById('myModal');
  428.  
  429. // Get the button that opens the modal
  430. var btn = document.getElementById("myBtn");
  431.  
  432. // Get the <span> element that closes the modal
  433. var span = document.getElementsByClassName("close")[0];
  434.  
  435. // When the user clicks on the button, open the modal
  436. btn.onclick = function() {
  437. modal.style.display = "block";
  438. }
  439.  
  440. // When the user clicks on <span> (x), close the modal
  441. span.onclick = function() {
  442. modal.style.display = "none";
  443. }
  444.  
  445. // When the user clicks anywhere outside of the modal, close it
  446. window.onclick = function(event) {
  447. if (event.target == modal) {
  448. modal.style.display = "none";
  449. }
  450. }
  451. </script>
  452. </body>
  453. </html>
Add Comment
Please, Sign In to add comment