clerihew

14. butter

Feb 5th, 2019
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.23 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <!--
  4. © Clerihew Themes 2019
  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. <title>{Title}</title>
  13.  
  14. <link rel="shortcut icon" href="{Favicon}"/>
  15.  
  16. <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
  17.  
  18. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
  19.  
  20. <!-- basic variable -->
  21. <!-- colors -->
  22. <meta name="color:Background" content="#f6f6f6">
  23. <meta name="color:Sidebar Text" content="#000">
  24. <meta name="color:Links" content="#f9d12c">
  25. <meta name="color:Posts Background" content="#ececec">
  26. <meta name="color:Post Text" content="#000">
  27. <meta name="color:Scrollbar Light Track" content="#ccc">
  28.  
  29. <style>
  30.  
  31. body {
  32. background-color: {color:Background};
  33. -webkit-background-size: cover;
  34. -moz-background-size: cover;
  35. -o-background-size: cover;
  36. background-size: cover;
  37. font-family: "Lato", sans-serif;
  38. }
  39.  
  40. .sidebar {
  41. width: 75px;
  42. height: 100%;
  43. position: fixed;
  44. margin-right: 250px;
  45. top: 0;
  46. left: 0;
  47. color: {color:Header Text};
  48. }
  49.  
  50. .sidebar .all {
  51. margin-top: 300px;
  52. }
  53.  
  54. .sidebar h1 {
  55. margin-top: 15px;
  56. }
  57.  
  58. .sidebar a {
  59. display: inline-block;
  60. padding: 10px 50px 10px 50px;
  61. text-decoration: none;
  62. color: {color:Sidebar Text};
  63. -webkit-transition: color 0.5s;
  64. -moz-transition: color 0.5s;
  65. -o-transition: color 0.5s;
  66. transition: color 0.5s;
  67. }
  68.  
  69. .sidebar a:hover {
  70. color: {color:Links};
  71. }
  72.  
  73. .content {
  74. margin-left: 415px;
  75. width: 500px;
  76. margin-top: 30px;
  77. color: {color:Post Text};
  78. }
  79.  
  80. .content blockquote {
  81. padding-left: 10px;
  82. }
  83.  
  84. img {
  85. border: 0;
  86. max-width: 100%;
  87. }
  88.  
  89. .posts a {
  90. text-decoration: none;
  91. color: {color:Post Text};
  92. -webkit-transition: color 0.5s;
  93. -moz-transition: color 0.5s;
  94. -o-transition: color 0.5s;
  95. transition: color 0.5s;
  96. }
  97.  
  98. .posts a:hover {
  99. color: {color:Links};
  100. }
  101.  
  102. /* post background color */
  103. .content .posts {
  104. background-color: {color:Posts Background};
  105. box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
  106. width: 500px;
  107. margin: 0px 0px 100px;
  108. }
  109.  
  110.  
  111. /* posts title font size */
  112. .content .posts .title {
  113. padding-left: 10px;
  114. padding-right: 10px;
  115. font-size: 22px;
  116. }
  117.  
  118. /* posts text font size */
  119. .content .posts .text {
  120. padding-top: 10px;
  121. padding-left: 10px;
  122. padding-right: 10px;
  123. padding-bottom: 10px;
  124. font-size: 14px;
  125. }
  126.  
  127. /* background for questions in asks */
  128. .q {
  129. background-color: #ccc;
  130. color: black;
  131. padding: 4px;
  132. }
  133.  
  134. .content .posts #perm {
  135. width: 150px;
  136. font-size: 12px;
  137. margin-top: -5px;
  138. padding: 10px;
  139. margin-right: -185px;
  140. margin-bottom: 10px;
  141. float: right;
  142. text-align: left;
  143. }
  144.  
  145. .content #notecontainer {
  146. margin-top: -10px;
  147. width: 500px;
  148. }
  149.  
  150. /* post pages links color */
  151. .content #notecontainer a {
  152. color: {color:Post Text};
  153. padding: 3px;
  154. -webkit-transition: color 0.5s;
  155. -moz-transition: color 0.5s;
  156. -o-transition: color 0.5s;
  157. transition: color 0.5s;
  158. }
  159.  
  160. /* post pages links color hover */
  161. .content #notecontainer a:hover {
  162. color: {color:Links};
  163. }
  164.  
  165. .content #notecontainer ol.notes {
  166. list-style-type: none;
  167. margin: 0;
  168. padding: 3px;
  169. }
  170.  
  171. .content #postcontainer img.avatar {
  172. width: 16px;
  173. height: 16px;
  174. }
  175.  
  176. .pagenav {
  177. width: 500px;
  178. margin-left: 425px;
  179. margin-top: -50px;
  180. padding: 0px 10px 0px 10px;
  181. text-align: center;
  182. }
  183.  
  184. /* pagenav color */
  185. .pagenav a {
  186. color: {color:Post Text};
  187. text-decoration: none;
  188. display: inline-block;
  189. -webkit-transition: color 0.5s;
  190. -moz-transition: color 0.5s;
  191. -o-transition: color 0.5s;
  192. transition: color 0.5s;
  193. }
  194.  
  195. /* pagenav hover color */
  196. .pagenav a:hover {
  197. color: {color:Links};
  198. }
  199.  
  200. /* thanks @shythemes */
  201. ::-webkit-scrollbar {
  202. width:17px;
  203. height:17px;
  204. }
  205.  
  206. ::-webkit-scrollbar {
  207. background-color: {color:Background}; /* background color */
  208. }
  209.  
  210. ::-webkit-scrollbar-track {
  211. border:8px solid {color:Background}; /* background color */
  212. background-color: {color:Scrollbar Light Track}; /* light border color */
  213. }
  214.  
  215. ::-webkit-scrollbar-thumb {
  216. border:8px solid {color:Background}; /* background color */
  217. background-color: {color:Sidebar Text}; /* dark border color */
  218. min-height:24px;
  219. min-width:24px;
  220. }
  221.  
  222. .credit a {
  223. position: fixed;
  224. bottom: 15px;
  225. right: 15px;
  226. font-size: 10px;
  227. padding: 5px;
  228. text-decoration: none;
  229. background-color: black;
  230. color: white;
  231. border-radius: 100px;
  232. -webkit-transition: color 1s;
  233. -moz-transition: color 1s;
  234. -o-transition: color 1s;
  235. transition: color 1s;
  236. -webkit-transition: background-color 1s;
  237. -moz-transition: background-color 1s;
  238. -o-transition: background-color 1s;
  239. transition: background-color 1s;
  240. }
  241.  
  242. .credit a:hover {
  243. color: #548773;
  244. background-color: {color:Background};
  245. }
  246.  
  247. /* credit to @cyantists */
  248. iframe.tmblr-iframe {
  249. z-index:99999999999999!important;
  250. top:0!important;
  251. right:0!important;
  252. opacity:0.6;
  253. /* delete invert(1) from here */
  254. filter: contrast(150%);
  255. -webkit-filter: contrast(150%);
  256. -o-filter: contrast(150%);
  257. -moz-filter: contrast(150%);
  258. -ms-filter: contrast(150%);
  259. /* to here if your blog has a dark background */
  260. transform:scale(0.65);
  261. transform-origin:100% 0;
  262. -webkit-transform:scale(0.65);
  263. -webkit-transform-origin:100% 0;
  264. -o-transform:scale(0.65);
  265. -o-transform-origin:100% 0;
  266. -moz-transform:scale(0.65);
  267. -moz-transform-origin:100% 0;
  268. -ms-transform:scale(0.65);
  269. -ms-transform-origin:100% 0;}
  270.  
  271. iframe.tmblr-iframe:hover {
  272. opacity:1!important;}
  273.  
  274. </style>
  275.  
  276. </head>
  277. <body>
  278.  
  279. <div class="sidebar">
  280. <div class="all">
  281. <div align="center">
  282. <a href="/"><h1>{Title}</h1></a>
  283. </div>
  284. <div align="center">
  285. {block:AskEnabled}<a href="/ask"><div class="links">{AskLabel}</div></a>{/block:AskEnabled}
  286. {block:SubmissionsEnabled}<a href="/submit"><div class="links">{SubmitLabel}</div></a>{/block:SubmissionsEnabled}
  287. {block:HasPages}{block:Pages}<a href="{url}"><div class="links">{Label}</div></a>{/block:Pages}{/block:HasPages}
  288. </div>
  289. </div>
  290. </div>
  291.  
  292. <div class="content">
  293. {block:Posts}
  294. <div class="posts">
  295.  
  296. <div id="perm">
  297. <a href="{PermaLink}">
  298. {block:Date}<span class="th th-calendar-1"></span> {ShortMonth} {MonthNumberWithZero}{/block:Date} <br/>
  299. {block:NoteCount}<span class="th th-chat-bubbles"></span> {NoteCountWithLabel}{/block:NoteCount}
  300. </a>
  301. </div>
  302.  
  303. {block:Photo}
  304. <img src="{PhotoURL-500}">
  305. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  306. {/block:Photo}
  307.  
  308. {block:Photoset}
  309. {Photoset-500}
  310. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Caption}
  311. {/block:Photoset}
  312.  
  313. {block:Video}
  314. {Video-500}
  315. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  316. {/block:Video}
  317.  
  318. {block:Audio}
  319. {AudioPlayerBlack}
  320. <br /><div class="text">{PlayCountWithLabel}</div>
  321. {block:Caption}<br /><div class="text">{Caption}</div>{/block:Caption}
  322. {/block:Audio}
  323.  
  324. {block:Quote}
  325. <div class="title">"{Quote}"</div>
  326. {block:Source}<br>~ {Source}{/block:Source}
  327. {/block:Quote}
  328.  
  329. {block:Text}
  330. {block:Title}<div class="title">{Title}<br /></div>{/block:Title}
  331. <div class="text">{Body}</div>
  332. {/block:Text}
  333.  
  334. {block:Answer}
  335. <div class="q">{Question}<br />
  336. {Asker}</div><br />
  337. {Answer}
  338. {/block:Answer}
  339.  
  340. {block:Chat}
  341. <div class="title">{block:Title}{Title}<br />{/block:Title}</div>
  342. <div class="text">{block:Lines}
  343. {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br />
  344. {/block:Lines}</div>
  345. {/block:Chat}
  346.  
  347. {block:Link}
  348. <a href="{URL}">{Name}</a>
  349. {block:Description}<br /><div class="text">{Description}</div>{/block:Description}
  350. {/block:Link}
  351.  
  352. {block:PostNotes}
  353. <div id="notecontainer">{PostNotes}</div>
  354. {/block:PostNotes}
  355.  
  356. </div>
  357. {/block:Posts}
  358. </div>
  359.  
  360. {block:Pagination}
  361. <div class="pagenav">
  362. <!-- change words for pagination here -->
  363. {block:PreviousPage}<a href="{PreviousPage}"><span class="th th-chevron-left"></span></a>{/block:PreviousPage}
  364. {block:NextPage}<a href="{NextPage}"><span class="th th-chevron-right"></span></a>{/block:NextPage}
  365. </div>
  366. {/block:Pagination}
  367.  
  368. <div class="credit">
  369. <a href="https://clerihew.tumblr.com/"><span class="th th-aloe-vera"></span></a>
  370. </div>
  371.  
  372. </body>
  373. </html>
Advertisement
Add Comment
Please, Sign In to add comment