Advertisement
ogaraster

Riviera Theme

Jun 2nd, 2013
65,427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.05 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <!--
  5.  
  6. Riviera Theme brought to you by Atlas Designs
  7. http://atlasdesigns.co
  8.  
  9. Do not remove credits unless given permission to do so.
  10.  
  11. -->
  12.  
  13. <head>
  14.  
  15. <title>{Title}</title>
  16. <link rel="shortcut icon" href="{Favicon}">
  17. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  18. {block:Description}
  19. <meta name="description" content="{MetaDescription}" />
  20. {/block:Description}
  21.  
  22. <link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
  23. <link href='http://fonts.googleapis.com/css?family=Lobster+Two|Handlee|Satisfy' rel='stylesheet' type='text/css'></script>
  24.  
  25. {block:IndexPage}
  26.  
  27. <script type="text/javascript"
  28. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  29.  
  30. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  31.  
  32. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  33. <script type="text/javascript">
  34. $(window).load(function () {
  35. var $content = $('#content');
  36. $content.masonry({itemSelector: '.entry'}),
  37. $content.infinitescroll({
  38. navSelector : 'div#pagination',
  39. nextSelector : 'div#pagination a#nextPage',
  40. itemSelector : '.entry',
  41. loading: {
  42. finishedMsg: '',
  43. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  44. },
  45. bufferPx : 600,
  46. debug : false,
  47. },
  48. // call masonry as a callback.
  49. function( newElements ) {
  50. var $newElems = $( newElements );
  51. $newElems.hide();
  52. // ensure that images load before adding to masonry layout
  53. $newElems.imagesLoaded(function(){
  54. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  55. {/block:IndexPage}
  56.  
  57. <meta name="color:background" content="#ffffff" />
  58. <meta name="color:text" content="#000000" />
  59. <meta name="color:title" content="#ffffff" />
  60. <meta name="color:link" content="#828282" />
  61. <meta name="color:link hover" content="#ebebeb" />
  62. <meta name="color:scrollbar" content="#828282" />
  63. <meta name="color:header border" content="#f0f0f0">
  64. <meta name="color:post background" content="#f0f0f0">
  65.  
  66. <meta name="if:show banner" content="0">
  67. <meta name="if:post background" content="0">
  68. <meta name="if:two columns" content="0">
  69. <meta name="if:show captions" content="0">
  70.  
  71. <meta name="if:title font one" content="0">
  72. <meta name="if:title font two" content="0">
  73. <meta name="if:title font three" content="0">
  74.  
  75. <meta name="text:reblog" content="reblog">
  76. <meta name="text:home" content="refresh">
  77. <meta name="text:message" content="message">
  78. <meta name="text:archive" content="archive">
  79. <meta name="text:post top margin" content="160px">
  80.  
  81. <meta name="image:background" content="" />
  82. <meta name="image:header" content="">
  83. <meta name="image:banner" content="">
  84.  
  85. <style type="text/css">
  86.  
  87.  
  88. ::-webkit-scrollbar {width: 7px; height: 0px; background:{color:background};}
  89. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  90.  
  91. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  92.  
  93. body {
  94. background-color: {color:background};
  95. background-image:url({image:Background});
  96. background-attachment: fixed;
  97. background-repeat: repeat;
  98. font-size:12px;
  99. font-family:Montserrat;
  100. line-height:14px;
  101. text-transform:none;
  102. color: {color:text};
  103. }
  104.  
  105. #header{
  106. position:absolute;
  107. top:10px;
  108. padding-top:7px;
  109. padding-bottom:12px;
  110. width:700px;
  111. left:50%;
  112. margin-left:-350px;
  113. text-align:center;
  114. z-index:999;
  115. }
  116.  
  117. .blogtitle{
  118. padding-left:50px;
  119. padding-right:50px;
  120. font-weight:100;
  121. font-size:46px;
  122. line-height:48px;
  123. letter-spacing:5px;
  124. text-transform:uppercase;
  125. color:{color:title};
  126.  
  127. {block:iftitlefontone}
  128. font-family: Lobster Two;
  129. letter-spacing:0px;
  130. text-transform:none;
  131. {/block:iftitlefontone}
  132. {block:iftitlefonttwo}
  133. font-family: satisfy;
  134. letter-spacing:0px;
  135. text-transform:none;
  136. {/block:iftitlefonttwo}
  137. {block:iftitlefontthree}
  138. font-family: handlee;
  139. letter-spacing:0px;
  140. text-transform:none;
  141. {/block:iftitlefontthree}
  142. }
  143.  
  144. .description{
  145. position:relative;
  146. top:30px;
  147. }
  148.  
  149. #nav{
  150. position:relative;
  151. top:10px;
  152. word-spacing:10px;
  153. border-top:1px solid {color:title};
  154. padding-top:7px;
  155. padding-left:11px;
  156. }
  157.  
  158. #nav a{
  159. font-size:11px;
  160. line-height:24px;
  161. padding-top:6px;
  162. text-transform:uppercase;
  163. display:inline;
  164. font-weight:700;
  165. }
  166.  
  167. #nav a:hover{
  168. color:{color:link hover};
  169. border-top:3px solid {color:link hover};
  170. }
  171.  
  172. .speclink{
  173. word-spacing:1px;
  174. }
  175.  
  176. .answer{
  177. }
  178. .answer img {
  179. width:330px;
  180. height:auto;
  181. {block:permalinkpage}
  182. width:auto;
  183. height:auto;
  184. {/block:permalinkpage}
  185. }
  186.  
  187. a {
  188. text-decoration:none;
  189. color:{color:link};
  190. }
  191.  
  192. a:link, a:active, a:visited{
  193. color: {color:link};
  194. }
  195.  
  196. a:hover{
  197. color: {color:link hover};
  198. }
  199.  
  200. #content {
  201. position: absolute;
  202. left:50%;
  203. width:1360px;
  204. margin-left:-680px;
  205. margin-top:{text:post top margin};
  206. {block:iftwocolumns}
  207. width:740px;
  208. margin-left:-370px;
  209. {/block:iftwocolumns}
  210. }
  211.  
  212. .entry{
  213. margin:3px;
  214. {block:ifshowcaptions}
  215. margin-bottom:8px;
  216. {/block:ifshowcaptions}
  217. padding:2px;
  218. float:center;
  219. height:auto;
  220. {block:ifpostbackground}
  221. background-color: {color:post background};
  222. {/block:ifpostbackground}
  223. {block:IndexPage}
  224. width:330px;
  225. {block:iftwocolumns}
  226. width:360px;
  227. {/block:iftwocolumns}
  228. overflow:hidden;
  229. {/block:IndexPage}
  230. {block:PermalinkPage}
  231. margin-left:200px;
  232. width:450px;
  233. height:auto;
  234. {/block:PermalinkPage}
  235. }
  236. {block:IndexPage}
  237. .entry img{
  238. width:100%;
  239. }
  240. {/block:IndexPage}
  241.  
  242. .title{
  243. text-transform:none;
  244. {block:iftitlefontone}
  245. font-family: Lobster Two;
  246. {/block:iftitlefontone}
  247. {block:iftitlefonttwo}
  248. font-family: satisfy;
  249. {/block:iftitlefonttwo}
  250. {block:iftitlefontthree}
  251. font-family: handlee;
  252. {/block:iftitlefontthree}
  253. font-size:17px;
  254. line-height:18px;
  255. color: {color:text};
  256. }
  257.  
  258. blockquote{
  259. padding:0px 0px 0px 3px;
  260. margin:0px 0px 0px 2px;
  261. border-left: 2px solid #ddd;
  262. }
  263.  
  264. .like_and_reblog_buttons {
  265. position:absolute;
  266. bottom:5px;
  267. left:-25px;
  268. list-style: none;
  269. opacity:0;
  270. -webkit-transition: all 0.2s linear;
  271. -webkit-transition: all 0.2s linear;
  272. -moz-transition: all 0.2s linear;
  273. transition: all 0.2s linear;
  274. }
  275. .entry:hover .like_and_reblog_buttons{
  276. opacity:.7;
  277. -webkit-transition: all 0.2s linear;
  278. -webkit-transition: all 0.2s linear;
  279. -moz-transition: all 0.2s linear;
  280. transition: all 0.2s linear;
  281. }
  282.  
  283. .like_and_reblog_buttons li {
  284. float: left;
  285. background-color:white;
  286. border-radius:100%;
  287. padding:10px;
  288. height:20px;
  289. width:20px;
  290. }
  291.  
  292. .like_and_reblog_buttons li:first-child {
  293. margin-right:8px;
  294. }
  295.  
  296. .permalink{
  297. font-size:10px;
  298. line-height:0;
  299. text-transform:uppercase;
  300. text-align:left;
  301. opacity:0;
  302. -webkit-transition: all 0.4s linear;
  303. -webkit-transition: all 0.4s linear;
  304. -moz-transition: all 0.4s linear;
  305. transition: all 0.4s linear;
  306. }
  307. .entry:hover .permalink{
  308. line-height:10px;
  309. opacity:1;
  310. -webkit-transition: all 0.4s linear;
  311. -webkit-transition: all 0.4s linear;
  312. -moz-transition: all 0.4s linear;
  313. transition: all 0.4s linear;
  314. }
  315.  
  316. .notess{
  317. position:absolute;
  318. left:700px;
  319. top:10px;
  320. height:450px;
  321. width:500px;
  322. overflow:scroll;
  323. }
  324. .notess img{
  325. border-radius:100%;
  326. }
  327. ol.notes {
  328. list-style-type: none;
  329. margin-top:20px;
  330. padding:0px;
  331. line-height:16px;
  332. }
  333.  
  334. .answerimg img{
  335. position:relative;
  336. top:11px;
  337. left:0px;
  338. height:30px;
  339. width:30px;
  340. border:3px solid {color:header border};
  341. }
  342.  
  343. .chat li{
  344. list-style-type:none;
  345. margin-left:-40px;
  346. line-height:16px;
  347. border-bottom:1px solid {color:title};
  348. }
  349.  
  350. {CustomCSS}
  351. </style>
  352.  
  353. </head>
  354. <body>
  355.  
  356. <header id="header">
  357. {block:ifnotshowbanner}<span class="blogtitle">{Title}</span>{/block:ifnotshowbanner}
  358. {block:ifshowbanner}<img src="{image:banner}" alt="{title}" height="100px">{/block:ifshowbanner}
  359. <span id="nav">
  360. <br><a href="/">{text:home}</a>
  361. <a href="/ask">{text:message}</a>
  362. <a href="/archive">{text:archive}</a>
  363. {block:HasPages}{block:Pages}<a href="{URL}"><span class="speclink">{Label}</span></a> {/block:Pages}{/block:HasPages}
  364. <a href="http://atlasdesigns.co/">theme</a>
  365. </span>
  366. <span class="description"><br>{Description}</span class="description">
  367. </header>
  368.  
  369. <div id="content">
  370. {block:Posts}
  371. <div class="entry">
  372.  
  373. {block:Text}
  374. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer"><hr width="30%" color="{color:title}">{Body}</div>
  375. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  376. {/block:Text}
  377.  
  378. {block:Link}
  379. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  380. <div class="answer">{block:Description}<hr width="30%" color="{color:title}">{Description}{/block:Description}</div>
  381. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  382. {block:Link}
  383.  
  384. {block:Photo}
  385. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" /></a></div>{LinkCloseTag}
  386.  
  387. <ul class="like_and_reblog_buttons">
  388. <li>{ReblogButton color="grey"}</li>
  389. <li>{LikeButton color="grey"}</li>
  390. </ul>
  391.  
  392. {block:ifshowcaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaptions}
  393. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=450px/>{LinkCloseTag}{/block:PermalinkPage}
  394. {/block:Photo}
  395.  
  396. {block:Photoset}
  397. <center>
  398. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  399. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  400. </center>
  401. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  402. {/block:IndexPage}
  403. {/block:Photoset}
  404.  
  405. {block:Quote}
  406. <div style="margin-left:3px;">
  407. <span class="title">{Quote}</span><br>{Source}
  408. </div>
  409. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  410. {/block:Quote}
  411.  
  412. {block:Chat}
  413. <div style="margin-left:3px;">
  414. {block:Title}<span class="title">{Title}</span>{/block:Title}
  415. <ul class="chat">
  416. {block:Lines}
  417. <li class="user_{UserNumber}">
  418. {block:Label}
  419. <span class="label">{Label}</span>
  420. {/block:Label}
  421. {Line}
  422. </li>
  423. {/block:Lines}
  424. </ul>
  425. </div>
  426. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  427. {/block:Chat}
  428.  
  429. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  430. <center>{AudioPlayerBlack}
  431. {block:Caption}{Caption}{/block:Caption}</center>
  432. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  433. {/block:Audio}
  434.  
  435. {block:Answer}<center><span class="answerimg"><img src="{AskerPortraitURL-30}"></span><br><br>{Asker} asked: <i>{Question}</i></center><div class="answer">{Answer}</div>
  436. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  437. {/block:Answer}
  438.  
  439. {block:Video}
  440. {block:IndexPage}
  441. <center>
  442. {Video-250}</center>
  443. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  444. {/block:IndexPage}
  445. {block:PermalinkPage}
  446. <center>
  447. {Video-500}</center>
  448. {/block:PermalinkPage}
  449. {block:Video}
  450.  
  451. {block:PermalinkPage}
  452. {block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  453. {/block:PermalinkPage}
  454.  
  455. {block:PostNotes}
  456. <div class="notess">{block:Caption}{Caption}{/block:Caption}
  457. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}
  458. <br>{PostNotes}</div>
  459. {/block:PostNotes}
  460. </div>
  461.  
  462. {/block:Posts}
  463.  
  464. {block:IndexPage}
  465. {block:Pagination}
  466. <div id="pagination">
  467. {block:NextPage}
  468. <a id="nextPage" href="{NextPage}"></a>
  469. {/block:NextPage}
  470. {block:PreviousPage}
  471. <a href="{PreviousPage}"></a>
  472. {/block:PreviousPage}
  473. </div>
  474. {/block:Pagination}
  475. {/block:IndexPage}
  476. </div>
  477.  
  478. <script>
  479. window.onload = function () {
  480. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  481. document.addEventListener( 'click', function ( event ) {
  482. var myLikeLink = event.target;
  483. if( myLikeLink.className.indexOf( 'my-like' ) > -1 ) {
  484. var myLikeFrame = document.getElementById( 'my-like-frame' ),
  485. liked = ( myLikeLink.className == 'my-liked' ),
  486. command = liked ? 'unlike' : 'like',
  487. reblog = myLikeLink.getAttribute( 'data-reblog' ),
  488. postId = myLikeLink.getAttribute( 'data-id' ),
  489. oauth = reblog.slice( -8 ),
  490. likeUrl = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + postId;
  491. myLikeFrame.src = likeUrl;
  492. liked ? myLikeLink.className = 'my-like'
  493. : myLikeLink.className = 'my-liked';
  494. };
  495. }, false );
  496. };
  497. </script>
  498.  
  499. <div style="position:absolute;z-index:99999999999999999999999999999999999; !important;top:24px;right:3px;-webkit-filter:invert(100%);"><a href="http://atlasdesigns`.tumblr.com/"><img src="http://static.tumblr.com/2w7y46r/wuvmba8c2/installtheme.png"></a></div>
  500.  
  501. </body>
  502. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement