Advertisement
singforabsolution

Theme By Kelsey #21

Apr 28th, 2012
1,006
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.38 KB | None | 0 0
  1. <!-- please don't remove the credit or use as a base code-->
  2.  
  3. <head>
  4.  
  5. <script type="text/javascript"
  6. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. //
  10. $('a.poplight[href^=#]').click(function() {
  11. var popID = $(this).attr('rel'); //Get Popup Name
  12. var popURL = $(this).attr('href'); //Get Popup href to define size
  13. var query= popURL.split('?');
  14. var dim= query[1].split('&');
  15. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  16. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://png-1.findicons.com/files//icons/1715/gion/24/dialog_cancel.png" class="btn_close" title="Close it" alt="Close" /></a>');
  17. var popMargTop = ($('#' + popID).height() + 80) / 2;
  18. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  19. //Apply Margin to Popup
  20. $('#' + popID).css({
  21. 'margin-top' : -popMargTop,
  22. 'margin-left' : -popMargLeft
  23. });
  24. $('body').append('<div id="fade"></div>');
  25. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  26. return false;
  27. });
  28. $('a.close, #fade').live('click', function() {
  29. $('#fade , .popup_block').fadeOut(function() {
  30. $('#fade, a.close').remove(); //fade them both out
  31. });
  32. return false;
  33. });
  34. });
  35. </script>
  36.  
  37. <!--Default Variables-->
  38. <!--Colors-->
  39. <meta name="color:Background" content="#e0eee0"/>
  40. <meta name="color:Text" content="#000000"/>
  41. <meta name="color:Post Title" content="#1C1C1C"/>
  42. <meta name="color:Link" content="#838B83"/>
  43. <meta name="color:Link Hover" content="#C1CDC1"/>
  44. <meta name="color:Blog Title" content="#838B83"/>
  45. <meta name="color:Chat 1" content=""/>
  46. <meta name="color:Chat 2" content=""/>
  47. <meta name="color:Ask Background" content="#E8E8E8"/>
  48. <meta name="color:Sidelinks" content="#B5B5B5"/>
  49. <meta name="color:Nav Border" content="#B5B5B5"/>
  50.  
  51. <!--Images-->
  52. <meta name="image:Background" content""/>
  53. <meta name="image:Sidebar" content="http://25.media.tumblr.com/tumblr_m2wxqxvi9Z1r296ljo1_500.png"/>
  54. <meta name="image:Main" content="http://28.media.tumblr.com/tumblr_m0lf3fr7zN1rrt2v9o1_250.jpg"/>
  55.  
  56. <!--Options-->
  57. <meta name="if:Infinite Scrolling" content=""/>
  58. <meta name="if:Tiny Cursor" content="1"/>
  59. <meta name="if:Tiny Scrollbar" content="1"/>
  60. <meta name="if:Box shadows" content="1"/>
  61. <meta name="if:Box borders" content="1"/>
  62. <meta name="if:Rainbow Links" content=""/>
  63. <meta name="if:Show Caption" content="1"/>
  64. <meta name="if:Faded Images" content=""/>
  65.  
  66. <!--Links-->
  67. <meta name="text:Link 1 URL" content="/"/>
  68. <meta name="text:Link 1 name" content="link 1"/>
  69. <meta name="text:Link 2 URL" content="/"/>
  70. <meta name="text:Link 2 name" content="link 2"/>
  71. <meta name="text:Link 3 URL" content="/"/>
  72. <meta name="text:Link 3 name" content="link 3"/>
  73. <meta name="text:Link 4 URL" content="/"/>
  74. <meta name="text:Link 4 name" content="link 4"/>
  75.  
  76. {block:Description}
  77. <meta name="description" content="{MetaDescription}" />{/block:Description}
  78. <title>
  79. {block:PostSummary}
  80. {PostSummary} - {/block:PostSummary}{Title}</title>
  81.  
  82. {block:ifinfinitescrolling}<script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>{/block:ifinfinitescrolling}
  83.  
  84. </style>
  85. <link href='http://fonts.googleapis.com/css?family=Amatic+SC' rel='stylesheet' type='text/css'>
  86. <style type="text/css">
  87.  
  88. {block:iftinycursor}
  89. body, a, a:hover {cursor: url(http://i.imgur.com/2qleX.jpg), progress;}{/block:iftinycursor}
  90.  
  91.  
  92. {block:iftinyscrollbar}
  93. ::-webkit-scrollbar {width: 8px; height: 4px; background: #FFFFFF; }
  94. ::-webkit-scrollbar-thumb { background-color: #E8E8E8; -webkit-border-radius: 1ex; border: 1px solid black;}
  95. {/block:iftinyscrollbar}
  96.  
  97. {block:ifFadedImages}img{
  98. opacity: 0.8;
  99. filter:alpha(opacity=10);
  100. -moz-opacity: 0.1;
  101. -moz-transition: all .9s ease;
  102. -o-transition: all .9s ease;
  103. transition: all .9s ease;
  104. -webkit-transition: all .9s ease;}
  105. {/block:ifFadedImages}
  106.  
  107.  
  108. {block:ifFadedImages} img:hover{
  109. opacity: 1;
  110. filter:alpha(opacity=100);
  111. -moz-opacity: 1;
  112. -moz-transition: all .9s ease;
  113. -o-transition: all .9s ease;
  114. transition: all .9s ease;
  115. -webkit-transition: all .9s ease;}
  116. {/block:ifFadedImages}
  117.  
  118. @font-face { font-family: "silkscreen"; src: url('http://static.tumblr.com/1kdckk4/9yjlolf0w/slkscr.ttf'); }
  119.  
  120. body{
  121. background-color: {color:Background};
  122. background-image:url({image:Background});
  123. background-attachment:fixed;
  124. background-repeat:repeat;
  125. background-position:center;
  126. font-family:helvetica;
  127. font-size:10px;
  128. line-height:11px;
  129. letter -spacing:0px;
  130. color:{color:Text};
  131. text-align:justify;
  132. }
  133.  
  134. a:link, a:active, a:visited{
  135. color: {color:Link};
  136. text-decoration:none;
  137. }
  138. a:hover{
  139. color: {color:Link Hover};
  140. -webkit-transition: all 0.3s linear;
  141. -moz-transition: all 0.3s linear;
  142. transition: all 0.3s linear;
  143. {block:iftinycursor}cursor: url(http://i.imgur.com/IepP2.jpg), progress{/block:iftinycursor};
  144. }
  145.  
  146. .popup_block{
  147. display: none;
  148. background-image: url({image:Main});
  149. padding: 10px;
  150. float: left;
  151. font-size: 12px;
  152. position: fixed;
  153. top: 50%; left: 50%;
  154. z-index: 1;
  155. {block:ifboxshadows};
  156. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  157. {/block:ifboxshadows}
  158. {block:ifboxborders}
  159. border: 5px solid #B5B5B5;
  160. {/block:ifboxborders}
  161. }
  162. img.btn_close {
  163. float: right;
  164. margin: -5px -5px 0 0;
  165. }
  166. *html .popup_block {
  167. position: absolute;
  168. }
  169.  
  170. #container {
  171. margin:auto;
  172. position:right;
  173. width:1200px;
  174. color: {color:Title};
  175. _margin-left:10%;
  176. }
  177.  
  178. #center {
  179. margin:auto;
  180. position:relative;
  181. width:800px;
  182. background-color:;
  183. overflow:auto;
  184. overflow-y:hidden;
  185. }
  186.  
  187. #content {
  188. float:center;
  189. width:363px;
  190. padding:3px;
  191. margin-top:0px;
  192. margin-left:300px;
  193. background:transparent;
  194. {block:ifboxborders}
  195. width:370px;
  196. {/block:ifboxborders}
  197. }
  198.  
  199. #entry {
  200. margin-top:15px;
  201. padding:5px;
  202. background-color:white;
  203. background-image: url({image:Main});
  204. {block:ifboxshadows};
  205. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  206. {/block:ifboxshadows}
  207. {block:ifboxborders}
  208. border: 5px solid #B5B5B5;
  209. {/block:ifboxborders}
  210. }
  211.  
  212. #entry img{
  213. {block:IndexPage}max-width:350px;{/block:IndexPage}
  214. }
  215.  
  216. #entry .permalink a{
  217. color:{color:Link};
  218. }
  219.  
  220. #entry .permalink{
  221. width:auto;
  222. padding-right:2px;
  223. padding-left:2px;
  224. position:absolute;
  225. text-align:left;
  226. font-family:silkscreen;
  227. font-size:8px;
  228. overflow:hidden;
  229. background-color:transparent;
  230. margin-left:0px;
  231. opacity:0.0;
  232. background-color:white;
  233. }
  234.  
  235. #entry:hover .permalink{
  236. margin-left:5px;
  237. margin-top:3px;
  238. overflow:visible;
  239. -webkit-transition: opacity 0.3s linear; opacity: 0.8;
  240. -webkit-transition: all 0.3s linear;
  241. -moz-transition: all 0.3s linear;
  242. transition: all 0.3s linear;
  243. }
  244.  
  245. #side {
  246. position:fixed !important;
  247. width:180px;
  248. height:auto;
  249. font-size:10px;
  250. line-height:10px;
  251. background-color:white;
  252. background-image: url({image:Main});
  253. margin-top:40px;
  254. margin-left:-450px ;
  255. padding:2px;
  256. {block:ifboxshadows};
  257. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  258. {/block:ifboxshadows}
  259. {block:ifboxborders}
  260. border: 5px solid #B5B5B5;
  261. {/block:ifboxborders}
  262. }
  263.  
  264. .links {
  265. font-family:amatic sc;
  266. font-size:23px;
  267. line-height:29px;
  268. }
  269.  
  270. .navi {
  271. font-family:amatic sc;
  272. font-size:23px;
  273. line-height:24px;
  274. }
  275.  
  276. .blogtitle{
  277. font-size:43px;
  278. font-family:Amatic Sc;
  279. line-height:43px;
  280. color: {color:Blog Title};
  281. text-transform:uppercase;
  282. font-weight:bold;
  283. }
  284.  
  285. .posttitle{
  286. font-size:25px;
  287. line-height:20px;
  288. text-transform:uppercase;
  289. color: {color:Post Title};
  290. letter-spacing: 1;
  291. font-family:Amatic Sc;
  292. font-weight:none;
  293. }
  294.  
  295.  
  296. blockquote{
  297. padding:0px 0px 2px 5px;
  298. margin:0px 0px 2px 1px;
  299. border-left: 1px solid {color:Text};}
  300. blockquote p, ul{margin:0px; padding:0px;
  301. }
  302.  
  303. .chat .line{
  304. color:{color:Chat 1};
  305. padding: 2px;
  306. border-bottom: 1px dotted black;
  307. }
  308. .chat .line.odd{
  309. color:{color:Chat 2};
  310. border-bottom: 1px dotted black;
  311. }
  312.  
  313. .label {font-weight:bold; color:{color:text}}
  314.  
  315. .question {
  316. color:{color:Text};
  317. font-size:10px;
  318. font-weight:normal;
  319. line-height:95%;
  320. background: {color:Ask Background};
  321. margin: 0 0 10px 0;
  322. padding: 10px 15px;
  323. position:relative;
  324. -moz-border-radius:5px; -webkit-border-radius:5px;
  325. }
  326.  
  327. .questionarrow {
  328. width:13px;
  329. height:7px;
  330. font-size:30px;
  331. position:absolute;
  332. color:{color:Ask Background};
  333. bottom: -3.5px;
  334. left: 260px;
  335. }
  336.  
  337.  
  338. .asker {
  339. width:500px;
  340. text-align:left;
  341. color:{color:Text};
  342. font-family:silkscreen;
  343. font-size:9px;
  344. }
  345.  
  346. .asker a {
  347. color:{color:Text};
  348. }
  349.  
  350. .asker img {
  351. float:left;
  352. margin-left:220px;
  353. vertical-align:top;
  354. margin-right:3px;
  355. max-height:15px;
  356. }
  357.  
  358. a img{border:0px;}
  359.  
  360. .p { padding-top:5px; }
  361. .ol, ul { margin-left:10px; padding:5px; }
  362. .ul { list-style-type:square; }
  363.  
  364. .albumart { margin-bottom:0px; }
  365. .albumart img, .audio embed { width:55px; padding-right:3px; }
  366.  
  367. .video embed, .post div.video object {width:250px !important; height:187px !important;}
  368.  
  369. .notes img{width:10px; position:left; top:3px;}
  370.  
  371. .tags {
  372. width:auto;
  373. solid {color:Links};
  374. font-family:silkscreen;
  375. font-size:8px;
  376. text-transform:uppercase;
  377. color:{color:link};
  378. padding:2px;
  379. line-height:1;
  380. margin-left:1px;
  381. }
  382.  
  383. .tags a:hover{
  384. color: {color:Link Hover};
  385. }
  386.  
  387. .pic{
  388. border-top:1px dashed black;
  389. padding-top:3px;
  390. }
  391.  
  392. .pages {
  393. height:16px;
  394. padding-top:5px;
  395. margin-top:10px;
  396. font-size:8px;
  397. font-family:silkscreen;
  398. float:center;
  399. background-color:white;
  400. {block:ifboxshadows};
  401. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  402. {/block:ifboxshadows}
  403. {block:ifboxborders}
  404. border: 1px solid black;
  405. {/block:ifboxborders}
  406. }
  407.  
  408. {font-size: 100%;}
  409.  
  410. {CustomCSS}
  411. iframe#tumblr_controls {right:3px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.5;-webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  412.  
  413. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  414. </style>
  415.  
  416. <link rel="shortcut icon" href="{Favicon}">
  417.  
  418. <link rel="alternate" type="application/rss+xml" title="{Title}" href="{RSS}" />
  419.  
  420. {block:ifrainbowlinks}<script type="text/javascript" src="http://static.tumblr.com/jn17x0j/2Zvltn7mc/rainbow_links.txt
  421. "></script>{/block:ifrainbowlinks}
  422.  
  423. {block:ifinfinitescrolling}<style>#toTop {display:none;text-decoration:none;position:fixed;bottom:20px;right:20px;overflow:hidden;width:30px;height:40px;border:none;text-indent:-999px;background:url(http://static.tumblr.com/hi8vwsz/Q0ull6xz3/totop.png) no-repeat left top;z-index:3000;}#toTopHover {background:url(http://static.tumblr.com/hi8vwsz/Q0ull6xz3/totop.png) no-repeat left -40px;
  424. width:30px;height:40px;display:block;overflow:hidden;float:left;opacity: 0;-moz-opacity: 0;filter:alpha(opacity=0);}
  425. #toTop:active, #toTop:focus {outline:none;}#toTop:active, #toTop:focus {outline:none;}</style>
  426.  
  427. <script type="text/javascript" src="http://static.tumblr.com/53unaru/kx3lgzker/jquery-1.3.2.min.js" charset="utf-8"></script>
  428. <script type="text/javascript" src="http://static.tumblr.com/53unaru/4jtlgzkf8/easing.js"></script>
  429. <script type="text/javascript" src="http://static.tumblr.com/53unaru/y8wlgzkbt/jquery.ui.totop.js"></script>
  430. <script type="text/javascript">
  431. $(document).ready(function() {
  432. $().UItoTop({ easingType: 'easeOutQuart' });
  433. });
  434. </script>{/block:ifinfinitescrolling}
  435.  
  436.  
  437. </head>
  438. <body>
  439. <div id="container">
  440. <div id="center">
  441. <div id="content">
  442. <div id="side">
  443. <center>
  444. <div class="blogtitle"><a href="/">{Title}</a></div>
  445.  
  446. <center>
  447. <div class="navi">
  448. <a href="/">HOME</a> ·
  449. <a href="/ask">ASK</a> ·
  450.  
  451. <a href="#?w=300" rel="02" class="poplight">NAVIGATE&nbsp;</a>·
  452.  
  453. <a href="http://sociallyawkwardgiraffe.tumblr.com/">THEME</a>
  454.  
  455. </div>
  456.  
  457. </center>
  458. <div class="pic">
  459. <img src="{image:Sidebar}" width="180" style=" float:right; border:0px solid {color:borders}; padding:0px; background:transparent;"/>
  460. </div>
  461. <br><br>
  462. </center>
  463. {Description}
  464.  
  465.  
  466. <center>
  467. {block:ifNotInfiniteScrolling}
  468. <br>
  469. {block:PreviousPage} <a href="{PreviousPage}"><font size="2">◄</font></a>{/block:PreviousPage}
  470. {block:NextPage}<a href="{NextPage}"><font size="2">►</font></a>{/block:NextPage}{/block:ifpagination}
  471. {block:PermalinkPagination}
  472. {block:PreviousPost}<a href="{PreviousPost}"><font size="2">▼</font></a>{/block:PreviousPost}
  473. {block:NextPost}<a href="{NextPost}"><font size="2">▲</font></a>{/block:NextPost}
  474. {/block:PermalinkPagination}
  475. {/block:ifNotInfiniteScrolling}
  476.  
  477. </div>
  478. </div>
  479.  
  480. <div id="02" class="popup_block">
  481. <center>
  482. <div style="font-family:amatic sc;font-size:50px;line-height:50px;">links</div>
  483. <br><br>
  484. <div class="links">
  485. <a href="{text:Link 1 URL}">{text:Link 1 Name}</a>&nbsp;·
  486. <a href="{text:Link 2 URL}">{text:Link 2 Name}</a>&nbsp;·
  487. <a href="{text:Link 3 URL}">{text:Link 3 Name}</a>&nbsp;·
  488. <a href="{text:Link 4 URL}">{text:Link 4 Name}</a>&nbsp;
  489. </center>
  490. </div>
  491.  
  492. </div>
  493.  
  494. <div id="content">
  495. {block:Posts}
  496. <div id="entry">
  497. {block:IndexPage}
  498. <div class="permalink">
  499. <a href="{permalink}">{NoteCountWithLabel}</a> <br> <a href="{reblogurl}" target="_blank">reblog</a></div>
  500. {/block:IndexPage}
  501.  
  502. {block:Text}{block:Title}<span class="posttitle">{Title}</span>{/block:Title}<span class="entrytext">{Body}</span>{/block:text}
  503.  
  504. {block:Link}<a href="{URL}" class="posttitle">{Name}</a>{block:Description}{Description}{/block:Description}{/block:link}
  505.  
  506. {block:Photo}<center>{LinkOpenTag}<a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"width=350px/></a>{LinkCloseTag}</center>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Photo}
  507.  
  508. {block:Photoset}<center>{Photoset-250}</center></span>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Photoset}
  509.  
  510. {block:Quote}<span class="posttitle">{Quote}</span>{block:Source}<i> - {Source}</i>{/block:Source}<br>{/block:Quote}
  511.  
  512. {block:Chat}{block:title}<div id="title"><center>{Title}<br></center></div>{/block:title}<div class="chat">{block:Lines}<div class="chat"><div class="line {Alt}"><div class="{Alt} user_{UserNumber}">
  513. {block:Label}<span class="label"><b>{Label}</b></span>{/block:Label}{Line}</div></div></div>{/block:Lines}</div>{/block:Chat}
  514.  
  515. {block:Audio}{block:albumart}<div class="albumart"><img src="{albumarturl}" align="left"></div>{/block:albumart}<div style="width: 300px; height: 20px;">{AudioPlayerGrey}</div><BR>{block:TrackName}<span><strong>Title</strong>:
  516. {TrackName}</span>{/block:TrackName}<br>
  517. {block:Artist}<span><strong>Artist:</strong>
  518. {Artist}</span>{/block:Artist}<br>
  519. {block:Caption}{Caption}{/block:Caption}
  520. {/block:Audio}
  521.  
  522. {block:Video}<center>{Video-250}<BR></center>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Video}
  523.  
  524.  
  525.  
  526. {block:Answer}
  527. <div class="question">
  528. <div class="questionarrow">▼</div>
  529. {Question}
  530. </div>
  531. <div class="asker"><img src="{AskerPortraitURL-24}">{Asker}</div>
  532. <div class="answer">{Answer}</div>
  533. {/block:answer}
  534.  
  535. {block:HasTags}<div class="tags"> tags: {block:Tags}<a href="{TagURL}" target="_blank">#{Tag} </a>{/block:Tags}</div>{/block:HasTags}
  536. </center>
  537.  
  538. {block:PermalinkPage}
  539. <div id="permapage"><Br>{block:Date}{Month} {DayofMonth},{Year}{/block:Date}{block:NoteCount} · {NoteCountWithLabel}{/block:NoteCount}{block:HasTags} · Tags: {block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}{/block:HasTags}</div>
  540. {/block:PermalinkPage}
  541.  
  542. {block:PostNotes}{PostNotes}
  543. {/block:PostNotes}</div>{/block:Posts}
  544.  
  545. </div></div>
  546. </div>
  547. </body>
  548. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement