clerihew

15. almost

Mar 3rd, 2019
1,142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.76 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=Noto+Serif+SC" rel="stylesheet">
  17.  
  18. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
  19.  
  20. <!-- basic variables -->
  21. <!-- colors -->
  22. <meta name="color:Background" content="#e2e2e2">
  23. <meta name="color:Text" content="#000">
  24. <meta name="color:Side Background" content="#955e42">
  25. <meta name="color:Sidebar Image Border Color" content="#000">
  26. <meta name="color:Sidebar Title Color" content="#000">
  27. <meta name="color:Sidebar Links Background" content="000">
  28. <meta name="color:Sidebar Links Hover" content="#955e42">
  29. <meta name="color:Sidebar Links Color" content="#e2e2e2">
  30. <meta name="color:Post Links Background" content="#955e42">
  31. <!-- images -->
  32. <meta name="image:Sidebar" content="">
  33. <!-- text -->
  34. <meta name="text:Link 1" content="">
  35. <meta name="text:Link 1 URL" content="">
  36. <meta name="text:Link 2" content="">
  37. <meta name="text:Link 2 URL" content="">
  38. <meta name="text:Link 3" content="">
  39. <meta name="text:Link 3 URL" content="">
  40.  
  41.  
  42. <style>
  43.  
  44. body {
  45. background-color: {color:Background};
  46. font-family: "Noto Serif SC", sans-serif;
  47. }
  48.  
  49. .background-cut {
  50. z-index: 2;
  51. height: 100%;
  52. width: 450px;
  53. position: fixed;
  54. top: 0;
  55. left: 0;
  56. background-color: {color:Side Background};
  57. }
  58.  
  59. .sidebar img {
  60. z-index: 2;
  61. width: 150px;
  62. height: 250px;
  63. position: fixed;
  64. top: 100px;
  65. left: 375px;
  66. }
  67.  
  68. .sidebar .imgborder {
  69. z-index: 4;
  70. width: 150px;
  71. height: 250px;
  72. position: fixed;
  73. top: 115px;
  74. left: 390px;
  75. border: 5px solid {color:Sidebar Image Border Color};
  76. }
  77.  
  78. .title h2 {
  79. position: fixed;
  80. left: 455px;
  81. top: 355px;
  82. }
  83.  
  84. .title a {
  85. color: {color:Sidebar Title Color};
  86. -webkit-transition: color 0.5s;
  87. -moz-transition: color 0.5s;
  88. -o-transition: color 0.5s;
  89. transition: color 0.5s;
  90. }
  91.  
  92. .title a:hover {
  93. color: {color:Sidebar Links Hover};
  94. }
  95.  
  96. .alllinks {
  97. position: fixed;
  98. top: 420px;
  99. left: 330px;
  100. }
  101.  
  102. .links {
  103. width: 150px;
  104. text-align: left;
  105. background-color: {color:Sidebar Links Background};
  106. margin-bottom: 10px;
  107. border-radius: 0px 5px 5px 0px;
  108. transition: transform 0.5s;
  109. }
  110.  
  111. .links:hover {
  112. text-align: right;
  113. padding-right: 10px;
  114. transform: translateX(50px);
  115. }
  116.  
  117. .links a {
  118. text-decoration: none;
  119. color: {color:Sidebar Links Color};
  120. -webkit-transition: color 0.5s;
  121. -moz-transition: color 0.5s;
  122. -o-transition: color 0.5s;
  123. transition: color 0.5s;
  124. }
  125.  
  126. .links a:hover {
  127. color: {color:Sidebar Links Hover};
  128. }
  129.  
  130. .content {
  131. z-index: 10;
  132. width: 500px;
  133. margin-left: 650px;
  134. margin-right: 50px;
  135. margin-top: 20px;
  136. color: {color:Text};
  137. }
  138.  
  139. .content blockquote {
  140. padding-left: 10px;
  141. }
  142.  
  143. img {
  144. border: 0;
  145. max-width: 100%;
  146. }
  147.  
  148. .posts a {
  149. background-color: {color:Post Links Background};
  150. text-decoration: none;
  151. padding: 5px;
  152. margin: 2px;
  153. border-radius: 15px;
  154. color: {color:Background};
  155. -webkit-transition: color 0.5s;
  156. -moz-transition: color 0.5s;
  157. -o-transition: color 0.5s;
  158. transition: color 0.5s;
  159. -webkit-transition: background-color 0.5s;
  160. -moz-transition: background-color 0.5s;
  161. -o-transition: background-color 0.5s;
  162. transition: background-color 0.5s;
  163. }
  164.  
  165. .posts a:hover {
  166. background-color: {color:Background};
  167. color: {color:Post Links Background};
  168. }
  169.  
  170. /* post background color */
  171. .content .posts {
  172. width: 500px;
  173. margin: 0px auto 100px;
  174. }
  175.  
  176.  
  177. /* posts title font size */
  178. .content .posts .title {
  179. color: {color:Post Links Background};
  180. text-align: center;
  181. border-bottom: 2px solid {color:Post Links Background};
  182. padding-left: 10px;
  183. padding-right: 10px;
  184. font-size: 22px;
  185. }
  186.  
  187. /* posts text font size */
  188. .content .posts .text {
  189. font-size: 14px;
  190. }
  191.  
  192. .content .posts .text a {
  193. font-size: 10px;
  194. background-color: {color:Background};
  195. text-decoration: none;
  196. padding: 5px;
  197. margin: 2px;
  198. border-radius: 15px;
  199. color: {color:Post Links Background};
  200. -webkit-transition: color 0.5s;
  201. -moz-transition: color 0.5s;
  202. -o-transition: color 0.5s;
  203. transition: color 0.5s;
  204. -webkit-transition: background-color 0.5s;
  205. -moz-transition: background-color 0.5s;
  206. -o-transition: background-color 0.5s;
  207. transition: background-color 0.5s;
  208. }
  209.  
  210. .content .posts .text a:hover {
  211. background-color: {color:Post Links Background};
  212. color: {color:Background};
  213. }
  214.  
  215. /* background for questions in asks */
  216. .q {
  217. background-color: #ccc;
  218. color: black;
  219. padding: 4px;
  220. }
  221.  
  222. /* quote posts */
  223. .content .posts .quote {
  224. font-size: 22px;
  225. text-align: left;
  226. margin-top: 10px;
  227. margin-bottom: -12px;
  228. }
  229.  
  230. .content .posts .quotecap {
  231. font-size: 14px;
  232. text-align: left;
  233. color: {color:Post Links Background};
  234. }
  235.  
  236. .content .posts #date, #notecount {
  237. display: inline-block;
  238. }
  239.  
  240. .content .posts #date {
  241. font-size: 12px;
  242. margin-top: 10px;
  243. margin-left: -10px;
  244. padding: 10px;
  245. margin-bottom: 0;
  246. }
  247.  
  248. .content .posts #notecount {
  249. float: right;
  250. font-size: 12px;
  251. margin-top: 10px;
  252. margin-right: -7px;
  253. padding: 10px;
  254. margin-bottom: 0;
  255. }
  256.  
  257. .content .posts ul {
  258. border-top: 1px solid {color:Text};
  259. list-style-type: none;
  260. padding: 0px 0px 10px 0px;
  261. margin-right: 50px;
  262. margin-left: 50px;
  263. margin-top: 10px;
  264. font-size: 8px;
  265. text-align: center;
  266. }
  267.  
  268. .content .posts ul li {
  269. display: inline-block;
  270. margin-top: 10px;
  271. padding: 3px;
  272. }
  273.  
  274. .content #notecontainer {
  275. margin: 20px auto;
  276. width: 500px;
  277. }
  278.  
  279. /* post pages links color */
  280. .content #notecontainer a {
  281. text-decoration: underline {color:Links Hover};
  282. color: {color:Posts Text Color};
  283. padding: 3px;
  284. -webkit-transition: color 0.5s;
  285. -moz-transition: color 0.5s;
  286. -o-transition: color 0.5s;
  287. transition: color 0.5s;
  288. }
  289.  
  290. /* post pages links color hover */
  291. .content #notecontainer a:hover {
  292. color: {color:Links Hover};
  293. }
  294.  
  295. .content #notecontainer ol.notes {
  296. list-style-type: none;
  297. margin: 0;
  298. padding: 3px;
  299. }
  300.  
  301. .content #postcontainer img.avatar {
  302. width: 16px;
  303. height: 16px;
  304. }
  305.  
  306. .pagenav {
  307. width: 500px;
  308. margin-left: 625px;
  309. margin-right: 50px;
  310. margin-top: -50px;
  311. padding: 0px 10px 0px 10px;
  312. text-align: center;
  313. }
  314.  
  315. /* pagenav color */
  316. .pagenav a {
  317. color: {color:Text};
  318. text-decoration: none;
  319. display: inline-block;
  320. -webkit-transition: color 0.5s;
  321. -moz-transition: color 0.5s;
  322. -o-transition: color 0.5s;
  323. transition: color 0.5s;
  324. }
  325.  
  326. /* pagenav hover color */
  327. .pagenav a:hover {
  328. color: {color:Post Links Background};
  329. }
  330.  
  331. /* thanks @shythemes */
  332. ::-webkit-scrollbar {
  333. width:17px;
  334. height:17px;
  335. }
  336.  
  337. ::-webkit-scrollbar {
  338. background-color: {color:Background}; /* background color */
  339. }
  340.  
  341. ::-webkit-scrollbar-track {
  342. border:8px solid {color:Background}; /* background color */
  343. background-color: {color:Text}; /* light border color */
  344. }
  345.  
  346. ::-webkit-scrollbar-thumb {
  347. border:8px solid {color:Background}; /* background color */
  348. background-color: {color:Post Links Background}; /* dark border color */
  349. min-height:24px;
  350. min-width:24px;
  351. }
  352.  
  353. /* DO NOT TOUCH THIS */
  354. .credit a {
  355. position: fixed;
  356. bottom: 15px;
  357. right: 15px;
  358. font-size: 8px;
  359. padding: 3px;
  360. text-decoration: none;
  361. background-color: black;
  362. color: white;
  363. -webkit-transition: color 1s;
  364. -moz-transition: color 1s;
  365. -o-transition: color 1s;
  366. transition: color 1s;
  367. -webkit-transition: background-color 1s;
  368. -moz-transition: background-color 1s;
  369. -o-transition: background-color 1s;
  370. transition: background-color 1s;
  371. }
  372.  
  373. .credit a:hover {
  374. color: #548773;
  375. background-color: {color:Background};
  376. }
  377.  
  378. /* credit to @cyantists */
  379. iframe.tmblr-iframe {
  380. z-index:99999999999999!important;
  381. top:0!important;
  382. right:0!important;
  383. opacity:0.6;
  384. /* delete invert(1) from here */
  385. filter: contrast(150%);
  386. -webkit-filter: contrast(150%);
  387. -o-filter: contrast(150%);
  388. -moz-filter: contrast(150%);
  389. -ms-filter: contrast(150%);
  390. /* to here if your blog has a dark background */
  391. transform:scale(0.65);
  392. transform-origin:100% 0;
  393. -webkit-transform:scale(0.65);
  394. -webkit-transform-origin:100% 0;
  395. -o-transform:scale(0.65);
  396. -o-transform-origin:100% 0;
  397. -moz-transform:scale(0.65);
  398. -moz-transform-origin:100% 0;
  399. -ms-transform:scale(0.65);
  400. -ms-transform-origin:100% 0;}
  401.  
  402. iframe.tmblr-iframe:hover {
  403. opacity:1!important;}
  404.  
  405. </style>
  406.  
  407. </head>
  408. <body>
  409.  
  410. <div class="background-cut"></div>
  411.  
  412. <div class="sidebar">
  413. <div class="imgborder"></div>
  414. <img src="{image:Sidebar}"/>
  415. </div>
  416.  
  417. <div class="title">
  418. <a href="/"><h2>{Title}</h2></a>
  419. </div>
  420.  
  421. <div class="alllinks">
  422. <div class="links"><a href="/ask">{AskLabel}</a></div>
  423. <div class="links"><a href="/submit">{SubmitLabel}</a></div>
  424. <div class="links"><a href="{text:Link 1 URL}">{text:Link 1}</a></div>
  425. <div class="links"><a href="{text:Link 2 URL}">{text:Link 2}</a></div>
  426. <div class="links"><a href="{text:Link 3 URL}">{text:Link 3}</a></div>
  427. </div>
  428.  
  429. <div class="content">
  430. {block:Posts}
  431. <div class="posts">
  432.  
  433. <div id="date">
  434. <a href="{PermaLink}">
  435. {block:Date}<span class="th th-clock"></span> {12HourWithZero}:{Minutes}{AmPm}{/block:Date}
  436. </a>
  437. </div>
  438.  
  439. <div id="notecount">
  440. <a href="{PermaLink}">
  441. {block:NoteCount}<span class="th th-clipboard"></span> {NoteCountWithLabel}{/block:NoteCount}
  442. </a>
  443. </div>
  444.  
  445. {block:Photo}
  446. <img src="{PhotoURL-500}">
  447. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  448. {/block:Photo}
  449.  
  450. {block:Photoset}
  451. {Photoset-500}
  452. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Caption}
  453. {/block:Photoset}
  454.  
  455. {block:Video}
  456. {Video-500}
  457. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  458. {/block:Video}
  459.  
  460. {block:Quote}
  461. <div class="quote">"{Quote}"</div>
  462. {block:Source}<div class="quotecap"><br><i>- {Source}</i></div>{/block:Source}
  463. {/block:Quote}
  464.  
  465. {block:Text}
  466. {block:Title}<div class="title"><strong>{Title}</strong><br /></div>{/block:Title}
  467. <div class="text">{Body}</div>
  468. {/block:Text}
  469.  
  470. {block:Answer}
  471. <div class="q">{Question}<br />
  472. {Asker}</div><br />
  473. {Answer}
  474. {/block:Answer}
  475.  
  476. {block:Chat}
  477. <div class="title">{block:Title}{Title}<br />{/block:Title}</div>
  478. <div class="text">{block:Lines}
  479. {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br />
  480. {/block:Lines}</div>
  481. {/block:Chat}
  482.  
  483. {block:Link}
  484. <a href="{URL}">{Name}</a>
  485. {block:Description}<br /><div class="text">{Description}</div>{/block:Description}
  486. {/block:Link}
  487.  
  488. {block:HasTags}
  489. <ul class="tags">
  490. {block:Tags}
  491. <li>
  492. <a href="{TagURL}"><i>#{Tag}</i></a>
  493. </li>
  494. {/block:Tags}
  495. </ul>
  496. {/block:HasTags}
  497.  
  498. {block:PostNotes}
  499. <div id="notecontainer">{PostNotes}</div>
  500. {/block:PostNotes}
  501.  
  502. </div>
  503. {/block:Posts}
  504. </div>
  505.  
  506. {block:Pagination}
  507. <div class="pagenav">
  508. <!-- change words for pagination here -->
  509. {block:PreviousPage}<a href="{PreviousPage}"><span class="th th-chevron-left"></span></a>{/block:PreviousPage}
  510. {block:NextPage}<a href="{NextPage}"><span class="th th-chevron-right"></span></a>{/block:NextPage}
  511. </div>
  512. {/block:Pagination}
  513.  
  514. <!-- DO NOT TOUCH THIS -->
  515. <div class="credit">
  516. <a href="https://clerihew.tumblr.com/"><span class="th th-aloe-vera"></span></a>
  517. </div>
  518.  
  519. </body>
  520. </html>
Advertisement
Add Comment
Please, Sign In to add comment