Advertisement
hoenarry

theme 2

Feb 21st, 2014
3,486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.59 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4.  
  5. <title>{Title}</title>
  6.  
  7. <link rel="shortcut icon" href="{Favicon}">
  8. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  9. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  10.  
  11. <!--Default Variables-->
  12.  
  13. <meta name="color:Background" content="#ffffff"/>
  14. <meta name="color:Text" content="#aaaaaa"/>
  15. <meta name="color:Link" content="#000000"/>
  16.  
  17. <meta name="image:Sidebar Image" content=""/>
  18.  
  19. <meta name="text:Link 1" content="" />
  20. <meta name="text:Link 2 URL" content="" />
  21. <meta name="text:Link 2" content="" />
  22. <meta name="text:Link 3 URL" content="" />
  23. <meta name="text:Link 3" content="" />
  24. <meta name="text:Link 4 URL" content="" />
  25. <meta name="text:Link 4" content="" />
  26. <meta name="text:Link 5 URL" content="" />
  27. <meta name="text:Link 5" content="" />
  28. <meta name="if:bgcover" content="1" />
  29. <meta name="if:400px" content="1" />
  30. <meta name="if:sidebarleft" content="1" />
  31. <meta name="color:Background" content="#3b627e" />
  32. <meta name="image:Background" content="" />
  33. <meta name="if:shadow" content="1" />
  34.  
  35. <!-- jquery for tooltips-->
  36.  
  37.  
  38. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  39.  
  40. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  41.  
  42. <script>
  43.  
  44. (function($){
  45.  
  46. $(document).ready(function(){
  47.  
  48. $("a[title]").style_my_tooltips({
  49.  
  50. tip_follows_cursor:true,
  51.  
  52. tip_delay_time:30,
  53.  
  54. tip_fade_speed:300,
  55.  
  56. attribute:"title"
  57.  
  58. });
  59.  
  60. });
  61.  
  62. })(jQuery);
  63.  
  64. </script>
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. <!--CSS customization here. -->
  72.  
  73. <style type="text/css">
  74.  
  75. #s-m-t-tooltip{
  76. position:absolute;
  77. margin-top: 15px;
  78. z-index:9999;
  79. background:{color:background};
  80. }
  81.  
  82.  
  83.  
  84. /*basics*/
  85. blockquote {padding:0px 0 0px 20px;
  86. border-left:1px solid {color:text};
  87. margin-left:30px;
  88. }
  89.  
  90. body {
  91. background: {color:Background} url('{image:Background}') {block:ifbgcover} no-repeat center fixed ;
  92. -webkit-background-size: cover;
  93. -moz-background-size: cover;
  94. -o-background-size: cover;
  95. background-size: cover; {/block:ifbgcover}
  96. {block:ifnotbgcover} top left fixed repeat {block:ifnotbgcover};
  97. margin: 0;
  98.  
  99. padding: 0;
  100. font-family: {font:Body};
  101.  
  102. color:{color:text};
  103. font-family:arial;
  104. font-size:10px;
  105. text-align:justify;
  106. margin:0;
  107. line-height:16px;}
  108.  
  109.  
  110. a {
  111. color:{color:link};
  112. text-decoration:none;
  113. }
  114.  
  115. a:hover {
  116. text-decoration:underline;}
  117.  
  118. img{opacity:1;
  119. border:none;
  120. text-decoration:none}
  121.  
  122.  
  123. small {
  124. font-size:9px;}
  125.  
  126. big {
  127. font-size:12px;}
  128.  
  129.  
  130. #title {font-size:12px;
  131. line-height:18px;
  132. font-weight:bold;
  133. margin-bottom:10px;
  134. text-transform:uppercase;
  135. text-align:left;}
  136.  
  137.  
  138. /*sidebar*/
  139. #sidebar {
  140. background-color:#fff;
  141. position:fixed;
  142. {block:ifnot400px} margin-left:20px; {/block:ifnot400px}
  143. {block:if400px} margin-left: 300px;{/block:if400px}
  144. {block:ifsidebarleft}margin-left:-350px;{/block:ifsidebarleft}
  145. {block:ifnotsidebarleft}margin-left:200px;{/block:ifnotsidebarleft}
  146. margin-top:150px;
  147. width:250px;
  148. padding:5px;
  149. {block:ifshadow} box-shadow:rgba(0,0,0,0.1)9px 9px; {/block:ifshadow}
  150. }
  151.  
  152.  
  153. #sidebarim {margin-bottom:10px}
  154.  
  155. #sidebarim img {width:250px}
  156.  
  157. #blogt {font-size:18px;
  158. font-weight:bold;}
  159.  
  160. #links {
  161. line-height:16px;
  162. text-transform:lowercase;
  163. }
  164.  
  165.  
  166. #links a {
  167. margin-right:5px;
  168. display:inline-block;
  169. margin-bottom:5px;
  170. }
  171.  
  172. #description {
  173. margin:10px;
  174. text-align:center;
  175. }
  176.  
  177.  
  178. /*pagination*/
  179. #pagination {
  180. text-transform:lowercase;
  181. font-weight:bold;
  182. float:right;
  183. margin-bottom:20px;
  184. {block:ifnot400px} width:500px; {/block:ifnot400px}
  185. {block:if400px} width:400px;{/block:if400px}
  186.  
  187. }
  188. #pagination a {
  189. padding:10px 15px;
  190. background-color:#fff;
  191. {block:ifshadow} box-shadow:rgba(0,0,0,0.1)9px 9px; {/block:ifshadow}
  192. }
  193.  
  194. /*container*/
  195. #con {
  196. left:50%;
  197. margin-left:-50px;
  198. position:absolute;
  199. {block:ifnotsidebarleft}margin-left:0px;{/block:ifnotsidebarleft}
  200. }
  201.  
  202.  
  203.  
  204. /*posts*/
  205.  
  206. #entries {
  207. margin-top:75px;
  208. {block:ifnot400px} width:500px; {/block:ifnot400px}
  209. {block:if400px} width:400px;{/block:if400px}
  210. }
  211.  
  212.  
  213.  
  214. #posts {
  215. padding:5px;
  216. background-color:#fff;
  217. {block:ifnot400px} width: 500px; {/block:ifnot400px}
  218. {block:if400px} width: 400px; {/block:if400px}
  219. {block:ifsidebarleft} float: right; {/block:ifsidebarleft}
  220. {block:ifnotsidebarleft} margin-left:-350px; {/block:ifnotsidebarleft}
  221. {block:IndexPage}
  222. margin-bottom:75px;
  223. {/block:IndexPage}
  224. {block:PermalinkPage}
  225. margin-bottom:50px;
  226. {/block:PermalinkPage}
  227. {block:ifshadow} box-shadow:rgba(0,0,0,0.1)9px 9px; {/block:ifshadow}
  228.  
  229. }
  230. #posts img {
  231. max-width:100%;
  232.  
  233. }
  234.  
  235. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  236. .caption {width:100%;
  237. margin-top:10px;
  238.  
  239. }
  240.  
  241. /*quote*/
  242.  
  243. #titlequote{text-align:left;
  244. font-size:14px;
  245. line-height:18px;
  246. font-weight:bold;
  247. }
  248. #source {
  249. margin-top:15px;
  250. margin-left:15px;}
  251.  
  252. /*audio*/
  253.  
  254. .player {
  255. width:25px;
  256. height:25px;
  257. overflow:hidden;
  258. position:absolute;
  259. background:white;}
  260.  
  261. .audioinfo {
  262. margin-left:50px;
  263. }
  264.  
  265.  
  266. /*asks*/
  267. .q {margin-bottom:10px;
  268. }
  269. .as {
  270. font-weight:bold;}
  271.  
  272. .a {
  273. margin-top:10px;
  274. }
  275.  
  276.  
  277. /*chat*/
  278.  
  279. .chat ol {
  280. padding:0;
  281. list-style:none;
  282. }
  283. .line {padding:5px 0;}
  284.  
  285. .label {font-weight:bold;
  286. }
  287.  
  288.  
  289.  
  290.  
  291.  
  292. /*permalink and notes*/
  293.  
  294. #permalink {
  295. font-size:9px;
  296. text-transform:lowercase;
  297. }
  298. #permalink a {margin-right:10px;
  299. }
  300.  
  301.  
  302. .tags {
  303. word-break:break-all;
  304. font-size:9px;
  305. opacity:0;
  306. -webkit-transition: opacity 0.5s linear;
  307. }
  308.  
  309. #posts:hover .tags{
  310. opacity:1;
  311. }
  312.  
  313. .pagenotes {
  314. background-color:#fff;
  315. {block:IndexPage}
  316. display: none!important;
  317. {/block:IndexPage}
  318. width:400px;
  319. text-align:left;
  320.  
  321. }
  322. .pagenotes img {
  323. display:none!important;}
  324. .pagenotes li {
  325. list-style-type:none;
  326. padding:5px 0px;
  327. text-align:left;
  328. margin:0 0 0 -40px;
  329. }
  330.  
  331.  
  332.  
  333.  
  334. {CustomCSS}
  335.  
  336.  
  337. </style>
  338.  
  339.  
  340.  
  341. </head>
  342.  
  343. <body>
  344.  
  345. <div id="con">
  346.  
  347. <div id="sidebar">
  348. <div id="sidebarim"><img src="{image:Sidebar Image}"></div>
  349. <div id="description">{Description}</div>
  350. <center><select onchange='location=this.options[this.selectedIndex].value;' style='width:150px;font-size:9px;margin-bottom:10px;'>
  351. <option>navigation</option>
  352. <option value="{text:link 1 url}">{text:link 1}</option>
  353. <option value="{text:link 2 url}">{text:link 2}</option>
  354. <option value="{text:link 3 url}">{text:link 3}</option>
  355. <option value="{text:link 4 url}">{text:link 4}</option>
  356. <option value="{text:link 5 url}">{text:link 5}</option>
  357.  
  358. </select></center>
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365. </div>
  366.  
  367.  
  368.  
  369.  
  370. <div id="entries">
  371.  
  372. {block:Posts}
  373. <div id="posts">
  374.  
  375.  
  376. {block:Quote}
  377.  
  378.  
  379. <div id="titlequote">“{Quote}”</div>
  380. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  381. {/block:Quote}
  382.  
  383.  
  384. {block:Text}
  385.  
  386. {block:Title}
  387. <div id="title">{Title}</div>{/block:Title}
  388. {Body}
  389. {/block:Text}
  390.  
  391. {block:Link}
  392. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  393. {/block:Link}
  394.  
  395. {block:Chat}
  396. {block:Title}
  397. <h1>{Title}</h1>
  398. {/block:Title}
  399. <div class="chat">
  400. <ol>{block:Lines}
  401. <li class="line {Alt}">
  402. {block:Label}
  403. <span class="label">
  404. {Label}</span>
  405. {/block:Label}{Line}</li>
  406. {/block:Lines}
  407. </ol></div>
  408. {/block:Chat}
  409.  
  410. {block:Photo}
  411. {block:ifnot400px}
  412. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}
  413. {/block:ifnot400px}
  414. {block:if400px}
  415. {LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}
  416. {/block:if400px}
  417. {/block:Photo}
  418.  
  419. {block:Photoset}
  420. {block:ifnot400px}
  421. {Photoset-500}
  422. {/block:ifnot400px}
  423. {block:if400px}
  424. {Photoset-400}
  425. {/block:if400px}
  426.  
  427. {/block:Photoset}
  428.  
  429. {block:Video}
  430. {block:ifnot400px}
  431. {Video-500}
  432. {/block:ifnot400px}
  433. {block:if400px}
  434. {Video-400}
  435. {/block:if400px}
  436.  
  437. {/block:Video}
  438.  
  439. {block:Audio}
  440. <div class="player">{AudioPlayerWhite}</div>
  441. <div class="audioinfo">
  442. {block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  443. </div>
  444. {/block:Audio}
  445.  
  446. {block:Answer}
  447. <div class="q">
  448. <div class="as">{Asker} said: {Question}</div></div>
  449. <div class="a">{Answer}</div>
  450. {/block:Answer}
  451.  
  452. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  453.  
  454.  
  455. {block:Date}<center>
  456. <a href="{Permalink}">
  457. {TimeAgo}
  458.  
  459. with
  460. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:NoteCount}{/block:NoteCount}
  461.  
  462.  
  463.  
  464.  
  465.  
  466. </a></center>
  467. {/block:Date}
  468.  
  469. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  470.  
  471. {/block:Date}
  472.  
  473. {block:PermalinkPage}
  474. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{SourceURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom} <a href="{ReblogURL}" target="_blank" >reblog</a><br>
  475. {block:PostNotes}
  476. <div class="pagenotes">
  477. {PostNotes}
  478. </div>
  479. {/block:PostNotes}
  480. {/block:PermalinkPage}
  481.  
  482. </div>
  483.  
  484.  
  485.  
  486. {/block:Posts}</div>
  487.  
  488. <div id="pagination">
  489. {block:Pagination}
  490. {block:PreviousPage}
  491. <a href="{PreviousPage}">&larr; previous </a>
  492. {/block:PreviousPage}
  493.  
  494.  
  495. {block:NextPage}
  496. <a href="{NextPage}">next &rarr;</a>
  497. {/block:NextPage}
  498. {/block:Pagination}
  499. </div>
  500.  
  501.  
  502.  
  503.  
  504. </div>
  505.  
  506. </div>
  507.  
  508.  
  509.  
  510.  
  511. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement