Advertisement
imperialthemes

Φ Theme

Jun 12th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.69 KB | None | 0 0
  1. <!--
  2. Φ Theme ✦ Phi Theme
  3. main blog: oasal.tumblr.com
  4. theme blog: imperialthemes.tumblr.com
  5.  
  6. ✦ The Phi theme is a 250px two
  7. ___ ___ ✦ column grid theme that is clean
  8. / \ /\ / /\ | ✦ and very functional. It has a
  9. | | / \ \___ / \ | ✦ unique header along with simple
  10. | | /----\ \ /----\ | ✦ header links that are customizable.
  11. \___/ / \ ___/ / \ |___ ✦ It has many color choices and four
  12. ✦ custom links. Please contact me if
  13. ✦ you are using this theme!
  14. -->
  15.  
  16. <head>
  17.  
  18. <script type="text/javascript"
  19. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  20. <link href='http://fonts.googleapis.com/css?family=Unica+One' rel='stylesheet' type='text/css'>
  21.  
  22. <meta name="color:Background" content="#ffffff"/>
  23. <meta name="color:Text" content="#130C11"/>
  24. <meta name="color:Links" content="#97cde7"/>
  25. <meta name="color:Hover" content="#c1f0dc"/>
  26. <meta name="color:Header Borders" content="#eeeeee"/>
  27. <meta name="color:Borders" content="#dddddd"/>
  28. <meta name="color:Header Links" content="#dddddd"/>
  29. <meta name="color:Header Links Hover" content="#aaaaaa"/>
  30. <meta name="color:Header Links Borders Hover" content="#97cde7"/>
  31. <meta name="image:Background" content="0"/>
  32. <meta name="image:Header Image" content="0" />
  33. <meta name="if:White Follow Button" content="1"/>
  34. <meta name="if:Image Opacity" content="1"/>
  35. <meta name="if:Full Screen Background" content=""/>
  36. <meta name="text:Link One Title" content="" />
  37. <meta name="text:Link One" content="" />
  38. <meta name="text:Link Three Title" content="" />
  39. <meta name="text:Link Three" content="" />
  40. <meta name="text:Link Two Title" content="" />
  41. <meta name="text:Link Two" content="" />
  42.  
  43.  
  44. <script type="text/javascript"
  45. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  46.  
  47. <style type="text/css">
  48.  
  49. iframe#tumblr_controls {
  50. right:3px !important;
  51. position: fixed !important;
  52. {block:ifWhiteFollowButton}
  53. opacity:.4;
  54. white-space:nowrap;
  55. -webkit-filter:invert(100%);
  56. {/block:ifWhiteFollowButton}
  57. {block:ifnotWhiteFollowButton}
  58. opacity:.8;
  59. {/block:ifnotWhiteFollowButton}
  60. }
  61.  
  62. ::-webkit-scrollbar-thumb{
  63. background-color: #000;
  64. border: 2px solid #fff;
  65. height:auto;
  66. -moz-border-radius: 10px;
  67. border-radius: 10px;
  68. }
  69.  
  70. ::-webkit-scrollbar {
  71. height:auto;
  72. width:9px;
  73. background-color: #000;
  74. border: 4px solid #fff;
  75. }
  76.  
  77. #content {
  78. width:100%;
  79. }
  80.  
  81. body {
  82. padding: 0px;
  83. margin: 0px;
  84. color:{color:text};
  85. font-family:cambria;
  86. font-size: 11px;
  87. line-height:13px;
  88. background-color: {color:Background};
  89. background-image:url({image:Background});
  90. background-attachment: fixed;
  91. background-repeat: repeat;
  92. }
  93.  
  94. a {
  95. color:{color:Links};
  96. -webkit-transition-duration:1s;text-decoration:none;font-weight:none;
  97. }
  98.  
  99. a:hover {
  100. color:{color:Hover};
  101. text-decoration: none;
  102. }
  103.  
  104. #all {
  105. background:transparent;
  106. display:block;
  107. width:540px;
  108. padding-left:0px;
  109. margin-left:auto;
  110. margin-right:auto;
  111. height:100%;
  112. z-index:-1;
  113. margin-top:-10px;
  114. padding-top:25px;
  115. }
  116.  
  117. .entry {
  118. margin:10px;
  119. background:transparent;
  120. {block:IndexPage}
  121. width:250px;
  122. {/block:IndexPage}
  123. {block:PermalinkPage}
  124. width:400px;
  125. {/block:PermalinkPage}
  126. }
  127.  
  128. {block:IndexPage}
  129. {block:ifImageOpacity}
  130. .entryimg {opacity:.8;-webkit-transition-duration:1s;}
  131. .entry:hover .entryimg {opacity:1;-webkit-transition-duration:1s;}
  132. {/block:ifImageOpacity}
  133. {/block:IndexPage}
  134.  
  135. #all .entry .perma {
  136. width:256px;
  137. bottom:-5px;
  138. left:-5px;
  139. font-family:consolas;
  140. font-size:10px;
  141. text-transform:uppercase;
  142. line-height:20px;
  143. opacity:0;
  144. position:absolute;
  145. z-index:999;
  146. text-align:center;
  147. -webkit-filter:blur(5px);
  148. height:25px;
  149. padding:5px 0px 5px 0px;
  150. -moz-transition: all 1s ease-in-out;
  151. -o-transition: all 1s ease-in-out;
  152. transition: all 1s ease-in-out;
  153. -webkit-transition: all 1s ease-in-out;
  154. -webkit-transition-duration: 1s;
  155. background:{color:Background};
  156. }
  157. #all .entry:hover .perma {
  158. opacity:.9;
  159. -webkit-filter:blur(0px);
  160. -moz-transition: all .8s ease-in-out;
  161. -o-transition: all .8s ease-in-out;
  162. transition: all .8s ease-in-out;
  163. -webkit-transition: all .8s ease-in-out;
  164. -webkit-transition-duration: .8s;
  165. }
  166.  
  167. .perm a {color:#ddd;text-decoration:underline;}
  168. .perm {
  169. display: block;
  170. margin-top: 3px;
  171. font-family:times new roman;
  172. font-size: 10px;
  173. line-height: 10px;
  174. text-align:center;
  175. text-transform: uppercase;
  176. }
  177.  
  178. #content #posts {
  179. width:540px;
  180. margin-top:40px;
  181. {block:PermalinkPage}
  182. margin-left:230px;
  183. {/block:PermalinkPage}
  184. }
  185.  
  186. #all .sidebar {
  187. width:120px;
  188. height:120px;
  189. padding:15px;
  190. margin-left:284px;
  191. background:{color:Header Borders};
  192. }
  193. #all .description {
  194. margin-left:95px;
  195. text-align:right;
  196. position:absolute;
  197. width:160px;
  198. height:150px;
  199. margin-top:-160px;
  200. font-size:11px;
  201. padding:15px 12px 15px 0px;
  202. background:transparent;
  203. border-right:5px solid {color:Header Borders};
  204. }
  205. #all .description #links {
  206. bottom:15px;
  207. position:absolute;
  208. }
  209. #all .description .links {
  210. width: 69px;
  211. height: 18px;
  212. font-family:tinytots;
  213. margin:3px;
  214. text-transform:uppercase;
  215. font-size:9px;
  216. line-height:20px;
  217. border:solid 1px transparent;
  218. background:{color:Header Links};
  219. text-align:center;
  220. display:inline-block;
  221. -moz-transition: all .7s ease-in-out;
  222. -o-transition: all .7s ease-in-out;
  223. transition: all .7s ease-in-out;
  224. -webkit-transition: all .7s ease-in-out;
  225. -webkit-transition-duration: .7s;
  226. }
  227. #all .description .links:hover {
  228. border:1px solid {color:Header Link Borders Hover};
  229. background:{color:Header Links Hover};
  230. -moz-transition: all .7s ease-in-out;
  231. -o-transition: all .7s ease-in-out;
  232. transition: all .7s ease-in-out;
  233. -webkit-transition: all .7s ease-in-out;
  234. -webkit-transition-duration: .7s;
  235. }
  236. @font-face {font-family: "tinytots";src: url('http://static.tumblr.com/rmj06l2/Usellxb4i/tinytots.ttf');}
  237.  
  238. @font-face {font-family: our tune; src: url('http://static.tumblr.com/fxpo5zq/oefmes3gi/cedarville_pnkfun_1_cursive.ttf');}
  239.  
  240. .blogtitle {
  241. font-family:Our Tune;
  242. font-size:30px;
  243. line-height:40px;
  244. }
  245.  
  246. #infscr-loading {
  247. display:none;
  248. }
  249.  
  250. blockquote{
  251. padding:0px 0px 2px 5px;
  252. margin:0px 0px 2px 5px;
  253. border-left:1px solid #000;
  254. }
  255.  
  256. .title {
  257. font-size:14px;
  258. line-height: 14px;
  259. font-family:Georgia;
  260. }
  261.  
  262. .quote{
  263. font-size: 26px;
  264. float: left;
  265. margin-top: 0px;
  266. padding-right:8px;
  267. color: #BDBDBD;
  268. }
  269.  
  270. ul.chat {
  271. margin: 0;
  272. padding: 0;
  273. }
  274.  
  275. .chat li {
  276. list-style-type: none;
  277. margin-left: 0px;
  278. padding: 2px;
  279. }
  280.  
  281. .chat li.odd {
  282. margin-bottom: 3px;
  283. background-color:#eee;
  284. color: #888;
  285. }
  286.  
  287. .chat li.even {
  288. margin-bottom: 3px;
  289. background-color:#fff;
  290. color: #000;
  291. }
  292.  
  293. .label {
  294. font-weight: bold;
  295. }
  296.  
  297. td{
  298. width:250px;
  299. }
  300.  
  301. ol.notes{
  302. margin:25px 0px;
  303. border-bottom:1px solid #eee;
  304. padding:5px;
  305. list-style-type:none;
  306. }
  307.  
  308. ol.notes li.note{
  309. border-bottom:1px solid #eee;
  310. padding:5px;
  311. }
  312.  
  313. .credit {
  314. position:fixed;
  315. z-index:999;
  316. bottom:0px;
  317. right:0px;
  318. padding:7px;
  319. font-size:40px;
  320. line-height:40px;
  321. }
  322.  
  323. #audio {width:300px; height:auto; height:90px; padding-bottom:13px;}
  324. .cover {position:absolute; z-index:1; width:60px; height:60px;}
  325. .cover img {float:left; width:100px; height:100px;}
  326. .playbox {opacity:0.6; width:27px; height:30px; overflow:hidden; position:absolute; z-index:1000; margin-left:38px; margin-top:37px; text-align:center;-moz-transition: all .7s ease-in-out; -o-transition: all .7s ease-in-out; transition: all .7s ease-in-out; -webkit-transition: all .7s ease-in-out;-webkit-transition-duration: .7s;}
  327. .playbox:hover {opacity:.8;-moz-transition: all .7s ease-in-out; -o-transition: all .7s ease-in-out; transition: all .7s ease-in-out; -webkit-transition: all .7s ease-in-out;-webkit-transition-duration: .7s;}
  328. .info {margin-left:108px; width: 170px;margin-top:18px; line-height:16px;position:absolute;}
  329.  
  330. </style>
  331.  
  332. <style>
  333. .my-like {
  334. text-align:center;
  335. cursor:pointer;
  336. -webkit-transition-duration:1s;
  337. color:{color:Links};
  338. }
  339. .my-liked, .my-like:hover {
  340. color:#ff0000;
  341. cursor:pointer;
  342. }
  343. </style>
  344. <script>
  345. window.onload = function () {
  346. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  347. document.addEventListener( 'click', function ( event ) {
  348. var myLike = event.target;
  349. if( myLike.className.indexOf( 'my-like' ) > -1 ) {
  350. var frame = document.getElementById( 'my-like-frame' ),
  351. liked = ( myLike.className == 'my-liked' ),
  352. command = liked ? 'unlike' : 'like',
  353. reblog = myLike.getAttribute( 'data-reblog' ),
  354. id = myLike.getAttribute( 'data-id' ),
  355. oauth = reblog.slice( -8 );
  356. frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
  357. liked ? myLike.className = 'my-like' : myLike.className = 'my-liked';
  358. };
  359. }, false );
  360. };
  361. </script>
  362.  
  363. {block:IndexPage}
  364. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  365. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  366.  
  367. <script type="text/javascript">
  368. $(window).load(function () {
  369. var $content = $('#posts');
  370. $content.masonry({itemSelector: '.entry'}),
  371. $content.infinitescroll({
  372. navSelector : 'div#pagination',
  373. nextSelector : 'div#pagination a#nextPage',
  374. itemSelector : '.entry',
  375. loading: {
  376. finishedMsg: '',
  377. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  378. },
  379. bufferPx : 600,
  380. debug : false,
  381. },
  382. // call masonry as a callback.
  383. function( newElements ) {
  384. var $newElems = $( newElements );
  385. $newElems.hide();
  386. // ensure that images load before adding to masonry layout
  387. $newElems.imagesLoaded(function(){
  388. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  389.  
  390.  
  391. });
  392. });
  393. });
  394. </script>
  395.  
  396. {/block:IndexPage}
  397.  
  398. <title>{Title}</title>
  399.  
  400. <link rel="shortcut icon" href="{Favicon}">
  401. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  402. <meta name="viewport" content="width=820" />
  403.  
  404. </head>
  405. <body>
  406.  
  407. <div class="credit"><a href="http://oasal.tumblr.com"><img src="http://static.tumblr.com/cs9z8nu/fkDmbyfvp/tumblr_mbao3b14mh1rux83o.gif" width=25px></a></div>
  408.  
  409. <div id="content">
  410. <div id="all">
  411. <div id="header">
  412. <div class="sidebar">
  413. <a href="/"><img src="{image:Header Image}" style="width:120px;height:120px;"></img></a>
  414. </div>
  415. <div class="description">
  416. <a href="/" class="blogtitle">{Title}</a><br />
  417. {description}
  418. <div id="links"><a href="/ask" class="links">inbox</a>
  419. {block:ifLinkOneTitle}<a href="{text:Link One}" class="links">{text:Link One Title}</a>{/block:ifLinkOneTitle}<br />
  420. {block:ifLinkTwoTitle}<a href="{text:Link Two}" class="links">{text:Link Two Title}</a>{/block:ifLinkTwoTitle}
  421. {block:ifLinkThreeTitle}<a href="{text:Link Three}" class="links">{text:Link Three Title}</a>{/block:ifLinkThreeTitle}</div>
  422. </div>
  423. </div>
  424.  
  425. <div class="left">
  426.  
  427. <div id="posts">
  428.  
  429. {block:Posts}
  430. <div class="entry">
  431.  
  432. {block:Answer}
  433. "{Question}"
  434. {Answer}
  435. Asked by {asker}
  436. {block:IndexPage}
  437. <div class="perm">
  438. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  439. {/block:IndexPage}
  440. {/block:Answer}
  441.  
  442. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}
  443. {Body}
  444. {block:IndexPage}
  445. <div class="perm">
  446. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  447. {/block:IndexPage}
  448. {/block:text}
  449.  
  450. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}{Description}{/block:Description}
  451. {block:IndexPage}
  452. <div class="perm">
  453. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  454. {/block:IndexPage}
  455. {/block:link}
  456.  
  457. {block:Photo}
  458. {block:IndexPage}
  459. <div class="perma">
  460. <i><a href="{ReblogURL}" target="_blank">reblog</a></i> ✦
  461. <i><span class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">like</span></i> ✦
  462. <i><a href="{Permalink}">{NoteCountWithLabel}</a></i>
  463. </div>
  464. {/block:IndexPage}
  465. {block:IndexPage}
  466. <a href="{permalink}"><img src="{PhotoURL-HighRes}" width="250px" class="entryimg"/></a>
  467. {/block:IndexPage}
  468. {block:PermalinkPage}
  469. <center>{LinkOpenTag}<a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=400px/></a>{LinkCloseTag}</center>
  470. {/block:PermalinkPage}
  471. {/block:Photo}
  472.  
  473. {block:Photoset}
  474. {block:IndexPage}
  475. <center>
  476. {Photoset-250}</center>
  477. {/block:IndexPage}
  478. {block:PermalinkPage}
  479. <center>
  480. {Photoset-500}</center>
  481. {/block:PermalinkPage}
  482. {block:IndexPage}
  483. <div class="perm">
  484. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  485. {/block:IndexPage}
  486. {/block:Photoset}
  487.  
  488. {block:Quote}
  489. <div class="quote">❝</div>{Quote}
  490. <div align="right">{block:Source}{Source}{/block:Source}</div>
  491. {block:IndexPage}
  492. <div class="perm">
  493. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  494. {/block:IndexPage}
  495. {/block:Quote}
  496.  
  497. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  498. <ul class="chat">{block:Lines}<li class="{Alt} user_{UserNumber}"> {block:Label} <span class="label">{Label}</span> {/block:Label}{Line}</li>{/block:Lines}
  499. {block:IndexPage}
  500. <div class="perm">
  501. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  502. {/block:IndexPage}
  503. {/block:Chat}
  504.  
  505. {block:Audio}
  506. {block:IndexPage}
  507. <div id="audio"><div class="cover"><img src="http://static.tumblr.com/k9utpfa/tcom8wpif/default_cover_m.jpg"></div>
  508. {block:AlbumArt}
  509. <div class="cover"><img src="{AlbumArtURL}"></div>
  510. {/block:AlbumArt}
  511. <div class="playbox">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div>
  512. <div class="info"><b>Artist:</b> <span{block:Artist} style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
  513. <b>Title:</b> <span{block:TrackName} style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
  514. <b>Album:</b> <span{block:Album} style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}{block:PlayCount}<br>
  515. <b>Plays:</b> {FormattedPlayCount}{/block:PlayCount}</div></div>
  516. <div class="perm">
  517. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  518. {/block:IndexPage}
  519. {block:PermalinkPage}
  520. <div id="album">{block:AlbumArt}<img width="500px" src="{AlbumArtURL}"/>{/block:AlbumArt}</div>
  521. <div id="player"><div style="margin-top:-3px;margin-bottom:20px;">{AudioPlayerGrey}</div></div>
  522.  
  523. {/block:PermalinkPage}
  524. {/block:Audio}
  525.  
  526. {block:Video}
  527. {block:IndexPage}
  528. <center>
  529. {Video-250}</center>
  530. {/block:IndexPage}
  531. {block:PermalinkPage}
  532. <center>
  533. {Video-500}</center>
  534. {/block:PermalinkPage}
  535. {block:IndexPage}
  536. <div class="perm">
  537. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  538. {/block:IndexPage}
  539. {block:Video}
  540.  
  541. {block:PermalinkPage}
  542. <center>
  543. <br>{block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}{/block:hasTags}
  544.  
  545. </center>
  546.  
  547. {/block:PermalinkPage}
  548.  
  549. {block:PostNotes}{PostNotes}
  550. {/block:PostNotes}
  551.  
  552. </div>
  553.  
  554.  
  555. {/block:Posts}
  556. </div>
  557. </div>
  558. {block:IndexPage}
  559. {block:Pagination}
  560. <div id="pagination">
  561. {block:NextPage}
  562. <a id="nextPage" href="{NextPage}">&nbsp;&rarr;</a>
  563. {/block:NextPage}
  564. {block:PreviousPage}
  565. <a href="{PreviousPage}">&larr;&nbsp;</a>
  566. {/block:PreviousPage}
  567. </div>
  568. {/block:Pagination}
  569. {/block:IndexPage}
  570. </div>
  571. </div>
  572.  
  573. <script type="text/javascript" src="http://static.tumblr.com/j1tjexd/A33m6pdi7/like_script.js"></script>
  574. <script type="text/javascript" src="http://static.tumblr.com/uiqhh9x/UYAm6i0bc/like.js"></script>
  575. <iframe id="likeiframe" style="display:none;"></iframe>
  576. </body>
  577. </html>
  578.  
  579. <!-- END HTML AND THANK YOU FOR CHOOSING IMPERIAL THEMES -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement