clerihew

06. teenage hurt

Oct 14th, 2018
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <!--
  4. © Clerihew Themes 2018
  5.  
  6. Do not use without reading terms of use.
  7.  
  8. Contact me at clerihew.tumblr.com if you have problems with any
  9. un-heavily edited code or if you have questions on how to use this theme.
  10. -->
  11. <!--
  12. Color Hex Codes used in this theme:
  13. #bbb
  14. #828282
  15. -->
  16.  
  17. <title>{Title}</title>
  18.  
  19. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
  20.  
  21. <!-- basic variables -->
  22. <meta name="text:Link 1 URL" content=""/>
  23. <meta name="text:Link 1" content=""/>
  24. <meta name="text:Link 2 URL" content=""/>
  25. <meta name="text:Link 2" content=""/>
  26. <meta name="text:Link 3 URL" content=""/>
  27. <meta name="text:Link 3" content=""/>
  28. <meta name="text:Link 4 URL" content=""/>
  29. <meta name="text:Link 4" content=""/>
  30. <meta name="text:Link 5 URL" content=""/>
  31. <meta name="text:Link 5" content=""/>
  32. <meta name="text:Link 6 URL" content=""/>
  33. <meta name="text:Link 6" content=""/>
  34.  
  35. <style>
  36.  
  37. /* main body */
  38. body {
  39. background-color: black;
  40. color: white;
  41. font-family: "Open Sans", sans-serif;
  42. }
  43.  
  44. /* sidenav */
  45. .sidenav {
  46. height: 100%;
  47. width: 0;
  48. position: fixed;
  49. z-index: 5;
  50. top: 0;
  51. left: 0;
  52. background-color: #fff;
  53. overflow-x: hidden;
  54. padding-top: 60px;
  55. -moz-transition: 0.5s;
  56. -o-transition: 0.5s;
  57. -webkit-transition: 0.5s;
  58. transition: 0.5s;
  59. }
  60.  
  61. /* sidenav links */
  62. .sidenav a {
  63. padding: 8px 8px 8px 32px;
  64. text-decoration: none;
  65. font-size: 25px;
  66. color: black;
  67. display: block;
  68. -moz-transition: 0.3s;
  69. -o-transition: 0.3s;
  70. -webkit-transition: 0.3s;
  71. transition: 0.3s;
  72. -moz-transition: color 0.5s;
  73. -o-transition: color 0.5s;
  74. -webkit-transition: color 0.5s;
  75. transition: 0.5s;
  76. }
  77.  
  78. /* sidenav link hover color */
  79. .sidenav a:hover {
  80. color: #bbb;
  81. }
  82.  
  83. /* sidenav icon */
  84. .sidenav img {
  85. border-radius: 100px;
  86. border: 3px solid black;
  87. }
  88.  
  89. .sidenav .closebtn {
  90. position: absolute;
  91. top: 0;
  92. right: 27px;
  93. font-size: 36px;
  94. margin-left: 50px;
  95. }
  96.  
  97. /* posts font family */
  98. #content {
  99. width: 500px;
  100. font-family: "Open Sans", sans-serif;
  101. margin-left: 400px;
  102. margin-right: 400px;
  103. }
  104.  
  105. /* posts links color */
  106. #content a {
  107. text-decoration: none;
  108. color: #bbb;
  109. -webkit-transition: color 0.5s;
  110. -moz-transition: color 0.5s;
  111. -o-transition: color 0.5s;
  112. transition: color 0.5s;
  113. }
  114.  
  115. /* posts links color hover */
  116. #content a:hover {
  117. color: #828282;
  118. }
  119.  
  120. #content blockquote {
  121. padding-left: 10px;
  122. }
  123.  
  124. img {
  125. border: 0;
  126. max-width: 100%;
  127. }
  128.  
  129. /* change post background color to match page background color */
  130. #content #posts {
  131. background-color: black;
  132. width: 500px;
  133. padding: 10px;
  134. margin: 0 auto 20px;
  135. }
  136.  
  137. /* posts title font size */
  138. #content #posts .title {
  139. font-size: 22px;
  140. }
  141.  
  142. /* posts text font size */
  143. #content #posts .text {
  144. font-size: 14px;
  145. }
  146.  
  147. /* background for questions in asks */
  148. .q {
  149. background-color: white;
  150. color: black;
  151. padding: 4px;
  152. }
  153.  
  154. #content #posts #permalink {
  155. font-size: 12px;
  156. margin-top: 10px;
  157. padding: 5px;
  158. border-bottom: 2px solid white;
  159. }
  160.  
  161. /* individual post pages font family */
  162. #content #notecontainer {
  163. margin: 20px auto;
  164. width: 500px;
  165. font-family: "Open Sans", sans-serif;
  166. }
  167.  
  168. /* post pages links color */
  169. #content #notecontainer a {
  170. color: #bbb;
  171. padding: 3px;
  172. -webkit-transition: color 0.5s;
  173. -moz-transition: color 0.5s;
  174. -o-transition: color 0.5s;
  175. transition: color 0.5s;
  176. }
  177.  
  178. /* post pages links color hover */
  179. #content #notecontainer a:hover {
  180. color: #828282;
  181. }
  182.  
  183. #content #notecontainer ol.notes {
  184. list-style-type: none;
  185. margin: 0;
  186. padding: 3px;
  187. }
  188.  
  189. #content #postcontainer img.avatar {
  190. width: 16px;
  191. height: 16px;
  192. }
  193.  
  194. .pagenav {
  195. width: 500px;
  196. margin-left: 400px;
  197. margin-right: 400px;
  198. text-align: center;
  199. }
  200.  
  201. .pagenav a {
  202. color: white;
  203. text-decoration: none;
  204. display: inline-block;
  205. margin-top: 15px;
  206. -webkit-transition: color 0.5s;
  207. -moz-transition: color 0.5s;
  208. -o-transition: color 0.5s;
  209. transition: color 0.5s;
  210. }
  211.  
  212. .pagenav a:hover {
  213. color: #828282;
  214. }
  215.  
  216. ::-webkit-scrollbar {
  217. width: 7px;
  218. }
  219.  
  220. /* scrollbar main color */
  221. ::-webkit-scrollbar-track {
  222. background: white;
  223. }
  224.  
  225. /* scrollbar thumb color */
  226. ::-webkit-scrollbar-thumb {
  227. background: #828282;
  228. }
  229.  
  230. /* scrollbar thumb color on hover */
  231. ::-webkit-scrollbar-thumb:hover {
  232. background: #bbb;
  233. }
  234.  
  235. /* tumblr controls credit to @cyantists on tumblr */
  236. iframe.tmblr-iframe {
  237. z-index:99999999999999!important;
  238. top:-2px!important;
  239. right:15px!important;
  240. opacity:0;
  241. padding-right:38px;
  242. /* delete invert(1) from here */
  243. filter: contrast(200%);
  244. -webkit-filter: contrast(200%);
  245. -o-filter: contrast(200%);
  246. -moz-filter: contrast(200%);
  247. -ms-filter: contrast(200%);
  248. /* to here if your blog has a dark background */
  249. transform:scale(0.65);
  250. transform-origin:100% 0;
  251. -webkit-transform:scale(0.65);
  252. -webkit-transform-origin:100% 0;
  253. -o-transform:scale(0.65);
  254. -o-transform-origin:100% 0;
  255. -moz-transform:scale(0.65);
  256. -moz-transform-origin:100% 0;
  257. -ms-transform:scale(0.65);
  258. -ms-transform-origin:100% 0;
  259. }
  260.  
  261. iframe.tmblr-iframe:hover {
  262. opacity:0.6!important;
  263. }
  264.  
  265. .hcontrols {
  266. position:fixed;
  267. top:0;
  268. right:0;
  269. z-index:999999999;
  270. }
  271.  
  272. .hcontrols svg {
  273. width:14px;
  274. height:14px;
  275. padding:9px;
  276. }
  277.  
  278. /* gear color */
  279. .hcontrols svg path {
  280. fill: white;/* change this to change the color of the icon */
  281. }
  282.  
  283.  
  284. </style>
  285.  
  286. </head>
  287.  
  288. <body>
  289.  
  290. <div id="mySidenav" class="sidenav">
  291. <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
  292. <div align="center">
  293. <img src="{PortraitURL-128}">
  294. </div>
  295. {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
  296. {block:ifLink2}<a href="{text:Link 2 URL}">{text:Link 2}</a>{/block:ifLink2}
  297. {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a>{/block:ifLink3}
  298. {block:ifLink4}<a href="{text:Link 4 URL}">{text:Link 4}</a>{/block:ifLink4}
  299. {block:ifLink5}<a href="{text:Link 5 URL}">{text:Link 5}</a>{/block:ifLink5}
  300. {block:ifLink6}<a href="{text:Link 6 URL}">{text:Link 6}</a>{/block:ifLink6}
  301. </div>
  302.  
  303. <span style="font-size:30px;cursor:pointer;margin:10px" onclick="openNav()">&#9776; </span>
  304.  
  305. <div id="content">
  306. {block:Posts}
  307. <div id="posts">
  308. {block:Photo}
  309. <img src="{PhotoURL-500}">
  310. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  311. {/block:Photo}
  312.  
  313. {block:Photoset}
  314. {Photoset-500}
  315. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Caption}
  316. {/block:Photoset}
  317.  
  318. {block:Video}
  319. {Video-500}
  320. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  321. {/block:Video}
  322.  
  323. {block:Audio}
  324. {AudioPlayerBlack}
  325. <br /><div class="text">{PlayCountWithLabel}</div>
  326. {block:Caption}<br /><div class="text">{Caption}</div>{/block:Caption}
  327. {/block:Audio}
  328.  
  329. {block:Quote}
  330. <div class="title">"{Quote}"</div>
  331. {block:Source}<br>~ {Source}{/block:Source}
  332. {/block:Quote}
  333.  
  334. {block:Text}
  335. {block:Title}<div class="title">{Title}<br /></div>{/block:Title}
  336. <div class="text">{Body}</div>
  337. {/block:Text}
  338.  
  339. {block:Answer}
  340. <div class="q">{Question}<br />
  341. {Asker}</div><br />
  342. {Answer}
  343. {/block:Answer}
  344.  
  345. {block:Chat}
  346. <div class="title">{block:Title}{Title}<br />{/block:Title}</div>
  347. <div class="text">{block:Lines}
  348. {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br />
  349. {/block:Lines}</div>
  350. {/block:Chat}
  351.  
  352. {block:Link}
  353. <a href="{URL}">{Name}</a>
  354. {block:Description}<br /><div class="text">{Description}</div>{/block:Description}
  355. {/block:Link}
  356.  
  357.  
  358. <div id="permalink">
  359. <a href="{PermaLink}">
  360. {block:Date}{lang:Posted TimeAgo}{/block:Date}
  361. {block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}
  362. </a>
  363. </div>
  364. </div>
  365.  
  366. {block:PostNotes}
  367. <div id="notecontainer">{PostNotes}</div>
  368. {/block:PostNotes}
  369.  
  370.  
  371. {/block:Posts}
  372. </div>
  373.  
  374.  
  375. <div class="hcontrols"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 216 216" enable-background="new 0 0 216 216" xml:space="preserve"><path d="M106.6,134c14.3,0,26-11.7,26-26s-11.7-26-26-26s-26,11.7-26,26S92.2,134,106.6,134z M106.6,94c7.7,0,14,6.3,14,14s-6.3,14-14,14s-14-6.3-14-14S98.9,94,106.6,94z M40.4,124.6l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3.7s4.1,0.3,5.7,3.7l3.3,7.2c3,6.5,9.5,10.7,16.6,10.7c2.2,0,4.3-0.4,6.4-1.2l7.4-2.8c2.8-1,5.7,0,7.4,2.3c0.7,1,1.7,3,0.7,5.7l-2.8,7.4c-3.3,8.9,0.8,19,9.5,23l7.2,3.3c3.4,1.5,3.7,4.7,3.7,5.7s-0.3,4.1-3.7,5.7l-7.2,3.3c-8.7,4-12.9,14.1-9.5,23l2.8,7.4c1,2.7,0,4.7-0.7,5.7c-1.6,2.4-4.6,3.4-7.4,2.3l-7.4-2.8c-2.1-0.8-4.2-1.2-6.4-1.2c-7.1,0-13.6,4.2-16.6,10.7l-3.3,7.2c-1.5,3.4-4.7,3.7-5.7,3.7s-4.1-0.3-5.7-3.7l-3.3-7.2c-3-6.5-9.5-10.7-16.6-10.7c-2.2,0-4.3,0.4-6.4,1.2l-7.4,2.8c-2.8,1-5.7,0-7.4-2.3c-0.7-1-1.7-3-0.7-5.7l2.8-7.4c3.3-8.9-0.8-19-9.5-23l-7.2-3.3c-3.4-1.5-3.7-4.7-3.7-5.7S41.9,103.9,45.3,102.3z"/></svg></div>
  376.  
  377. {block:Pagination}
  378. <div class="pagenav">
  379. <!-- change words for pagination here -->
  380. {block:PreviousPage}<a href="{PreviousPage}">Previous</a>{/block:PreviousPage}
  381. {block:NextPage}<a href="{NextPage}">Next</a>{/block:NextPage}
  382. </div>
  383. {/block:Pagination}
  384.  
  385.  
  386.  
  387.  
  388.  
  389. <script>
  390. function openNav() {
  391. document.getElementById("mySidenav").style.width = "200px";
  392. }
  393.  
  394. function closeNav() {
  395. document.getElementById("mySidenav").style.width = "0";
  396. }
  397. </script>
  398.  
  399. </body>
  400.  
  401. </html>
Advertisement
Add Comment
Please, Sign In to add comment