Advertisement
ronnweasley

Codes

May 3rd, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.02 KB | None | 0 0
  1. <head><title>{Title}</title>
  2. <link rel="shortcut icon" href="{FavIcon}">
  3. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  4. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  5.  
  6.  
  7. <meta name="color:bg" content="#ffffff"/>
  8. <meta name="color:text" content=""/>
  9. <meta name="color:link" content=""/>
  10. <meta name="color:side links" content="">
  11. <meta name="color:linkhover" content="">
  12. <meta name="color:description" content="">
  13. <meta name="color:sidebar bg" content="">
  14. <meta name="color:sidebar border" content="">
  15. <meta name="color:scrollbar" content="#f5f5f5">
  16. <meta name="image:sidebar" content=""/>
  17. <meta name="color:background" content="">
  18. <meta name="color:pagination" content="">
  19. <meta name="color:border" content="">
  20. <meta name="color:title" content="">
  21. <meta name="color:info" content="">
  22. <meta name="image:image" content="">
  23.  
  24. <head>
  25. <script type="text/javascript"
  26. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  27. <script>
  28. $(document).ready(function() {
  29. //
  30. $('a.poplight[href^=#]').click(function() {
  31. var popID = $(this).attr('rel'); //Get Popup Name
  32. var popURL = $(this).attr('href'); //Get Popup href to define size
  33. var query= popURL.split('?');
  34. var dim= query[1].split('&');
  35. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  36. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  37. var popMargTop = ($('#' + popID).height() + 80) / 2;
  38. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  39. //Apply Margin to Popup
  40. $('#' + popID).css({
  41. 'margin-top' : -popMargTop,
  42. 'margin-left' : -popMargLeft
  43. });
  44. $('body').append('<div id="fade"></div>');
  45. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  46. return false;
  47. });
  48. $('a.close, #fade').live('click', function() {
  49. $('#fade , .popup_block').fadeOut(function() {
  50. $('#fade, a.close').remove(); //fade them both out
  51. });
  52. return false;
  53. });
  54. });
  55. </script>
  56. </head>
  57.  
  58. <style type="text/css">
  59.  
  60. .popup_block{
  61. display:none;
  62. background:#fff;
  63. padding:20px;
  64. border:1px solid #eee; /* if you want a solid white pop-up, delete this */
  65. float:left;
  66. position:fixed;
  67. top:50%;left:50%;
  68. z-index: 99999;
  69. -webkit-box-shadow: 0px 0px 20px #000; /* delete for solid white */
  70. -moz-box-shadow: 0px 0px 20px #000; /* delete for solid white */
  71. box-shadow: 0px 0px 20px #000; /* delete for solid white */
  72. }
  73.  
  74. *html #fade {position: absolute;}
  75. *html .popup_block {position: absolute;}
  76. #fade {
  77. display:none;
  78. position:fixed;
  79. left:0px;
  80. top:0px;
  81. width:100%;
  82. height:100%;
  83. z-index:9999;
  84. background:#000; /* change to #fff for solid white */
  85. opacity:0.5; /* change to opacity:1; */
  86. }
  87.  
  88.  
  89. ::-webkit-scrollbar-thumb:vertical {
  90. background-color: {color:scrollbar};
  91. width:15px;
  92. height:100px;
  93. border: 1px solid {color:scrollbar};
  94. -webkit-border-radius: 0px;
  95. }
  96.  
  97. ::-webkit-scrollbar {
  98. height:7px;
  99. width:7px;
  100. background-color: #ffffff;
  101. }
  102.  
  103.  
  104. body {
  105. background-color:{color:bg};
  106. font-family:calibri;
  107. font-weight:normal;
  108. font-size:10px;
  109. color:{color:text};
  110. }
  111.  
  112. a {
  113. color:black;
  114. text-decoration:none;
  115. -moz-transition-duration:0.5s;
  116. -webkit-transition-duration:0.5s;
  117. -o-transition-duration:0.5s;
  118. }
  119.  
  120. a:hover {
  121. color:{color:linkhover};
  122. text-decoration:none;
  123. -moz-transition-duration:0.5s;
  124. -webkit-transition-duration:0.5s;
  125. -o-transition-duration:0.5s;
  126. }
  127.  
  128. img {
  129. border:none;
  130. }
  131.  
  132. blockquote {
  133. border-left:1px solid;
  134. border-color:#E8E8E8;
  135. padding-left:5px;
  136. margin:5px;
  137. }
  138.  
  139. h1 {
  140. font-size:10px;
  141. text-align:center;
  142. line-height:80%;
  143. letter-spacing:1px;
  144. text-transform:uppercase;
  145. color:{color:text};
  146. }
  147.  
  148.  
  149. #entries {
  150. width:400px;
  151. margin-left:370px;
  152.  
  153. }
  154.  
  155. #post {
  156. width:400px;
  157. margin-top:40px;
  158. margin-bottom:20px;
  159.  
  160. }
  161.  
  162. #post:hover #tags{
  163. opacity:1;
  164. transition:0.3s;
  165. }
  166.  
  167. #image {
  168. width:100px;
  169. height:800px;
  170. margin-left:250px;
  171. margin-top:-55px;
  172. position:fixed;
  173.  
  174. }
  175.  
  176. #sidebar {
  177. width:250px;
  178. margin-left:200px;
  179. margin-top:270px;
  180. position:fixed;
  181.  
  182. }
  183.  
  184. #sidebarimg{
  185. width:250px;
  186. margin-left:0px;
  187. }
  188.  
  189. #sidebarimg img {
  190. width:120px;
  191. height:120px;
  192. border:11px solid;
  193. border-color:#f0f0f0;
  194. }
  195.  
  196. #description {
  197. font-family:tunga;
  198. font-weight:none;
  199. text-transform:none;
  200. margin-left:160px;
  201. margin-top:295px;
  202. width:160px;
  203. text-align:justify;
  204. font-size:11px;
  205. line-height:100%;
  206. color:#696969;
  207. position:fixed;
  208. }
  209.  
  210. #links {
  211. width:100px;
  212. font-family:calibri;
  213. text-transform:lowercase;
  214. font-style:none;
  215. font-size:11px;
  216. padding-top:6px;
  217. margin-top:10px;
  218. margin-left:20px;
  219. text-align:center;
  220. word-spacing:10px;
  221. line-height:12px;
  222. opacity:1;
  223. position:fixed;
  224. }
  225.  
  226. #links a {
  227. color:#696969;
  228. }
  229.  
  230. #links a:hover {
  231. color:gray;
  232. }
  233.  
  234. #pagination {
  235. width:100px;
  236. font-family:gautami;
  237. font-size:12px;
  238. text-align:center;
  239. position:fixed;
  240. margin-left:220px;
  241. margin-top:520px;
  242. }
  243.  
  244. #pagination a{
  245. color:#696969;
  246. display:inline-block;
  247. }
  248.  
  249. #infop {
  250. width:400px;
  251. font-family:gautami;
  252. font-size:8px;
  253. color:#000;
  254. text-align:center;
  255. text-transform:uppercase;
  256. margin-left:0px;
  257. margin-top:10px;
  258. line-height:10px;
  259. word-spacing:0px;
  260.  
  261. }
  262.  
  263. #tags {
  264. width:400px;
  265. font-family:gautami;
  266. font-size:8px;
  267. color:#000;
  268. text-align:left;
  269. text-transform:lowercase;
  270. margin-left:0px;
  271. margin-top:8px;
  272. opacity:0;
  273. }
  274.  
  275. #from {
  276. width:400px;
  277. font-family:gautami;
  278. font-size:8px;
  279. color:#000;
  280. text-align:right;
  281. text-transform:uppercase;
  282. margin-left:0px;
  283. margin-top:-5px;
  284. line-height:0px;
  285. word-spacing:0px;
  286.  
  287. }
  288.  
  289. #bottom {
  290. margin-top:5px;
  291. border-bottom:1px solid #f0f0f0;
  292. }
  293.  
  294. #questions {
  295. background-color:#f8f8f8;
  296. padding:10px;
  297. text-align:center;
  298. }
  299.  
  300. #answer {
  301. padding:1px;
  302. text-align:left;
  303. }
  304.  
  305. .music {
  306. width:500px;
  307. {block:ifShow400pxposts}
  308. width:400px;
  309. {/block:ifShow400pxposts}
  310. }
  311.  
  312. .albumart {
  313. float:left;
  314. }
  315.  
  316. .albumart img {
  317. width:60px;
  318. margin:2px 7px -3px 6px;
  319. border:5px solid;
  320. border-color:#ececec;
  321. }
  322.  
  323. .playercontainer {
  324. text-align:left;
  325. padding-top:15px;
  326. width:400px;
  327. {block:ifShow400pxposts}
  328. width:350px;
  329. {/block:ifShow400pxposts}
  330. }
  331.  
  332. .musicinfo {
  333. font-size:9;
  334. font-family:arial;
  335. color:{color:Text};
  336. }
  337.  
  338. .credit {
  339. position:fixed;
  340. bottom:5px;
  341. right:5px;
  342. font: 15px Consolas;
  343. background: transparent;
  344. color: #000;
  345. text-transform:uppercase;
  346. letter-spacing: 0px;
  347. padding: 5px; }
  348.  
  349. .credit a{
  350. color:#000;
  351. opacity:0.8;}
  352.  
  353. .credit a:hover{
  354. color:#ffffff;
  355. background-color:black;
  356. padding:5px;
  357. transition:0.1s;
  358. opacity:1.0;}
  359.  
  360. {CustomCSS}</style></head><body>
  361.  
  362. <div id="box1" class="popup_block"><div id="description">{description}</div>
  363. </div>
  364.  
  365. </div></div></div></div></div></div></div></div></div></div>
  366.  
  367. <div id="sidebar"><div id="sidebarimg"><a href=""><img src="{image:sidebar}"></div></a>
  368.  
  369. <div id="links">
  370. <a href="/ask" title="ask"> i.</a>
  371. <a href="" title="blog">ii. </a>
  372. <a href="" title="myself"> iii. </a>
  373. <a href="" title="stuff">iv. </a><p>
  374. <a href="#?w=300" rel="box1" class="poplight" title="my description!">click to read.</a>
  375. </div></div></div>
  376.  
  377. <div id="pagination">
  378. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">← </a> / {/block:PreviousPage}{block:NextPage}<a href="{NextPage}">→</a>{block:NextPage}{/block:Pagination}</div>
  379.  
  380. <div id="entries">{block:Posts}<div id="post">
  381.  
  382. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  383.  
  384. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  385.  
  386. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  387.  
  388. {block:Quote}<div align=left><i><big>{Quote}</big></i></div>{block:Source} <div align=right> —{Source}</div></div>{/block:Source}{/block:Quote}
  389.  
  390. <div align=left>{block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}</div>
  391.  
  392. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  393.  
  394. {block:Audio}<div class="music">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/>{/block:AlbumArt}</div>
  395. <div class="playercontainer">{AudioPlayerWhite}</div>
  396. <br><div class="musicinfo">{block:TrackName} {TrackName} {/block:TrackName} {block:Artist}by {Artist} {/block:Artist}
  397. {/block:ExternalAudio}</div>
  398. </div>
  399. {block:Caption}{Caption}{/block:Caption}<br>{/block:Audio}
  400.  
  401. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  402.  
  403. {block:Answer}<div id="questions"><link rel="{AskerIcon}">{Asker} told me:
  404. <br>{Question}</link></div>
  405. <div id="answer">{Answer}</div>{/block:answer}
  406.  
  407. <div id="infop">
  408. {block:Date}<a href="{Permalink}">{Month} {DayOfMonth}{/block:Date}
  409. <a href="{Permalink}"> with {NoteCountWithLabel}. {/block:NoteCount}</a>
  410. <div id="from">{block:RebloggedFrom}<a href="{ReblogParentURL}" title="reblogged from">via</a>{/block:RebloggedFrom}{block:ContentSource}/<a href="{SourceURL}" title="source">source</a>{/block:ContentSource}
  411. </div>
  412. </div>
  413. <div id="tags">
  414. {block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}
  415. {/block:HasTags}
  416. </div>
  417.  
  418. {block:PostNotes}{PostNotes}{/block:PostNotes}
  419. {/block:Posts}
  420.  
  421. </div></div></div>
  422.  
  423. <div class="credit"><a href="http://harrypottiarthemes.tumblr.com" title="theme credit">❖</a>
  424. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement