Advertisement
imperialthemes

Ω Theme

Apr 7th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.31 KB | None | 0 0
  1. <!--
  2. Ω Theme ✦ Omega Theme
  3. main blog: oasal.tumblr.com
  4. theme blog: imperialthemes.tumblr.com
  5.  
  6. ✦ The Omega theme is a 300px one
  7. ___ ___ ✦ column grid theme that is very
  8. / \ /\ / /\ | ✦ simple. It sports a unique sidebar
  9. | | / \ \___ / \ | ✦ beautiful posts, and a standard
  10. | | /----\ \ /----\ | ✦ permalinks. It also includes many
  11. \___/ / \ ___/ / \ |___ ✦ color choices and up to three custom
  12. ✦ links. Contact me if you are using
  13. ✦ 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:Sidebar" content="#eeeeee"/>
  27. <meta name="color:Hoverbars" content="#dddddd"/>
  28. <meta name="color:Borders" content="#dddddd"/>
  29. <meta name="image:Background" content="0"/>
  30. <meta name="if:White Follow Button" content="1"/>
  31. <meta name="if:Image Opacity" content="1"/>
  32. <meta name="if:Full Screen Background" content=""/>
  33. <meta name="text:Link One Title" content="" />
  34. <meta name="text:Link One" content="" />
  35. <meta name="text:Link Two Title" content="" />
  36. <meta name="text:Link Two" content="" />
  37. <meta name="text:Link Three Title" content="" />
  38. <meta name="text:Link Three" content="" />
  39.  
  40. <script type="text/javascript"
  41. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  42.  
  43. <style type="text/css">
  44.  
  45. iframe#tumblr_controls {
  46. right:3px !important;
  47. position: fixed !important;
  48. opacity:.4;
  49. {block:ifWhiteFollowButton}
  50. white-space:nowrap;
  51. -webkit-filter:invert(100%);
  52. {/block:ifWhiteFollowButton}
  53. }
  54.  
  55. ::-webkit-scrollbar-thumb{
  56. background-color: #000;
  57. border: 2px solid #fff;
  58. height:auto;
  59. -moz-border-radius: 10px;
  60. border-radius: 10px;
  61. }
  62.  
  63. ::-webkit-scrollbar {
  64. height:auto;
  65. width:9px;
  66. background-color: #000;
  67. border: 4px solid #fff;
  68. }
  69.  
  70. #content {
  71. width:100%;
  72. }
  73.  
  74. body {
  75. padding: 0px;
  76. margin-left: 0px;
  77. color:{color:text};
  78. font-family:cambria;
  79. font-size: 12px;
  80. background-color: {color:Background};
  81. background-image:url({image:Background});
  82. background-attachment: fixed;
  83. background-repeat: repeat;
  84. }
  85.  
  86. a {
  87. color:{color:Links};
  88. -webkit-transition-duration:1s;text-decoration:none;font-weight:none;
  89. }
  90.  
  91. a:hover {
  92. color:{color:Hover};
  93. text-decoration: none;
  94. }
  95.  
  96. .entry {
  97. margin-top:15px;
  98. margin-bottom:15px;
  99. background:transparent;
  100. padding:10px;
  101. {block:IndexPage}
  102. width:300px;
  103. {/block:IndexPage}
  104. {block:PermalinkPage}
  105. width:400px;
  106. {/block:PermalinkPage}
  107. }
  108.  
  109. {block:IndexPage}
  110. {block:ifImageOpacity}
  111. .entryimg {opacity:.8;-webkit-transition-duration:1s;}
  112. .entry:hover .entryimg {opacity:1;-webkit-transition-duration:1s;}
  113. {/block:ifImageOpacity}
  114. {/block:IndexPage}
  115.  
  116. .entry .permalink {
  117. position:absolute;
  118. padding:5px;
  119. margin-top:5px;
  120. margin-left:5px;
  121. opacity:0;
  122. z-index:999;
  123. background:{color:Background};
  124. border:3px double {color:Borders};
  125. -webkit-transition-duration: 1s;
  126. }
  127. .entry:hover .permalink {
  128. opacity:1;
  129. -webkit-transition-duration: 1s;
  130. }
  131.  
  132. .perm a {color:#ddd;text-decoration:underline;}
  133. .perm {
  134. display: block;
  135. margin-top: 3px;
  136. font-family:times new roman;
  137. font-size: 10px;
  138. line-height: 10px;
  139. text-align:center;
  140. text-transform: uppercase;
  141. }
  142.  
  143. #posts {
  144. width:300px;
  145. margin-left: 40px;
  146. padding-top:10px;
  147. }
  148.  
  149. .sidebar a:hover {color:transparent;}
  150. .sidebar {
  151. margin-left:360px;
  152. bottom:200px;
  153. background:transparent;
  154. font-size:10px;
  155. position:fixed;
  156. width:250px;
  157. padding:5px;
  158. background:{color:Sidebar};
  159. {block:PermalinkPage}
  160. margin-left:460px;
  161. {/block:PermalinkPage}
  162. }
  163.  
  164. #side1 {
  165. width:250px;
  166. opacity:0;
  167. margin-top:0px;
  168. position:absolute;
  169. bottom:13px;
  170. margin-left:-5px;
  171. padding:5px;
  172. background:{color:Hoverbars};
  173. -webkit-transition-duration: 1s;
  174. }
  175. .sidebar:hover #side1 {
  176. bottom:60px;
  177. opacity:1;
  178. -webkit-transition-duration: 1s;
  179. }
  180.  
  181. #side2 {
  182. width:250px;
  183. opacity:0;
  184. top:40px;
  185. position:absolute;
  186. margin-left:-5px;
  187. padding:5px;
  188. text-align:center;
  189. text-transform:uppercase;
  190. background:{color:Hoverbars};
  191. -webkit-transition-duration: 1s;
  192. }
  193. .sidebar:hover #side2 {
  194. top:60px;
  195. opacity:1;
  196. }
  197.  
  198. .blogtitle {
  199. font-family:unica one;
  200. text-transform:uppercase;
  201. font-size:40px;
  202. width:100%;
  203. line-height:50px;
  204. letter-spacing:10px;
  205. }
  206.  
  207. #audio {width:300px; height:auto; height:90px; padding-bottom:13px;}
  208. .cover {position:absolute; z-index:1; width:60px; height:60px;}
  209. .cover img {float:left; width:100px; height:100px;}
  210. .playbox {opacity:0.6; width:27px; height:30px; overflow:hidden; position:absolute; z-index:1000; margin-left:36.5px; margin-top:35px; text-align:center;}
  211. .info {margin-left:108px; width: 170px;margin-top:18px; line-height:16px;position:absolute;}
  212.  
  213. .credit {
  214. position:fixed;
  215. z-index:999;
  216. bottom:0px;
  217. right:0px;
  218. padding:7px;
  219. font-size:40px;
  220. line-height:40px;
  221. }
  222.  
  223. #infscr-loading {
  224. display:none;
  225. }
  226.  
  227. blockquote{
  228. padding:0px 0px 2px 5px;
  229. margin:0px 0px 2px 5px;
  230. border-left:1px solid #000;
  231. }
  232.  
  233. .quote{
  234. font-size: 26px;
  235. float: left;
  236. margin-top: 0px;
  237. padding-right:8px;
  238. color: #BDBDBD;
  239. }
  240.  
  241. ul.chat {
  242. margin: 0;
  243. padding: 0;
  244. }
  245.  
  246. .chat li {
  247. list-style-type: none;
  248. margin-left: 0px;
  249. padding: 2px;
  250. }
  251.  
  252. .chat li.odd {
  253. margin-bottom: 3px;
  254. background-color:#eee;
  255. color: #888;
  256. }
  257.  
  258. .chat li.even {
  259. margin-bottom: 3px;
  260. background-color:#fff;
  261. color: #000;
  262. }
  263.  
  264. .label {
  265. font-weight: bold;
  266. }
  267.  
  268. td{
  269. width:250px;
  270. }
  271.  
  272. ol.notes{
  273. margin:25px 0px;
  274. border-bottom:1px solid #eee;
  275. padding:5px;
  276. list-style-type:none;
  277. }
  278.  
  279. ol.notes li.note{
  280. border-bottom:1px solid #eee;
  281. padding:5px;
  282. }
  283.  
  284. .title {
  285. font-size:14px;
  286. line-height: 14px;
  287. font-family:unica one;
  288. }
  289.  
  290. </style>
  291.  
  292. {block:IndexPage}
  293. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  294. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  295.  
  296. <script type="text/javascript">
  297. $(window).load(function () {
  298. var $content = $('#posts');
  299. $content.masonry({itemSelector: '.entry'}),
  300. $content.infinitescroll({
  301. navSelector : 'div#pagination',
  302. nextSelector : 'div#pagination a#nextPage',
  303. itemSelector : '.entry',
  304. loading: {
  305. finishedMsg: '',
  306. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  307. },
  308. bufferPx : 600,
  309. debug : false,
  310. },
  311. // call masonry as a callback.
  312. function( newElements ) {
  313. var $newElems = $( newElements );
  314. $newElems.hide();
  315. // ensure that images load before adding to masonry layout
  316. $newElems.imagesLoaded(function(){
  317. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  318.  
  319.  
  320. });
  321. });
  322. });
  323. </script>
  324.  
  325. {/block:IndexPage}
  326.  
  327. <title>{Title}</title>
  328.  
  329. <link rel="shortcut icon" href="{Favicon}">
  330. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  331. <meta name="viewport" content="width=820" />
  332.  
  333. </head>
  334. <body>
  335.  
  336. <div id="content">
  337.  
  338. <div class="credit"><a href="http://oasal.tumblr.com"><img src="http://static.tumblr.com/cs9z8nu/fkDmbyfvp/tumblr_mbao3b14mh1rux83o.gif" width=25px></a></div>
  339.  
  340. <div class="sidebar">
  341. <center><a href="/" class="blogtitle">{title}</a></center>
  342. <div id="side1">{description}</div>
  343. <div id="side2">
  344. <a href="/">home</a> //
  345. <a href="/ask">ask</a> //
  346. {block:ifLinkOneTitle}<a href="{text:Link One}">{text:Link One Title}</a> // {/block:ifLinkOneTitle}
  347. {block:ifLinkTwoTitle}<a href="{text:Link Two}">{text:Link Two Title}</a> // {/block:ifLinkTwoTitle}
  348. {block:ifLinkThreeTitle}<a href="{text:Link Three}">{text:Link Three Title}</a> // {/block:ifLinkThreeTitle}
  349. <a href="http://oasal.tumblr.com">theme</a>
  350. </div>
  351. </div>
  352.  
  353. <div class="left">
  354.  
  355. <div id="posts">
  356.  
  357. {block:Posts}
  358. <div class="entry">
  359.  
  360. {block:Answer}
  361. "{Question}"
  362. {Answer}
  363. Asked by {asker}
  364. {block:IndexPage}
  365. <div class="perm">
  366. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  367. {/block:IndexPage}
  368. {/block:Answer}
  369.  
  370. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}
  371. {Body}
  372. {block:IndexPage}
  373. <div class="perm">
  374. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  375. {/block:IndexPage}
  376. {/block:text}
  377.  
  378. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}{Description}{/block:Description}
  379. {block:IndexPage}
  380. <div class="perm">
  381. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  382. {/block:IndexPage}
  383. {/block:link}
  384.  
  385. {block:Photo}
  386. {block:IndexPage}
  387. <div class="permalink">
  388. <a href="{reblogurl}" target="_blank">[+]</a>
  389. <a href="{permalink}">{notecountwithlabel}</a></div>
  390. {/block:IndexPage}
  391. {block:IndexPage}
  392. <img src="{PhotoURL-HighRes}" width="284px" style="border:3px double {color:Borders};padding:5px;" class="entryimg"/>
  393. {/block:IndexPage}
  394. {block:PermalinkPage}
  395. <center>{LinkOpenTag}<a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=400px/></a>{LinkCloseTag}</center>
  396. {/block:PermalinkPage}
  397. {/block:Photo}
  398.  
  399. {block:Photoset}
  400. {block:IndexPage}
  401. <center>
  402. {Photoset-250}</center>
  403. {/block:IndexPage}
  404. {block:PermalinkPage}
  405. <center>
  406. {Photoset-500}</center>
  407. {/block:PermalinkPage}
  408. {block:IndexPage}
  409. <div class="perm">
  410. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  411. {/block:IndexPage}
  412. {/block:Photoset}
  413.  
  414. {block:Quote}
  415. <div class="quote">❝</div>{Quote}
  416. <div align="right">{block:Source}{Source}{/block:Source}</div>
  417. {block:IndexPage}
  418. <div class="perm">
  419. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  420. {/block:IndexPage}
  421. {/block:Quote}
  422.  
  423. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  424. <ul class="chat">{block:Lines}<li class="{Alt} user_{UserNumber}"> {block:Label} <span class="label">{Label}</span> {/block:Label}{Line}</li>{/block:Lines}
  425. {block:IndexPage}
  426. <div class="perm">
  427. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  428. {/block:IndexPage}
  429. {/block:Chat}
  430.  
  431. {block:Audio}
  432. {block:IndexPage}
  433. <div id="audio"><div class="cover"><img src="http://static.tumblr.com/k9utpfa/tcom8wpif/default_cover_m.jpg"></div>
  434. {block:AlbumArt}
  435. <div class="cover"><img src="{AlbumArtURL}"></div>
  436. {/block:AlbumArt}
  437. <div class="playbox">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div>
  438. <div class="info"><b>Artist:</b> <span{block:Artist} style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
  439. <b>Title:</b> <span{block:TrackName} style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
  440. <b>Album:</b> <span{block:Album} style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}{block:PlayCount}<br>
  441. <b>Plays:</b> {FormattedPlayCount}{/block:PlayCount}</div></div>
  442. <div class="perm">
  443. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  444. {/block:IndexPage}
  445. {block:PermalinkPage}
  446. <div id="album">{block:AlbumArt}<img width="500px" src="{AlbumArtURL}"/>{/block:AlbumArt}</div>
  447. <div id="player"><div style="margin-top:-3px;margin-bottom:20px;">{AudioPlayerGrey}</div></div>
  448.  
  449. {/block:PermalinkPage}
  450. {/block:Audio}
  451.  
  452. {block:Video}
  453. {block:IndexPage}
  454. <center>
  455. {Video-250}</center>
  456. {/block:IndexPage}
  457. {block:PermalinkPage}
  458. <center>
  459. {Video-500}</center>
  460. {/block:PermalinkPage}
  461. {block:IndexPage}
  462. <div class="perm">
  463. <a href="{Permalink}">POSTED {TimeAgo} WITH {NoteCountWithLabel}</a></div>
  464. {/block:IndexPage}
  465. {block:Video}
  466.  
  467. {block:PermalinkPage}
  468. <center>
  469. <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}
  470.  
  471. </center>
  472.  
  473. {/block:PermalinkPage}
  474.  
  475. {block:PostNotes}{PostNotes}
  476. {/block:PostNotes}
  477.  
  478. </div>
  479.  
  480.  
  481. {/block:Posts}
  482. </div>
  483. </div>
  484. {block:IndexPage}
  485. {block:Pagination}
  486. <div id="pagination">
  487. {block:NextPage}
  488. <a id="nextPage" href="{NextPage}">&nbsp;&rarr;</a>
  489. {/block:NextPage}
  490. {block:PreviousPage}
  491. <a href="{PreviousPage}">&larr;&nbsp;</a>
  492. {/block:PreviousPage}
  493. </div>
  494. {/block:Pagination}
  495. {/block:IndexPage}
  496. </div>
  497.  
  498. </body>
  499. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement