zojoh

Forty

Jan 16th, 2014
6,838
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.20 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <!---
  5.  
  6. Theme #40 by Heidi @ladmilk
  7.  
  8. Credit:
  9. Masonry: (masonry.desandro.com)
  10. Imageloaded: (imagesloaded.desandro.com)
  11. Infinitescroll: Paulirish (https://github.com/infinite-scroll/infinite-scroll)
  12. Tool-tips: Malihu (manos.malihu.gr/style-my-tooltips-jquery-plugin/)
  13. Photoset: PixelUnion (https://github.com/PixelUnion/Extended-Tumblr-Photoset)
  14. Video Resizing: Shy Themes (http://shythemes.tumblr.com/post/134536748863/tutorial-resizing-videos)
  15.  
  16. ---->
  17.  
  18. <head>
  19. <title>{Title}</title>
  20. {block:Description}
  21. <meta name="description" content="{MetaDescription}" />
  22. {/block:Description}
  23. <link rel="shortcut icon" href="{Favicon}" />
  24. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  25.  
  26. <meta name="color:Background" content="#ffffff" />
  27. <meta name="color:Posts" content="#ffffff" />
  28. <meta name="color:Post Title" content="#222222" />
  29. <meta name="color:Text" content="#666666" />
  30. <meta name="color:Links" content="#000000" />
  31. <meta name="color:Links Hover" content="#222222" />
  32. <meta name="color:Bold" content="#222222" />
  33. <meta name="color:Italic" content="#cccccc" />
  34. <meta name="color:Blockquote" content="#eeeeee" />
  35. <meta name="color:Borders" content="#eeeeee" />
  36.  
  37. <meta name="color:Quote" content="#f4f4f4" />
  38. <meta name="color:Quote Text" content="#888888" />
  39.  
  40. <meta name="color:Circle" content="#dddddd" />
  41.  
  42. <meta name="color:Top" content="#000000" />
  43. <meta name="color:Top Tint" content="#000000" />
  44. <meta name="color:Top Text" content="#ffffff" />
  45.  
  46. <meta name="color:Nav" content="#ffffff" />
  47. <meta name="color:Nav Links" content="#000000" />
  48.  
  49. <meta name="color:Scroll" content="#ffffff" />
  50. <meta name="color:Scrollbar" content="#eeeeee" />
  51.  
  52.  
  53. <meta name="image:Top" content="" />
  54. <meta name="image:Background" content="" />
  55.  
  56.  
  57. <meta name="if:Top" content="1" />
  58. <meta name="if:Top Tint" content="0" />
  59. <meta name="if:Top Fade Out" content="0" />
  60.  
  61. <meta name="if:Columns" content="1" />
  62. <meta name="if:Posts Fade Up" content="1" />
  63. <meta name="if:Image fade" content="0" />
  64.  
  65. <meta name="if:Circle" content="1" />
  66. <meta name="if:Show Captions" content="0" />
  67. <meta name="if:Show Tags" content="0" />
  68.  
  69. <meta name="if:Infinitescroll" content="0" />
  70. <meta name="if:Manual Load" content="0" />
  71.  
  72.  
  73. <meta name="select:Tumblr Controls" content="t_w" title="White" />
  74. <meta name="select:Tumblr Controls" content="t_g" title="Grey" />
  75. <meta name="select:Tumblr Controls" content="t_b" title="Black" />
  76.  
  77. <meta name="select:Post Size" content="200" title="200px" />
  78. <meta name="select:Post Size" content="250" title="250px" />
  79. <meta name="select:Post Size" content="300" title="300px" />
  80. <meta name="select:Post Size" content="350" title="350px" />
  81. <meta name="select:Post Size" content="400" title="400px" />
  82. <meta name="select:Post Size" content="450" title="450px" />
  83. <meta name="select:Post Size" content="500" title="500px" />
  84.  
  85. <meta name="select:Post Size Permalinkpage" content="200" title="200px" />
  86. <meta name="select:Post Size Permalinkpage" content="250" title="250px" />
  87. <meta name="select:Post Size Permalinkpage" content="300" title="300px" />
  88. <meta name="select:Post Size Permalinkpage" content="350" title="350px" />
  89. <meta name="select:Post Size Permalinkpage" content="400" title="400px" />
  90. <meta name="select:Post Size Permalinkpage" content="450" title="450px" />
  91. <meta name="select:Post Size Permalinkpage" content="500" title="500px" />
  92.  
  93. <meta name="select:Padding" content="0" title="0px" />
  94. <meta name="select:Padding" content="5" title="5px" />
  95. <meta name="select:Padding" content="10" title="10px" />
  96. <meta name="select:Padding" content="15" title="15px" />
  97. <meta name="select:Padding" content="20" title="20px" />
  98.  
  99. <meta name="select:Margin" content="10" title="10px" />
  100. <meta name="select:Margin" content="20" title="20px" />
  101. <meta name="select:Margin" content="30" title="30px" />
  102. <meta name="select:Margin" content="40" title="40px" />
  103. <meta name="select:Margin" content="50" title="50px" />
  104. <meta name="select:Margin" content="60" title="60px" />
  105.  
  106.  
  107. <meta name="text:Top Height" content="100" />
  108. <meta name="text:Text Under Title" content="" />
  109. <meta name="text:Link1" content="" />
  110. <meta name="text:Title1" content="" />
  111. <meta name="text:Link2" content="" />
  112. <meta name="text:Title2" content="" />
  113. <meta name="text:Link3" content="" />
  114. <meta name="text:Title3" content="" />
  115.  
  116.  
  117. <link href="http://static.tumblr.com/3yblkz0/EkLnyuqmx/pxu_ps.css" rel="stylesheet" type="text/css"/>
  118.  
  119.  
  120. <!----------- Font ---------------->
  121.  
  122.  
  123. <meta name="select:Body Font" content="Open Sans" title="Open Sans" />
  124. <meta name="select:Body Font" content="Source Sans Pro" title="Source Sans Pro" />
  125. <meta name="select:Body Font" content="Lato" title="Lato" />
  126. <meta name="select:Body Font" content="Roboto" title="Roboto" />
  127. <meta name="select:Body Font" content="Karla" title="Karla" />
  128. <meta name="select:Body Font" content="Montserrat" title="Montserrat" />
  129. <meta name="select:Body Font" content="calibri" title="Calibri" />
  130. <meta name="select:Body Font" content="helvetica" title="Helvetica" />
  131. <meta name="select:Body Font" content="trebuchet ms" title="Trebuchet ms" />
  132. <meta name="select:Body Font" content="Lora" title="Lora" />
  133. <meta name="select:Body Font" content="Droid Serif" title="Droid Serif" />
  134. <meta name="select:Body Font" content="cambria" title="Cambria" />
  135. <meta name="select:Body Font" content="georgia" title="Georgia" />
  136. <meta name="select:Body Font" content="times new roman" title="Times New Roman" />
  137. <meta name="select:Body Font" content="courier" title="Courier" />
  138. <meta name="select:Body Font" content="consolas" title="Consolas" />
  139. <meta name="select:Body Font" content="lucida console" title="Lucida Console" />
  140.  
  141. <meta name="select:Body Font Size" content="8" title="8px" />
  142. <meta name="select:Body Font Size" content="9" title="9px" />
  143. <meta name="select:Body Font Size" content="10" title="10px" />
  144. <meta name="select:Body Font Size" content="11" title="11px" />
  145. <meta name="select:Body Font Size" content="12" title="12px" />
  146.  
  147. <meta name="select:Title Font" content="Open Sans" title="Open Sans" />
  148. <meta name="select:Title Font" content="Source Sans Pro" title="Source Sans Pro" />
  149. <meta name="select:Title Font" content="Lato" title="Lato" />
  150. <meta name="select:Title Font" content="Roboto" title="Roboto" />
  151. <meta name="select:Title Font" content="Karla" title="Karla" />
  152. <meta name="select:Title Font" content="Montserrat" title="Montserrat" />
  153. <meta name="select:Title Font" content="calibri" title="Calibri" />
  154. <meta name="select:Title Font" content="helvetica" title="Helvetica" />
  155. <meta name="select:Title Font" content="trebuchet ms" title="Trebuchet ms" />
  156. <meta name="select:Title Font" content="Lora" title="Lora" />
  157. <meta name="select:Title Font" content="Droid Serif" title="Droid Serif" />
  158. <meta name="select:Title Font" content="cambria" title="Cambria" />
  159. <meta name="select:Title Font" content="georgia" title="Georgia" />
  160. <meta name="select:Title Font" content="times new roman" title="Times New Roman" />
  161. <meta name="select:Title Font" content="courier" title="Courier" />
  162. <meta name="select:Title Font" content="consolas" title="Consolas" />
  163. <meta name="select:Title Font" content="lucida console" title="Lucida Console" />
  164.  
  165.  
  166. <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700|Roboto:400,700|Lato:400,700|Lora:400,700|Droid+Serif:400,700|Karla:400,700|Source+Sans+Pro:400,700|Montserrat:400,700' rel='stylesheet' type='text/css' />
  167.  
  168.  
  169.  
  170. <style type="text/css">
  171.  
  172.  
  173.  
  174. /* Tumblr Controls */
  175.  
  176.  
  177. .t_b .tmblr-iframe--desktop-logged-in-controls, .tmblr-iframe, .t_b #tumblr_controls, #tumblr_controls {
  178. top:0%!important;
  179. right:0%!important;
  180. position:fixed!important;
  181. z-index:999999999!important;
  182. }
  183.  
  184. .t_w .tmblr-iframe--desktop-logged-in-controls, .t_w #tumblr_controls {
  185. -webkit-filter:invert(100%);
  186. -moz-filter:invert(100%);
  187. -o-filter:invert(100%);
  188. -ms-filter:invert(100%);
  189. filter:invert(100%);
  190. opacity:0.3;
  191. }
  192.  
  193. .t_g .tmblr-iframe--desktop-logged-in-controls, .t_g #tumblr_controls {
  194. -webkit-filter:invert(70%);
  195. -moz-filter:invert(70%);
  196. -o-filter:invert(70%);
  197. -ms-filter:invert(70%);
  198. filter:invert(70%);
  199. opacity:0.4;
  200. }
  201.  
  202.  
  203.  
  204. /* Scrollbar */
  205.  
  206.  
  207. ::-webkit-scrollbar { width:5px; height:5px; }
  208.  
  209. ::-webkit-scrollbar-track-piece { background-color:{color:Scroll}; }
  210.  
  211. ::-webkit-scrollbar-thumb { background-color:{color:Scrollbar}; }
  212.  
  213.  
  214.  
  215. /* Body - General */
  216.  
  217.  
  218. html, body { margin:0; padding:0; border:0; }
  219.  
  220. body {
  221. background-image:url('{image:Background}');
  222. background-attachment:fixed;
  223. background-repeat:repeat;
  224. background-color:{color:Background};
  225. color:{color:Text};
  226. font-family:{select:Body Font}, sans-serif;
  227. font-size:{select:Body Font Size}px;
  228. line-height:140%;
  229. word-wrap:break-word;
  230. }
  231.  
  232. a { color:{color:Links}; text-decoration:none; }
  233.  
  234. a:hover, .perma a:hover, nav a:hover { color:{color:Links Hover}; }
  235.  
  236. b, strong { color:{color:Bold}; font-weight:bold; }
  237.  
  238. i, em { color:{color:Italic}; font-style:italic; }
  239.  
  240. h1, h2, h3, h4, h5 {
  241. margin:5px 0;
  242. font-size:120%;
  243. font-weight:normal;
  244. line-height:120%;
  245. }
  246.  
  247. .posts > h2 {
  248. margin:0 0 10px 0;
  249. color:{color:Post Title};
  250. font-family:{select:Title Font}, sans-serif;
  251. font-size:140%;
  252. }
  253.  
  254. .posts > h2 a { display:block; }
  255.  
  256. .posts > h2:only-child { margin:0; }
  257.  
  258. small, sub, sup { font-size:90%; }
  259.  
  260. big { font-size:110%; }
  261.  
  262. sub, sup, small, big { vertical-align:baseline; }
  263.  
  264. p { margin:5px 0; padding:0; }
  265.  
  266. p:first-of-type { margin-top:0; }
  267.  
  268. p:last-of-type { margin-bottom:0; }
  269.  
  270. pre {
  271. margin:5px 0;
  272. padding:2px 4px;
  273. background:#f4f4f4;
  274. white-space:pre-wrap;
  275. word-wrap:break-word;
  276. }
  277.  
  278. blockquote {
  279. margin:5px 0;
  280. padding:2px 0 2px 10px;
  281. border-left:1px solid {color:Blockquote};
  282. }
  283.  
  284. .cap { margin:15px 0 5px 0; }
  285.  
  286. .cp { display:none; }
  287.  
  288. ul, ol { margin:5px 0px 5px 15px; padding:0; }
  289.  
  290. .top, main, .description {
  291. -webkit-box-sizing: border-box;
  292. -moz-box-sizing: border-box;
  293. box-sizing: border-box;
  294. }
  295.  
  296. a, nav, #vid, .photo-data, #photo img {
  297. -webkit-transition:all .7s ease;
  298. -moz-transition:all .7s ease;
  299. -o-transition:all .7s ease;
  300. transition:all .7s ease;
  301. }
  302.  
  303.  
  304.  
  305. /* Main - Wrapper - Posts */
  306.  
  307.  
  308. main {
  309. width:auto;
  310. height:auto;
  311. position:relative;
  312. }
  313.  
  314. #wrapper {
  315. {block:IndexPage}
  316. {block:ifColumns}
  317. width:auto;
  318. {/block:ifColumns}
  319. {block:ifnotColumns}
  320. width:calc({select:Post Size}px + {select:Padding}px*2);
  321. {/block:ifnotColumns}
  322. {/block:IndexPage}
  323. {block:PermalinkPage}
  324. width:calc({select:Post Size Permalinkpage}px + {select:Padding}px*2);
  325. {/block:PermalinkPage}
  326. height:auto;
  327. margin:0 auto;
  328. padding:100px 0;
  329. position:relative;
  330. border:0;
  331. }
  332.  
  333. .posts {
  334. {block:IndexPage}
  335. width:{select:Post Size}px;
  336. {block:ifColumns}
  337. margin:{select:Margin}px;
  338. {/block:ifColumns}
  339. {block:ifnotColumns}
  340. margin:{select:Margin}px auto;
  341. {block:ifnotColumns}
  342. {/block:IndexPage}
  343. {block:PermalinkPage}
  344. width:{select:Post Size Permalinkpage}px;
  345. margin:{select:Margin}px auto;
  346. {/block:PermalinkPage}
  347. height:auto;
  348. padding:{select:Padding}px;
  349. position:relative;
  350. background:{color:Posts};
  351. color:{color:Text};
  352. }
  353.  
  354.  
  355.  
  356. /* Image */
  357.  
  358.  
  359. .posts img, img :not(.lightbox-image) { max-width:100%; height:auto; }
  360.  
  361. #photo img { width:100%; display:block; }
  362.  
  363.  
  364.  
  365. /* Photoset */
  366.  
  367.  
  368. .tmblr-lightbox, #tumblr_lightbox { background:rgba({RGBcolor:Background}, 1)!important; }
  369.  
  370. .vignette, #vignette { opacity:0!important; }
  371.  
  372. .lightbox-caption, #tumblr_lightbox_caption {
  373. color:inherit!important;
  374. font-family:inherit!important;
  375. font-size:inherit!important;;
  376. font-weight:normal!important;
  377. text-shadow:none!important;
  378. }
  379.  
  380. .lightbox-image, #tumblr_lightbox img {
  381. padding:10px!important;
  382. background-color:{color:Posts}!important;
  383. border-radius:0px!important;
  384. -webkit-border-radius:0px!important;
  385. -moz-border-radius:0px!important;
  386. box-shadow:none!important;
  387. -webkit-box-shadow:none!important;
  388. -moz-box-shadow:none!important;
  389. }
  390.  
  391.  
  392.  
  393. /* Video */
  394.  
  395.  
  396. #vid, #vid iframe, iframe { display:block; overflow:hidden; }
  397.  
  398.  
  399.  
  400. {block:IndexPage}
  401. {block:ifImageFade}
  402. #vid, .photo-data, #photo img { opacity:.7; }
  403.  
  404. .posts:hover #photo img, .posts:hover .photo-data, .posts:hover #vid { opacity:1; }
  405. {/block:ifImageFade}
  406. {/block:IndexPage}
  407.  
  408.  
  409.  
  410. /* Audio */
  411.  
  412.  
  413. #audio { width:100%; display:table; }
  414.  
  415. #audio_player {
  416. width:40px;
  417. display:table-cell;
  418. vertical-align:middle;
  419. }
  420.  
  421. #audio_info {
  422. padding-left:10px;
  423. display:table-cell;
  424. vertical-align:middle;
  425. }
  426.  
  427. #audio_info p { font-size:110%; }
  428.  
  429. iframe.tumblr_audio_player {
  430. width:45px;
  431. height:45px;
  432. display:block;
  433. border-radius:100%;
  434. }
  435.  
  436. iframe.soundcloud_audio_player { height:auto!important; display:block; }
  437.  
  438. iframe.spotify_audio_player { height:80px!important; display:block; }
  439.  
  440.  
  441.  
  442. /* Ask */
  443.  
  444.  
  445. #asker {
  446. position:relative;
  447. font-weight:bold;
  448. text-align:center;
  449. }
  450.  
  451. #asker span, .p {
  452. padding:0 10px;
  453. position:relative;
  454. background:{color:Posts};
  455. }
  456.  
  457. #asker:before {
  458. content:"";
  459. width:100%;
  460. height:1px;
  461. top:50%;
  462. left:0;
  463. position:absolute;
  464. background:{color:Borders};
  465. }
  466.  
  467. #question {
  468. margin-bottom:10px;
  469. padding:10px;
  470. border-bottom:1px solid {color:Borders};
  471. text-align:center;
  472. }
  473.  
  474.  
  475.  
  476. /* Quote */
  477.  
  478.  
  479. #quote {
  480. padding:15px;
  481. background:{color:Quote};
  482. color:{color:Quote Text};
  483. font-size:140%;
  484. }
  485.  
  486. #source {
  487. margin-top:5px;
  488. font-size:{select:Body Font Size}px;
  489. letter-spacing:1px;
  490. text-align:right;
  491. }
  492.  
  493.  
  494.  
  495. /* Chat */
  496.  
  497.  
  498. #chat { margin:0; list-style:none; }
  499.  
  500. #chat p { font-weight:bold; }
  501.  
  502. #chat li { padding:15px; border-top:1px solid {color:Borders}; }
  503.  
  504. #chat li:first-of-type { border-top:0; }
  505.  
  506.  
  507.  
  508. /* Permalinks - Post information - Tags - Notes */
  509.  
  510.  
  511. .perma_outer {
  512. {block:IndexPage}margin-top:10px;{/block:IndexPage}
  513. {block:PermalinkPage} margin-top:20px; {/block:PermalinkPage}
  514. position:relative;
  515. }
  516.  
  517. .perma {
  518. position:relative;
  519. color:{color:Circle};
  520. font-family:{select:Title Font}, sans-serif;
  521. text-align:center;
  522. }
  523.  
  524. .perma a { color:{color:Circle}; }
  525.  
  526. .perma:before {
  527. content:"";
  528. width:100%;
  529. height:1px;
  530. top:calc(50% - 1px);
  531. left:0;
  532. position:absolute;
  533. background:{color:Borders};
  534. }
  535.  
  536. {block:IndexPage}{block:ifCircle}
  537. .p {
  538. width:9px;
  539. height:9px;
  540. margin:0 auto;
  541. padding:0;
  542. position:relative;
  543. display:block;
  544. border-radius:100%;
  545. background:{color:Circle};
  546. }
  547. {/block:ifCircle}{/block:IndexPage}
  548.  
  549. .tags {
  550. {block:IndexPage}margin-top:5px;{/block:IndexPage}
  551. {block:PermalinkPage}margin-top:10px; {/block:PermalinkPage}
  552. text-align:center;
  553. }
  554.  
  555. .tags a {
  556. margin-right:5px;
  557. color:{color:Tags};
  558. font-style:italic;
  559. text-transform:lowercase;
  560. }
  561.  
  562. .pepper { margin:0; list-style:none; }
  563.  
  564. .pepper li {
  565. width:50%;
  566. margin:15px 0 5px 0;
  567. display:block;
  568. float:left;
  569. letter-spacing:1px;
  570. text-align:left;
  571. text-transform:uppercase;
  572. }
  573.  
  574. #nc { font-weight:bold; }
  575.  
  576. #rf { text-align:right; }
  577.  
  578. #rf a { color:{color:Text}; }
  579.  
  580. ol.notes {
  581. margin:10px 0;
  582. list-style:none;
  583. clear:both;
  584. }
  585.  
  586. li.note { padding:5px 0; }
  587.  
  588. img.avatar, li.note blockquote, .tg { display:none; }
  589.  
  590.  
  591.  
  592. /* Header - Top - Top Content */
  593.  
  594.  
  595. .top {
  596. width:100%;
  597. height:{text:Top Height}vh;
  598. min-height:25vh;
  599. max-height:100vh;
  600. top:0;
  601. left:0;
  602. position:relative;
  603. overflow:hidden;
  604. background-image:
  605. {block:ifTopTint}-webkit-linear-gradient(rgba({RGBcolor:Top Tint}, 0.4), rgba({RGBcolor:Top Tint}, 0.4)),{/block:ifTopTint} url('{image:Top}');
  606. background-image:
  607. {block:ifTopTint}-o-linear-gradient(rgba({RGBcolor:Top Tint}, 0.4), rgba({RGBcolor:Top Tint}, 0.4)),{/block:ifTopTint} url('{image:Top}');
  608. background-image:
  609. {block:ifTopTint}-moz-linear-gradient(rgba({RGBcolor:Top Tint}, 0.4), rgba({RGBcolor:Top Tint}, 0.4)),{/block:ifTopTint} url('{image:Top}');
  610. background-image:
  611. {block:ifTopTint}linear-gradient(rgba({RGBcolor:Top Tint}, 0.4), rgba({RGBcolor:Top Tint}, 0.4)),{/block:ifTopTint} url('{image:Top}');
  612. background-attachment:fixed;
  613. background-size:cover;
  614. background-position:center;
  615. background-color:{color:Top};
  616. color:{color:Top Text};
  617. }
  618.  
  619. .top_content {
  620. top:50%;
  621. left:50%;
  622. -ms-transform: translate(-50%, -50%);
  623. -webkit-transform: translate(-50%, -50%);
  624. transform: translate(-50%, -50%);
  625. position:absolute;
  626. text-align:center;
  627. }
  628.  
  629. .title {
  630. font-family:{select:Title Font}, sans-serif;
  631. font-size:60px;
  632. font-weight:bold;
  633. line-height:60px;
  634. }
  635.  
  636. .tt {
  637. margin-bottom:30px;
  638. color:{color:Post Title};
  639. font-size:16px;
  640. letter-spacing:1px;
  641. line-height:120%;
  642. }
  643.  
  644. .top_content p {
  645. margin-top:20px;
  646. letter-spacing:1px;
  647. text-transform:uppercase;
  648. }
  649.  
  650. #d {
  651. bottom:35px;
  652. left:50%;
  653. -ms-transform: translateX(-50%);
  654. -webkit-transform: translateX(-50%);
  655. transform: translateX(-50%);
  656. position:absolute;
  657. cursor:pointer;
  658. font-family:sans-serif;
  659. font-size:20px;
  660. }
  661.  
  662.  
  663.  
  664. /* Navigation */
  665.  
  666.  
  667. nav {
  668. width:100%;
  669. padding:35px 0;
  670. position:fixed;
  671. z-index:999;
  672. color:{color:Top Text};
  673. font-size:12px;
  674. line-height:14px;
  675. letter-spacing:1px;
  676. text-transform:uppercase;
  677. text-align:center;
  678. }
  679.  
  680. nav a { margin:0 20px; color:{color:Top Text}; /* nav links color @ top */ }
  681.  
  682. .nn {
  683. padding:25px 0;
  684. background:{color:Nav};
  685. color:{color:Nav Links};
  686. }
  687.  
  688. .nn a { color:{color:Nav Links}; }
  689.  
  690.  
  691.  
  692. /* Description */
  693.  
  694.  
  695. .description {
  696. width:auto;
  697. max-width:600px;
  698. margin:0 auto;
  699. padding:130px 10px 30px 10px;
  700. position:relative;
  701. text-align:center;
  702. }
  703.  
  704. .description:after {
  705. content:"";
  706. width:55px;
  707. height:1px;
  708. bottom:0px;
  709. left:50%;
  710. -ms-transform: translateX(-50%);
  711. -webkit-transform: translateX(-50%);
  712. transform: translateX(-50%);
  713. position:absolute;
  714. background:{color:Borders};
  715. }
  716.  
  717.  
  718.  
  719. /* Footer - Pagination - Manual Load */
  720.  
  721.  
  722. footer {
  723. width:100%;
  724. margin-bottom:100px;
  725. text-align:center;
  726. }
  727.  
  728. #load {
  729. cursor:pointer;
  730. font-weight:bold;
  731. letter-spacing:1px;
  732. text-transform:uppercase;
  733. }
  734.  
  735. .jump_page, .current_page {
  736. width:9px;
  737. height:9px;
  738. margin:0 5px;
  739. display:inline-block;
  740. overflow:hidden;
  741. border-radius:100%;
  742. background:{color:Circle};
  743. color:{color:Circle};
  744. }
  745.  
  746. .jump_page:hover { opacity:.8; color:{color:Circle};}
  747.  
  748. .current_page { opacity:.6}
  749.  
  750. {block:ifInfinitescroll}
  751. .pagination { display:none; }
  752.  
  753. #infscr-loading { display:none!important; }
  754. {/block:ifInfinitescroll}
  755.  
  756.  
  757.  
  758. /* Fade */
  759.  
  760. {block:ifPostsFadeUp}
  761. @-webkit-keyframes fadeUp {
  762. 0% { opacity: 0; -webkit-transform: translateY(150px); }
  763. 100% { opacity: 1; -webkit-transform: translateY(0); }
  764. }
  765.  
  766. @keyframes fadeUp {
  767. 0% { opacity: 0; transform: translateY(150px); }
  768. 100% { opacity: 1; transform: translateY(0); }
  769. }
  770.  
  771. .posts {
  772. -webkit-animation-delay: 1s;
  773. animation-delay: 1s;
  774. -webkit-animation-duration: 0.8s;
  775. animation-duration: 0.8s;
  776. -webkit-animation-fill-mode: backwards;
  777. animation-fill-mode: backwards;
  778. -webkit-animation-name: fadeUp;
  779. animation-name: fadeUp;
  780. }
  781. {/block:ifPostsFadeUp}
  782.  
  783.  
  784. @keyframes fadein {
  785. from { opacity: 0; }
  786. to { opacity: 1; }
  787. }
  788. @-moz-keyframes fadein {
  789. from { opacity: 0; }
  790. to { opacity: 1; }
  791. }
  792.  
  793. @-webkit-keyframes fadein {
  794. from { opacity: 0; }
  795. to { opacity: 1; }
  796. }
  797.  
  798. header,footer,main, .description, nav {
  799. animation: fadein 2s;
  800. -webkit-animation: fadein 2s;
  801. -moz-animation: fadein 2s;
  802. }
  803.  
  804.  
  805.  
  806. /* Tooltips */
  807.  
  808.  
  809. #s-m-t-tooltip{
  810. max-width:300px;
  811. margin:25px 15px;
  812. padding:2px 5px;
  813. z-index:999999;
  814. background:{color:Posts};
  815. color:{color:Text};
  816. font-size:8px;
  817. letter-spacing:1px;
  818. text-transform:uppercase;
  819. }
  820.  
  821.  
  822.  
  823. {CustomCSS}
  824.  
  825.  
  826.  
  827.  
  828. </style>
  829.  
  830.  
  831. <!---- Scripts ---->
  832.  
  833.  
  834. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  835.  
  836. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  837. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  838. <script src="http://static.tumblr.com/3yblkz0/Bu3nywvqg/shythemes_vr.js"></script>
  839.  
  840. <script>
  841. $(document).ready(function(){
  842. $("[title],a[title],img[title]").style_my_tooltips({
  843. tip_follows_cursor:true,
  844. tip_delay_time:10,
  845. tip_fade_speed:800,
  846. attribute:"title"
  847. });
  848. $('.photo-slideshow').pxuPhotoset({
  849. lightbox: true,
  850. rounded: false,
  851. gutter: '5px',
  852. borderRadius: '0px',
  853. photoset: '.photo-slideshow',
  854. photoWrap: '.photo-data',
  855. photo: '.pxu-photo'
  856. });
  857. {block:ifTopFadeOut}
  858. $(window).scroll(function(){
  859. var ToP = $('.top');
  860. $('.top').css("opacity", 1 - $(window).scrollTop() / ToP.outerHeight() ); });
  861. {/block:ifTopFadeOut}
  862. {block:ifTop}
  863. $("#d").click(function() {
  864. $('html, body').animate({
  865. scrollTop: $("main").offset().top
  866. }, 2000);
  867. });
  868. $(window).scroll(function() {
  869. if( $(window).scrollTop() > 30 )
  870. { $('nav').addClass('nn'); }
  871. else
  872. { $('nav').removeClass('nn'); }
  873. });
  874. {/block:ifTop}
  875. });
  876. </script>
  877.  
  878.  
  879.  
  880. </head>
  881. <body class="{select:Tumblr Controls}">
  882.  
  883.  
  884.  
  885. <nav {block:ifnotTop}class="nn"{/block:ifnotTop}>
  886. <a href="/">home</a>
  887. <a href="/ask">inbox</a>
  888. <a href="/archive">archive</a>
  889. {block:ifLink1}<a href="{text:Link1}">{text:Title1}</a>{/block:ifLink1}
  890. {block:ifLink2}<a href="{text:Link2}">{text:Title2}</a>{/block:ifLink2}
  891. {block:ifLink3}<a href="{text:Link3}">{text:Title3}</a>{/block:ifLink3}
  892. </nav>
  893.  
  894.  
  895. {block:ifTop}
  896. <header class="top">
  897. <section class="top_content">
  898. {block:ShowTitle}<div class="title">{Title}</div>{/block:ShowTitle}
  899. {block:ifTextUnderTitle}<p>{Text:Text Under Title}</p>{/block:ifTextUnderTitle}
  900. </section>
  901. <div id="d">⫯</div>
  902. </header>
  903. {/block:ifTop}
  904.  
  905.  
  906. <main>
  907.  
  908.  
  909. {block:ShowDescription}
  910. <div class="description">
  911. {block:ifnotTop}{block:ShowTitle}<div class="title tt">{Title}</div>{/block:ShowTitle}{/block:ifnotTop}
  912. {Description}
  913. </div>
  914. {/block:ShowDescription}
  915.  
  916.  
  917. <section id="wrapper">
  918. {block:Posts}
  919. <article class="posts">
  920.  
  921.  
  922. {block:ContentSource}
  923. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  924. {/block:SourceLogo}
  925. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  926. {/block:ContentSource}
  927.  
  928.  
  929. {block:Photo}
  930. <div id="photo">
  931. {block:IndexPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />{/block:IndexPage}
  932. {block:PermalinkPage}
  933. {LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />{LinkCloseTag}
  934. {/block:PermalinkPage}
  935. </div>
  936. {/block:Photo}
  937.  
  938.  
  939. {block:Photoset}
  940. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  941. {block:Photos}
  942. <div class="photo-data">
  943. <div class="pxu-photo">
  944. <img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  945. </div>
  946. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a>
  947. </div>
  948. {/block:Photos}
  949. </div>
  950. {/block:Photoset}
  951.  
  952.  
  953. {block:Video}
  954. <div id="vid">{Video-500}</div>
  955. {/block:Video}
  956.  
  957.  
  958. {block:Audio}
  959. <div id="audio">
  960. <div id="audio_player">{AudioPlayerGrey}</div>
  961. <div id="audio_info">
  962. {block:TrackName}<p><b>{TrackName}</b></p>{/block:TrackName}
  963. {block:Artist}{Artist}{/block:Artist}
  964. </div>
  965. </div>
  966. {/block:Audio}
  967.  
  968.  
  969. {block:Text}
  970. {block:Title}<h2>{Title}</h2>{/block:Title}
  971. {Body}
  972. {/block:Text}
  973.  
  974.  
  975. {block:Link}
  976. <h2><a href="{URL}" {Target}>{Name}</a></h2>
  977. {block:Description}{Description}{/block:Description}
  978. {/block:Link}
  979.  
  980.  
  981. {block:Answer}
  982. <div id="asker"><span>{Asker} asked</span></div>
  983. <div id="question">{Question}</div>
  984. {Answer}
  985. {/block:Answer}
  986.  
  987.  
  988. {block:Quote}
  989. <div id="quote">
  990. {Quote}
  991. {block:Source}<div id="source">{Source}</div>{/block:Source}
  992. </div>
  993. {/block:Quote}
  994.  
  995.  
  996. {block:Chat}
  997. {block:Title}<h2>{Title}</h2>{/block:Title}
  998. <ul id="chat">
  999. {block:Lines}<li>
  1000. {block:Label}
  1001. <p>{Label}</p>
  1002. {/block:Label}
  1003. {Line}</li>
  1004. {/block:Lines}</ul>
  1005. {/block:Chat}
  1006.  
  1007.  
  1008. {block:Caption}<div class="cap {block:IndexPage}{block:ifnotShowCaptions}cp{/block:ifnotShowCaptions}{/block:IndexPage}">{Caption}</div>{/block:Caption}
  1009.  
  1010.  
  1011. {block:Date}
  1012. <div class="perma_outer">
  1013. <div class="perma">
  1014. {block:IndexPage}
  1015. <a href="{Permalink}" {block:ifCircle}title="{TimeAgo} / {NoteCountWithLabel}"{/block:ifCircle}>
  1016. <span class="p">{block:ifnotCircle}{TimeAgo}{/block:ifnotCircle}</span>
  1017. </a>
  1018. {/block:IndexPage}
  1019. {block:PermalinkPage}
  1020. <span class="p">{DayOfMonth} {Month} {Year}</span>
  1021. {/block:PermalinkPage}
  1022. </div>
  1023. {block:HasTags}
  1024. <div class="tags {block:IndexPage}{block:ifnotShowTags}tg{/block:ifnotShowTags}{/block:IndexPage}">
  1025. {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
  1026. </div>
  1027. {/block:HasTags}
  1028. {block:PermalinkPage}
  1029. <ul class="pepper">
  1030. {block:NoteCount}<li id="nc">{NoteCountWithLabel}</li>{/block:NoteCount}
  1031. {block:RebloggedFrom}
  1032. <li id="rf"><a href="{ReblogParentURL}" title="{ReblogParentName}">via</a> / <a href="{ReblogRootURL}" title="{ReblogRootName}">src</a></li>
  1033. {/block:RebloggedFrom}
  1034. </ul>
  1035. {block:PostNotes}{PostNotes}{/block:PostNotes}
  1036. {/block:PermalinkPage}
  1037. </div>
  1038. {/block:Date}
  1039.  
  1040.  
  1041. </article>
  1042. {/block:Posts}
  1043. </section>
  1044.  
  1045.  
  1046. {block:IndexPage}
  1047. {block:ifInfinitescroll}{block:ifManualLoad}
  1048. <footer><a id="load">Load More</a></footer>
  1049. {/block:ifManualLoad}{/block:ifInfinitescroll}
  1050. {block:Pagination}
  1051. <footer><div class="pagination">
  1052. {block:JumpPagination length="5"}
  1053. {block:CurrentPage}<span class="current_page">{PageNumber}</span>{/block:CurrentPage}
  1054. {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}
  1055. {/block:JumpPagination}
  1056. </div></footer>
  1057. {/block:Pagination}
  1058. {/block:IndexPage}
  1059.  
  1060.  
  1061.  
  1062. </main>
  1063.  
  1064.  
  1065.  
  1066. <a href="http://ladmilk.tumblr.com" style="padding:10px; bottom:5px; left:5px; position:fixed;" title="Theme by Heidi">cr.</a>
  1067.  
  1068.  
  1069.  
  1070. <!---- Scripts ---->
  1071.  
  1072.  
  1073. {block:IndexPage}
  1074. {block:ifColumns}
  1075. <script src="http://static.tumblr.com/3yblkz0/Cs2nz27e5/masonry.pkgd.min.js"></script>
  1076. {/block:ifColumns}
  1077. <script src="http://static.tumblr.com/3yblkz0/qEunz27je/imagesloaded.pkgd.min.js"></script>
  1078. {block:ifInfinitescroll}
  1079. <script src="http://static.tumblr.com/3yblkz0/OZInz27pe/jquery.infinitescroll.min.js"></script>
  1080. {/block:ifInfinitescroll}
  1081.  
  1082. <script>
  1083. $(document).ready(function(){
  1084. var $container = $('#wrapper');
  1085. {block:ifColumns}
  1086. $container.masonry({
  1087. itemSelector: '.posts',
  1088. columnWidth: {select:Post Size} + {select:Margin}*2 + {select:Padding}*2,
  1089. isFitWidth: true,
  1090. });
  1091. $container.imagesLoaded().progress(function(){ $container.masonry('layout'); });
  1092. {/block:ifColumns}
  1093. {block:ifInfinitescroll}
  1094. $container.infinitescroll({
  1095. itemSelector : ".posts",
  1096. navSelector : ".pagination",
  1097. nextSelector : ".pagination a",
  1098. loadingImg : "",
  1099. loadingText : "<em> </em>",
  1100. bufferPx : 1000,
  1101. extraScrollPx: 500,
  1102. {block:ifManualLoad}
  1103. errorCallback: function () { jQuery('a#load').delay(50).fadeOut(); },
  1104. {/block:ifManualLoad}
  1105. },
  1106. function( newElements ) {
  1107. resizeVideos();
  1108. $(newElements).find('.photo-slideshow').pxuPhotoset({
  1109. lightbox: true,
  1110. rounded: false,
  1111. gutter: '5px',
  1112. borderRadius: '0px',
  1113. photoset: '.photo-slideshow',
  1114. photoWrap: '.photo-data',
  1115. photo: '.pxu-photo'
  1116. });
  1117. var $newElems = $( newElements ).hide();
  1118. $newElems.imagesLoaded(function(){
  1119. $newElems.fadeIn();
  1120. {block:ifColumns}
  1121. $container.masonry( 'appended', $newElems, true );
  1122. {/block:ifColumns}
  1123. });
  1124. });
  1125. {block:ifnotManualLoad}
  1126. if($(window).height() >= $(document).height()){
  1127. $container.infinitescroll('retrieve'); return false;
  1128. };
  1129. {/block:ifnotManualLoad}
  1130. {block:ifManualLoad}
  1131. $(window).unbind('.infscr');
  1132. $('a#load').click(function() {
  1133. $container.infinitescroll('retrieve');return false;
  1134. });
  1135. {/block:ifManualLoad}
  1136. {/block:ifInfinitescroll}
  1137. });
  1138. </script>
  1139. {/block:IndexPage}
  1140.  
  1141.  
  1142.  
  1143. </body>
  1144. </html>
Advertisement
Add Comment
Please, Sign In to add comment