Advertisement
modernesse

Swirl Theme by Modernesse

Jul 15th, 2013
1,020
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.84 KB | None | 0 0
  1. <!-------------------------
  2. Swirl Theme by Modernesse
  3. Please do not remove the credit/use this theme as a base code without permission.
  4. Thanks for using my themes!
  5. -------------------------->
  6.  
  7. <head>
  8.  
  9.  
  10.  
  11. <script type="text/javascript"
  12. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js">
  13. </script>
  14. <script type="text/javascript" language="javascript">
  15. $(function () {
  16. $('#scrlBotm').click(function () {
  17. $('html, body').animate({
  18. scrollTop: $(document).height()
  19. },
  20. 1500);
  21. return false;
  22. });
  23.  
  24. $('#scrlTop').click(function () {
  25. $('html, body').animate({
  26. scrollTop: '0px'
  27. },
  28. 1500);
  29. return false;
  30. });
  31. });
  32. </script>
  33.  
  34. <link rel="shortcut icon" href="{Favicon}">
  35.  
  36. <link href='http://fonts.googleapis.com/css?family=Quicksand:400,700' rel='stylesheet' type='text/css'>
  37. <link href='http://fonts.googleapis.com/css?family=Lato:300' rel='stylesheet' type='text/css'>
  38.  
  39. {block:IndexPage}
  40.  
  41. <script type="text/javascript"
  42. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  43.  
  44. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  45.  
  46. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  47. <script type="text/javascript">
  48. $(window).load(function () {
  49. var $content = $('#content');
  50. $content.masonry({itemSelector: '.entry'}),
  51. $content.infinitescroll({
  52. navSelector : 'div#pagination',
  53. nextSelector : 'div#pagination a#nextPage',
  54. itemSelector : '.entry',
  55. loading: {
  56. finishedMsg: '',
  57. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  58. },
  59. bufferPx : 600,
  60. debug : false,
  61. },
  62. // call masonry as a callback.
  63. function( newElements ) {
  64. var $newElems = $( newElements );
  65. $newElems.hide();
  66. // ensure that images load before adding to masonry layout
  67. $newElems.imagesLoaded(function(){
  68. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  69. {/block:IndexPage}
  70.  
  71. <meta name="color:background" content="#ffffff" />
  72. <meta name="color:text" content="#000000" />
  73. <meta name="color:title" content="#ffffff" />
  74. <meta name="color:link" content="#828282" />
  75. <meta name="color:link hover" content="#ebebeb" />
  76. <meta name="color:scrollbar" content="#a3a3a3" />
  77. <meta name="color:header" content="#000000">
  78. <meta name="color:description" content="#ffffff">
  79. <meta name="color:post background" content="#ffffff">
  80. <meta name="color:perma background" content="#ebebeb">
  81. <meta name="color:post border" content="#a3a3a3">
  82.  
  83.  
  84. <meta name="if:long description" content="0">
  85. <meta name="if:post border" content="0">
  86.  
  87. <meta name="text:reblog" content="reblog">
  88. <meta name="text:home" content="home">
  89. <meta name="text:message" content="message">
  90. <meta name="text:archive" content="archive">
  91.  
  92.  
  93. <style type="text/css">
  94.  
  95.  
  96. ::-webkit-scrollbar {width: 5px; height: 0px; background:transparent;}
  97. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:5px;}
  98.  
  99. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  100.  
  101. body {
  102. background-color: {color:background};
  103. margin:0;
  104. font-size:12px;
  105. font-family:lato;
  106. line-height:14px;
  107. text-transform:none;
  108. color: {color:text};
  109. }
  110.  
  111. .speclink{
  112. word-spacing:1px;
  113. }
  114.  
  115. .answer{
  116. }
  117. .answer img {
  118. width:250px;
  119. height:auto;
  120. {block:permalinkpage}
  121. width:auto;
  122. height:auto;
  123. {/block:permalinkpage}
  124. }
  125.  
  126. a {
  127. text-decoration:none;
  128. color:{color:link};
  129. -webkit-transition: all 0.4s linear;
  130. -moz-transition: all 0.4s linear;
  131. transition: all 0.4s linear;
  132. }
  133.  
  134. a:link, a:active, a:visited{
  135. color: {color:link};
  136. }
  137.  
  138. a:hover{
  139. color: {color:link hover};
  140. }
  141.  
  142. #head {
  143. z-index:9999999999999999999999999999999999999999999999;
  144. position:fixed;
  145. font-family:century gothic;
  146. text-transform:none;
  147. background-color:{color:header};
  148. margin-left:0px;
  149. margin-top:-100px;
  150. opacity:0.8;
  151. width:100%;
  152. text-align:center;
  153. }
  154.  
  155. .blogtitle {
  156. font-family:quicksand;
  157. font-weight:bold;
  158. font-size:60px;
  159. line-height:70px;
  160. color:{color:title};
  161. }
  162.  
  163.  
  164. #center{
  165. margin-top:100px;
  166. {block:iflongdescription}
  167. margin-top:272px;
  168. {/block:iflongdescription}
  169. margin-left: 0px;
  170. width: 100%;
  171. }
  172.  
  173. #content {
  174. position: absolute;
  175. width:1080px;
  176. left:50%;
  177. margin-left:-600px;
  178. background-color:{color:post background};
  179. float:center;
  180. }
  181.  
  182. .entry{
  183. margin:10px;
  184. padding:0px;
  185. {block:ifpostborder}
  186. padding:3px;
  187. margin:5px;
  188. border:2px solid {color:post border};
  189. {/block:ifpostborder}
  190. float:left;
  191. height:auto;
  192. overflow:show;
  193. background-color: #trans;
  194. {block:IndexPage}
  195. width:250px;
  196. {/block:IndexPage}
  197. {block:PermalinkPage}
  198. width:450px;
  199. height:auto;
  200. {/block:PermalinkPage}
  201. -moz-transition: all 0.4s ease-in-out;
  202. -webkit-transition: all 0.4s ease-in-out;
  203. -o-transition: all 0.4s ease-in-out;
  204. -ms-transition: all 0.4s ease-in-out;
  205. transition: all 0.4s ease-in-out;
  206. }
  207.  
  208. .title{
  209. font-family:quicksand;
  210. font-size:17px;
  211. line-height:19px;
  212. text-transform:uppercase;
  213. color: {color:text};
  214. font-weight:bold;
  215. }
  216.  
  217. blockquote{
  218. padding:0px 0px 0px 3px;
  219. margin:0px 0px 0px 2px;
  220. border-left: 2px solid #ddd;
  221. }
  222.  
  223. .perma{
  224. position:absolute;
  225. bottom:-20px;
  226. width:100%;
  227. height:25px;
  228. font-size:10px;
  229. text-transform:uppercase;
  230. text-align:center;
  231. line-height:25px;
  232. overflow:hidden;
  233. background:{color:perma background};
  234. border-bottom-left-radius:3px;
  235. border-bottom-right-radius:3px;
  236. overflow:hidden;
  237. opacity: 0;
  238. -webkit-transition: all 0.2s linear;
  239. -webkit-transition: all 0.2s linear;
  240. -moz-transition: all 0.2s linear;
  241. transition: all 0.2s linear;
  242. }
  243.  
  244. .entry:hover .perma{
  245. bottom:-12px;
  246. opacity:1;
  247. -webkit-transition: all 0.2s linear;
  248. -webkit-transition: all 0.2s linear;
  249. -moz-transition: all 0.2s linear;
  250. transition: all 0.2s linear;
  251. }
  252.  
  253. .entry:hover .permalink{
  254. line-height:10px;
  255. opacity:1;
  256. -webkit-transition: all 0.4s linear;
  257. -webkit-transition: all 0.4s linear;
  258. -moz-transition: all 0.4s linear;
  259. transition: all 0.4s linear;
  260. }
  261.  
  262. .permalink{
  263. font-family:lato;
  264. font-size:10px;
  265. line-height:0;
  266. text-transform:uppercase;
  267. text-align:right;
  268. opacity:0;
  269. -webkit-transition: all 0.4s linear;
  270. -webkit-transition: all 0.4s linear;
  271. -moz-transition: all 0.4s linear;
  272. transition: all 0.4s linear;
  273. }
  274.  
  275. .notess{
  276. height:500px;
  277. width:500px;
  278. overflow:scroll;
  279. }
  280. .notess img{
  281. display:none;
  282. }
  283. .permaside{
  284. position:absolute;
  285. width:500px;
  286. left:500px;
  287. top:20px;
  288. }
  289.  
  290. {CustomCSS}
  291. </style>
  292.  
  293. <title>{title}</title>
  294.  
  295. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  296.  
  297. </head>
  298. <body>
  299.  
  300. <div id="head">
  301. <a href="/"><span class="blogtitle">{Title}</span></a>
  302. <span id="nav">
  303. <br><center><a href="/">{text:home}</a>
  304. <a href="/ask">{text:message}</a>
  305. <a href="http://modernesse.tumblr.com">theme</a>
  306. {block:HasPages}{block:Pages}<a href="{URL}"><span class="speclink">{Label}</span></a> {/block:Pages}{/block:HasPages}
  307. </span>
  308. <br><div style="line-height:18px; color:{color:description}">{Description}</center></div>
  309. </div>
  310.  
  311. <div id="center">
  312. <div id="content">
  313. {block:Posts}
  314. <div class="entry">
  315.  
  316. {block:Text}
  317. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer">
  318. <div style="margin-left:1px;">{Body}</div></div>
  319. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  320. {/block:Text}
  321.  
  322. {block:Link}
  323. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  324. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  325. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  326. {block:Link}
  327.  
  328. {block:Photo}
  329. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width="250px"/></a></div>{LinkCloseTag}
  330. <div class="perma">
  331. <a href="{Permalink}">{NoteCountwithLabel}</a> | <a href="{ReblogURL}" target="_blank">{text:reblog}</a><br>
  332. </div>
  333. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=450px/>{LinkCloseTag}{/block:PermalinkPage}
  334. {/block:Photo}
  335.  
  336. {block:Photoset}
  337. <center>
  338. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  339. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  340. </center>
  341. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  342. {/block:IndexPage}
  343. {/block:Photoset}
  344.  
  345. {block:Quote}
  346. <div style="margin-left:3px;">
  347. <span class="title">{Quote}</span><br>{Source}
  348. </div>
  349. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  350. {/block:Quote}
  351.  
  352. {block:Chat}
  353. <div style="margin-left:3px;">
  354. {block:Title}<span class="title">{Title}</span>{/block:Title}
  355. <ul class="chat">
  356. {block:Lines}
  357. <li class="user_{UserNumber}">
  358. {block:Label}
  359. <span class="label">{Label}</span>
  360. {/block:Label}
  361. {Line}
  362. </li>
  363. {/block:Lines}
  364. </ul>
  365. </div>
  366. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  367. {/block:Chat}
  368.  
  369. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  370. <center>{AudioPlayerBlack}
  371. {block:Caption}{Caption}{/block:Caption}</center>
  372. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  373. {/block:Audio}
  374.  
  375. {block:Answer}<img src="{AskerPortraitURL-24}" align="left" z-index: 1; style="padding:2px;"/> {Asker} asked: <br><i>{Question}</i><br><br><div class="answer">{Answer}</div>
  376. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  377. {/block:Answer}
  378.  
  379. {block:Video}
  380. {block:IndexPage}
  381. <center>
  382. {Video-250}</center>
  383. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  384. {/block:IndexPage}
  385. {block:PermalinkPage}
  386. <center>
  387. {Video-500}</center>
  388. {/block:PermalinkPage}
  389. {block:Video}
  390.  
  391. {block:PermalinkPage}
  392.  
  393. <div class="permaside">
  394. {block:PostNotes}
  395. {block:Caption}{Caption}{/block:caption}
  396. <img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {block:NoteCount}{NoteCountwithLabel}{/block:NoteCount}<br>
  397. <img src="http://static.tumblr.com/twte3d7/xn4lo2lba/clock_8x8.png"> {Timeago}<br>
  398. <div class="notess">{PostNotes}</div>{/block:PostNotes}
  399. </div>
  400.  
  401. {/block:PermalinkPage}
  402.  
  403. </div>
  404.  
  405. {/block:Posts}
  406.  
  407. {block:IndexPage}
  408. {block:Pagination}
  409. <div id="pagination">
  410. {block:NextPage}
  411. <a id="nextPage" href="{NextPage}"></a>
  412. {/block:NextPage}
  413. {block:PreviousPage}
  414. <a href="{PreviousPage}"></a>
  415. {/block:PreviousPage}
  416. </div>
  417. {/block:Pagination}
  418. {/block:IndexPage}
  419. </div>
  420.  
  421. <a id="scrlTop" title="Top" href="#" style="position: fixed; bottom: 5px; right: 30px;"><img src="http://static.tumblr.com/j1tjexd/uSOm6ujd1/totop-grey.png" width="40px"></a>
  422.  
  423.  
  424. </body>
  425. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement