bychloethemes

Wendy Theme Revamp - by Chloe

Aug 13th, 2015
550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.96 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <!--
  4. _ _ _
  5. | |__ _ _ ___| |__ | | ___ ___
  6. | '_ \| | | | / __| '_ \| |/ _ \ / _ \
  7. | |_) | |_| | | (__| | | | | (_) | __/
  8. |_.__/ \__, | \___|_| |_|_|\___/ \___|
  9. |___/
  10.  
  11. Wendy Revamp by Chloe | @dontbrag | @bychloethemes
  12. Do not delete the credit. Do not claim as your own. Do not copy any ideas or code. Do not redistribute.
  13.  
  14. For html help go to @htmlqueens
  15.  
  16. -->
  17. <meta name="image:Sidebar" content="" />
  18.  
  19. <meta name="color:Background" content="#f6f6f6" />
  20. <meta name="color:Text" content="#000" />
  21. <meta name="color:Links" content="#666" />
  22. <meta name="color:Posts" content="#fff" />
  23. <meta name="color:Accent" content="#ccc" />
  24.  
  25. <meta name="if:Pagination" content="0" />
  26. <meta name="if:Captions" content="1" />
  27. <meta name="if:Tags On Index Page" content="1" />
  28. <meta name="if:Black Permalinks" content="0" />
  29.  
  30. <meta name="text:Link 1" content="" />
  31. <meta name="text:URL 1" content="" />
  32. <meta name="text:Link 2" content="" />
  33. <meta name="text:URL 2" content="" />
  34. <meta name="text:Link 3" content="" />
  35. <meta name="text:URL 3" content="" />
  36.  
  37. {block:Description}
  38. <meta name="description" content="{MetaDescription}" />
  39. {/block:Description}
  40. <meta charset="utf-8">
  41. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  42. <title>{block:TagPage}{Tag} posts | {/block:TagPage} {block:PostSummary}{PostSummary} | {/block:PostSummary}{Title}</title>
  43. <title>{text:Tab Title}</title>
  44. <link rel="shortcut icon" href="{Favicon}">
  45. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  46. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  47. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  48. <link href='//fonts.googleapis.com/css?family=Raleway:400,600' rel='stylesheet' type='text/css'>
  49. <style type="text/css">
  50. body {
  51. background: {color:Background};
  52. color: {color:Text};
  53. font-family: 'Raleway', sans-serif;
  54. font-size: 12px;
  55. margin: 0;
  56. padding: 0;
  57. }
  58. iframe, img, embed, object, video {
  59. max-width: 100%;
  60. }
  61. img {
  62. height: auto;
  63. width: auto;
  64. vertical-align:middle;
  65. }
  66. blockquote {
  67. border-left:1px solid {color:Accent};
  68. margin:0 0 0 15px;
  69. padding:0 0 0 5px;
  70. }
  71. a {
  72. color:{color:Links};
  73. text-decoration:none;
  74. }
  75. a:focus {
  76. outline:none;
  77. }
  78. b, strong {
  79. font-weight:600;
  80. }
  81. hr {
  82. height:1px;
  83. border:0;
  84. background:{color:Accent};
  85. }
  86. h1 {
  87. font-weight:400;
  88. }
  89. cite {
  90. margin-top:3px;
  91. display:block;
  92. text-align:right;
  93. }
  94. .credit {
  95. width:14px;
  96. height:13px;
  97. color: {color:Links};
  98. position:fixed;
  99. bottom: 15px;
  100. left: 15px;
  101. line-height: 14px;
  102. font-size:12px;
  103. text-transform: uppercase;
  104. padding:3px 4px;
  105. overflow: hidden;
  106. z-index:999999999999999999;
  107. text-align:left;
  108. -webkit-transition: all 0.5s ease-in-out;
  109. -moz-transition: all 0.5s ease-in-out;
  110. -o-transition: all 0.5s ease-in-out;
  111. transition: all 0.5s ease-in-out;
  112. }
  113. .credit:hover {
  114. width:126px;
  115. background:#000;
  116. color:#fff;
  117. -webkit-transition: all 0.5s ease-in-out;
  118. -moz-transition: all 0.5s ease-in-out;
  119. -o-transition: all 0.5s ease-in-out;
  120. transition: all 0.5s ease-in-out;
  121. }
  122. .credit a {
  123. color:#fff;
  124. text-decoration: none;
  125. }
  126. .credit .mine {
  127. opacity:0;
  128. visibility:hidden;
  129. }
  130. .credit:hover .mine {
  131. opacity: 1;
  132. visibility: visible;
  133. -webkit-transition: all 0.5s ease-in-out 0.5s;
  134. -moz-transition: all 0.5s ease-in-out 0.5s;
  135. -o-transition: all 0.5s ease-in-out 0.5s;
  136. transition: all 0.5s ease-in-out 0.5s;
  137. }
  138. .sidebar1 {
  139. width:200px;
  140. position:fixed;
  141. bottom:20px;
  142. padding:15px;
  143. z-index:9;
  144. left:-120px;
  145. margin-left:50%;
  146. text-align:justify;
  147. background:{color:Posts};
  148. }
  149. .sidebar1 h1 {
  150. margin:0;
  151. text-align:center;
  152. }
  153. p.description {
  154. margin:0;
  155.  
  156. }
  157. ul.navlinks {
  158. padding:0;
  159. list-style-type:none;
  160. text-align:center;
  161. margin:0;
  162. }
  163. ul.navlinks li {
  164. display:inline-block;
  165. margin:0;
  166. }
  167. ul.navlinks li:after {
  168. content:' · ';
  169. margin:0 3px;
  170. }
  171. ul.navlinks li:first-child:before {
  172. content:' · ';
  173. margin:0 3px;
  174. }
  175. a.next {
  176. float:right;
  177. }
  178. .content {
  179. {block:IndexPage}
  180. margin-left:auto;
  181. margin-right:auto;
  182. width: 1160px;
  183. {/block:IndexPage}
  184. {block:PermalinkPage}
  185. width:430px;
  186. margin-bottom:60px;
  187. margin-left:50%;
  188. left:-580px;
  189. {/block:PermalinkPage}
  190. }
  191. article {
  192. {block:IndexPage}
  193. margin:20px 145px 20px 145px;
  194. width: 250px;
  195. {/block:IndexPage}
  196. padding:15px;
  197. position:relative;
  198. {block:permalinkpage}
  199. margin-top:20px;
  200. width:400px;
  201. {/block:permalinkpage}
  202. background:{color:Posts};
  203. }
  204. article h1 {
  205. margin:0;
  206. }
  207. article p {
  208. margin:10px 0;
  209. }
  210. article ul {
  211. padding:0;
  212. margin-left:30px;
  213. }
  214. .photoset {
  215. margin-bottom:-1px;
  216. }
  217. .short h1 {
  218. font-size:2em;
  219. }
  220. .medium h1 {
  221. font-size:1.5em;
  222. }
  223. .long h1 {
  224. font-size:1em;
  225. }
  226. ul.chat-list {
  227. list-style-type:none;
  228. padding:0;
  229. margin:0;
  230. }
  231. ul.chat-list li {
  232. margin:3px 0;
  233. padding:3px 0;
  234. }
  235. span.label {
  236. font-weight:bold;
  237. }
  238. .tumblr_audio_player {
  239. height: 30px;
  240. width: 250px;
  241. }
  242. .question2 p {
  243. display:inline;
  244. margin:0;
  245. }
  246. ul.permalinks2 {
  247. color:gray;
  248. list-style-type:none;
  249. padding:0;
  250. margin:0;
  251. font-size:22px;
  252. font-family:verdana;
  253. padding:0 5px;
  254. text-align:left;
  255. overflow:hidden;
  256. visibility:hidden;
  257. opacity:0;
  258. position:absolute;
  259. right:-55px;
  260. top:0px;
  261. width:20px;
  262. -webkit-transition: all 0.4s ease-in-out;
  263. -moz-transition: all 0.4s ease-in-out;
  264. -o-transition: all 0.4s ease-in-out;
  265. transition: all 0.4s ease-in-out;
  266. }
  267. .hovers:hover ul.permalinks2 {
  268. visibility:visible;
  269. opacity:1;
  270. right:-33px;
  271. -webkit-transition: all 0.4s ease-in-out;
  272. -moz-transition: all 0.4s ease-in-out;
  273. -o-transition: all 0.4s ease-in-out;
  274. transition: all 0.4s ease-in-out;
  275. }
  276. ul.permalinks2 li {
  277. border-bottom:0;
  278. margin:0;
  279. padding:0;
  280. }
  281. ul.permalinks2 li:last-child {
  282. margin-top:6px;
  283. }
  284. ul.permalinks2 li a {
  285. {block:IfNotBlackPermalinks}
  286. color:#ccc;
  287. {/block:IfNotBlackPermalinks}
  288. {block:IfBlackPermalinks}
  289. color:#000;
  290. {/block:IfBlackPermalinks}
  291. }
  292. ol.notes {
  293. list-style-type: none;
  294. margin:0 5px 0 0;
  295. padding:0;
  296. }
  297.  
  298. ol.notes li.note {
  299. padding:0;
  300. text-align:left;
  301. line-height:16px;
  302. width:100%;
  303. border:0;
  304. border-radius:0;
  305. background:transparent;
  306. padding-bottom:3px;
  307. padding-top:3px;
  308. }
  309. ol.notes li.note img.avatar {
  310. display:none;
  311. }
  312.  
  313. ol.notes li.note span.action {
  314. font-weight: normal;
  315. }
  316.  
  317. ol.notes li.note .answer_content {
  318. font-weight: normal;
  319. }
  320. .taggy {
  321. font-size:10px;
  322. }
  323. #infscr-loading {
  324. position:absolute;
  325. bottom:-10px;
  326. width:280px;
  327. left:145px;
  328. text-align:left;
  329. color:{color:Links};
  330. }
  331. #infscr-loading img{
  332. display:none;
  333. }
  334. </style>
  335. </head>
  336. <body>
  337. <div class="sidebar1">
  338. <h1><a href="/">{Title}</a></h1>
  339. <hr>
  340. {block:IfSidebarImage}
  341. <img src="{image:Sidebar}">
  342. <hr>
  343. {/block:IfSidebarImage}
  344. {block:Description}<p class="description">{Description}</p>{/block:Description}
  345. <hr>
  346. <ul class="navlinks">
  347. <li><a href="/">home</a></li>
  348. {block:AskEnabled}
  349. <li><a href="/ask">ask</a></li>
  350. {/block:AskEnabled}
  351. {block:SubmissionsEnabled}
  352. <li><a href="/submit">submit</a></li>
  353. {/block:SubmissionsEnabled}
  354. {block:HasPages}
  355. {block:Pages}
  356. <li><a href="{URL}">{Label}</a></li>
  357. {/block:Pages}
  358. {/block:HasPages}
  359. {block:IfLink1}
  360. <li><a href="{text:URL 1}">{text:Link 1}</a></li>
  361. {/block:IfLink1}
  362. {block:IfLink2}
  363. <li><a href="{text:URL 2}">{text:Link 2}</a></li>
  364. {/block:IfLink2}
  365. {block:IfLink3}
  366. <li><a href="{text:URL 3}" >{text:Link 3}</a></li>
  367. {/block:IfLink3}
  368. <li><a href="/archive">archive</a></li>
  369. <li><a href="http://dontbrag.tumblr.com" target="_blank">theme</a></li>
  370. </ul>
  371. {block:IfPagination}
  372. <hr>
  373. {/block:IfPagination}
  374. {block:Pagination}
  375. <div class="pagination" {block:IfNotPagination}style="visibility:hidden;height:0;overflow-hidden;"{/block:IfNotPagination}>
  376. {block:PreviousPage}<a class="prev" href="{PreviousPage}">prev.</a>{/block:PreviousPage}
  377. {block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}
  378. </div>
  379. {/block:Pagination}
  380. </div>
  381. <div class="content">
  382. {block:Posts}
  383. <article class="hovers">
  384. {block:IndexPage}
  385. <ul class="permalinks2">
  386. <li>{block:IfNotBlackPermalinks}{LikeButton}{/block:IfNotBlackPermalinks}{block:IfBlackPermalinks}{LikeButton color="black"}{/block:IfBlackPermalinks}</li>
  387. <li>{block:IfNotBlackPermalinks}{ReblogButton}{/block:IfNotBlackPermalinks}{block:IfBlackPermalinks}{ReblogButton color="black"}{/block:IfBlackPermalinks}</li>
  388. <li><a href="{Permalink}"><i class="fa fa-link"></i></a></li>
  389. </ul>
  390. {/block:IndexPage}
  391. {block:Text}
  392. <div class="text">
  393. {block:Title}<h1>{Title}</h1>{block:Title}
  394. <p>{Body}</p>
  395. </div>
  396. {/block:Text}
  397.  
  398. {block:Photo}
  399. <div class="photo">
  400. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
  401. {block:indexpage}
  402. {block:IfCaptions}
  403. {block:Caption}<p>{Caption}</p>{/block:Caption}
  404. {/block:IfCaptions}
  405. {/block:indexpage}
  406. {block:permalinkpage}
  407. {block:Caption}<p>{Caption}</p>{/block:Caption}
  408. {/block:permalinkpage}
  409. </div>
  410. {/block:Photo}
  411.  
  412. {block:Photoset}
  413. <div class="photoset">
  414. {block:indexpage}
  415. {Photoset-250}
  416. {block:IfCaptions}
  417. {block:Caption}<p>{Caption}</p>{/block:Caption}
  418. {/block:IfCaptions}
  419. {/block:indexpage}
  420. {block:permalinkpage}
  421. {Photoset-400}
  422. {block:Caption}<p>{Caption}</p>{/block:Caption}
  423. {/block:permalinkpage}
  424. </div>
  425. {/block:Photoset}
  426.  
  427. {block:Quote}
  428. <div class="quote {Length}">
  429. <h1>&ldquo;{Quote}&rdquo;</h1>
  430. {block:Source}<cite>-&nbsp;{Source}</cite>{/block:Source}
  431. </div>
  432. {/block:Quote}
  433.  
  434. {block:Link}
  435. <div class="link">
  436. <h1>&#8627;<a href="{URL}" {Target}>{Name}</a></h1>
  437. {block:Description}<p>{Description}</p>{/block:Description}
  438. </div>
  439. {/block:Link}
  440.  
  441. {block:Chat}
  442. <div class="chat">
  443. {block:Title}<h1>{Title}</h1>{/block:Title}
  444. <ul class="chat-list">
  445. {block:Lines}
  446. <li class="{Alt}">
  447. {block:Label}<span class="label">{Label}</span>{/block:Label}
  448. {Line}</li>
  449. {/block:Lines}
  450. </ul>
  451. </div>
  452. {/block:Chat}
  453.  
  454. {block:Audio}
  455. <div class="audio">
  456. {block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}
  457. Artist: <span{block:Artist} style="display:none;"
  458. {/block:Artist}>Unknown</span>
  459. {block:Artist}{Artist}{/block:Artist}</br>
  460. Title: <span{block:TrackName} style="display:none;"
  461. {/block:TrackName}>Unknown</span>
  462. {block:TrackName}{TrackName}{/block:TrackName}</br>
  463. Album: <span{block:Album} style="display:none;"
  464. {/block:Album}>Unknown</span>
  465. {block:Album}{Album}{/block:Album}{block:PlayCount}</br>
  466. Plays: {FormattedPlayCount}{/block:PlayCount}
  467. </div>
  468. {/block:Audio}
  469.  
  470. {block:Video}
  471. <div class="video">
  472. {block:indexpage}
  473. {Video-250}
  474. {block:IfCaptions}
  475. {block:Caption}<p>{Caption}</p>{/block:Caption}
  476. {/block:IfCaptions}
  477. {/block:indexpage}
  478. {block:permalinkpage}
  479. {Video-400}
  480. {block:Caption}<p>{Caption}</p>{/block:Caption}
  481. {/block:permalinkpage}
  482. </div>
  483. {block:Video}
  484.  
  485. {block:Answer}
  486. <div class="answer">
  487. <div>{lang:Asker asked 2}: {Question}</div>
  488. {block:Answerer}
  489. <div class="question2">{Answerer} replied: {Answer}</div>
  490. {/block:Answerer}
  491. <p>{Replies}</p>
  492. </div>
  493. {/block:Answer}
  494. {block:indexpage}
  495. <!-- {block:NoRebloggedFrom}
  496. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  497. {/block:NoRebloggedFrom} -->
  498. {block:ContentSource}<!-- {SourceURL}
  499. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  500. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  501. {/block:ContentSource}
  502. {/block:IndexPage}
  503. {block:IndexPage}
  504. {block:IfTagsOnIndexPage}
  505. {block:HasTags}<div class="taggy">{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}</div>{/block:HasTags}
  506. {/block:IfTagsOnIndexPage}
  507. {/block:IndexPage}
  508. </article>
  509. {block:PermalinkPage}
  510. {block:HasTags}
  511. <article id="tags">
  512. filed under: {block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}
  513. </article>{/block:HasTags}
  514. {block:PostNotes}
  515. <article id="notes" class="postnotes">
  516. {PostNotes}
  517. </article>
  518. {/block:PostNotes}
  519. {/block:PermalinkPage}
  520. {/block:Posts}
  521. </div>
  522. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  523. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  524. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  525. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  526. <!--Code for infinite scroll and grid layout-->
  527. <script>
  528. (function() {
  529. var $tumblelog = $('.content');
  530. {block:IfNotPagination}
  531. $tumblelog.infinitescroll({
  532. navSelector : ".pagination",
  533. nextSelector : ".pagination a:first",
  534. itemSelector : "article",
  535. bufferPx : 50,
  536. done : "",
  537. loading: {
  538. finishedMsg: "<p>You've reached the end of the Earth.</p>",
  539. img : "",
  540. msg: null,
  541. msgText: "<p><i class='fa fa-spinner fa-pulse fa-3x'></i></p>"
  542. },
  543. },
  544. function( newElements ) {
  545. var $newElems = $( newElements ).css({ opacity: 0 });
  546. $newElems.imagesLoaded(function(){
  547. $newElems.animate({ opacity: 1 });
  548. $tumblelog.masonry( 'appended', $newElems);
  549. });
  550. }
  551. );
  552. {/block:IfNotPagination}
  553. $tumblelog.imagesLoaded( function(){
  554. $tumblelog.masonry({
  555. columnWidth: function( containerWidth ) {
  556. return containerWidth / 100;
  557. }
  558. });
  559. });
  560. })();
  561. </script>
  562. <div class="credit">
  563. <i class="fa fa-diamond"></i>&nbsp;<a class="mine" target="_blank" href="http://dontbrag.tumblr.com">ByChloeThemes</a>
  564. </div>
  565. </body>
  566. </html>
Advertisement
Add Comment
Please, Sign In to add comment