Advertisement
singforabsolution

Theme By Kelsey #20

Apr 28th, 2012
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.31 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: ;
  127. font-size:11px;
  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. {block:iftinycursor}cursor: url(http://i.imgur.com/IepP2.jpg), progress{/block:iftinycursor};
  141. }
  142.  
  143. .popup_block{
  144. display: none;
  145. background-image: url({image:Main});
  146. padding: 10px;
  147. float: left;
  148. font-size: 12px;
  149. position: fixed;
  150. top: 50%; left: 50%;
  151. z-index: 1;
  152. {block:ifboxshadows};
  153. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  154. {/block:ifboxshadows}
  155. {block:ifboxborders}
  156. border: 5px solid #B5B5B5;
  157. {/block:ifboxborders}
  158. }
  159. img.btn_close {
  160. float: right;
  161. margin: -5px -5px 0 0;
  162. }
  163. *html .popup_block {
  164. position: absolute;
  165. }
  166.  
  167. #container {
  168. margin:auto;
  169. position:relative;
  170. width:800px;
  171. color: {color:Title};
  172. _margin-left:10%;
  173. }
  174.  
  175. #center {
  176. margin:auto;
  177. position:relative;
  178. width:800px;
  179. background-color:;
  180. overflow:auto;
  181. overflow-y:hidden;
  182. }
  183.  
  184. #content {
  185. float:center;
  186. width:363px;
  187. padding:3px;
  188. margin-top:10px;
  189. margin-left:185px;
  190. background:transparent;
  191. {block:ifboxborders}
  192. width:370px;
  193. {/block:ifboxborders}
  194. }
  195.  
  196. #entry {
  197. margin-top:15px;
  198. padding:5px;
  199. background-color:white;
  200. background-image: url({image:Main});
  201. {block:ifboxshadows};
  202. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  203. {/block:ifboxshadows}
  204. {block:ifboxborders}
  205. border: 5px solid #B5B5B5;
  206. {/block:ifboxborders}
  207. }
  208.  
  209. #entry img{
  210. {block:IndexPage}max-width:350px;{/block:IndexPage}
  211. }
  212.  
  213. #entry .permalink a{
  214. color:{color:Link};
  215. }
  216.  
  217. #entry .permalink{
  218. width:auto;
  219. margin-top:5px;
  220. position:absolute;
  221. text-align:left;
  222. font-family:silkscreen;
  223. font-size:8px;
  224. overflow:hidden;
  225. background-color:transparent;
  226. margin-left:375px;
  227. opacity:0.0;
  228. background-color:clear;
  229. }
  230.  
  231. #entry:hover .permalink{
  232. margin-left:375px;
  233. margin-top:-3px;
  234. overflow:visible;
  235. -webkit-transition: opacity 0.3s linear; opacity: 1;
  236. -webkit-transition: all 0.3s linear;
  237. -moz-transition: all 0.3s linear;
  238. transition: all 0.3s linear;
  239. }
  240.  
  241. #side {
  242. float:center;
  243. width:356px;
  244. height:205px;
  245. font-size:10px;
  246. line-height:10px;
  247. background-color:white;
  248. background-image: url({image:Main});
  249. margin-top:-13px;
  250. margin-left:0px ;
  251. padding:2px;
  252. {block:ifboxshadows};
  253. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  254. {/block:ifboxshadows}
  255. {block:ifboxborders}
  256. margin-top:-13px;
  257. border: 5px solid #B5B5B5;
  258. {/block:ifboxborders}
  259. }
  260.  
  261. .links {
  262. font-family:amatic sc;
  263. font-size:23px;
  264. line-height:29px;
  265. }
  266.  
  267. .navi {
  268. font-family:amatic sc;
  269. font-size:25px;
  270. line-height:24px;
  271. text-align:left;
  272. padding-top:3px;
  273. }
  274.  
  275. .blogtitle{
  276. font-size:43px;
  277. font-family:Amatic Sc;
  278. line-height:35px;
  279. padding-top:3px;
  280. color: {color:Blog Title};
  281. text-transform:uppercase;
  282. font-weight:bold;
  283. }
  284.  
  285. .posttitle{
  286. font-size:25px;
  287. line-height:23px;
  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:8px;
  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. .pages {
  388. height:15px;
  389. width:360px;
  390. padding-top:5px;
  391. margin-top:10px;
  392. font-size:8px;
  393. float:center;
  394. background-image:url({image:Main});
  395. {block:ifboxshadows};
  396. box-shadow: 0px 5px 20px rgba(0,0,0,0.35);
  397. {/block:ifboxshadows}
  398. {block:ifboxborders}
  399. border: 5px solid #B5B5B5;
  400. {/block:ifboxborders}
  401. }
  402.  
  403. {font-size: 100%;}
  404.  
  405. {CustomCSS}
  406. 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;}
  407.  
  408. 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;}
  409. </style>
  410.  
  411. <link rel="shortcut icon" href="{Favicon}">
  412.  
  413. <link rel="alternate" type="application/rss+xml" title="{Title}" href="{RSS}" />
  414.  
  415. {block:ifrainbowlinks}<script type="text/javascript" src="http://static.tumblr.com/jn17x0j/2Zvltn7mc/rainbow_links.txt
  416. "></script>{/block:ifrainbowlinks}
  417.  
  418. {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;
  419. width:30px;height:40px;display:block;overflow:hidden;float:left;opacity: 0;-moz-opacity: 0;filter:alpha(opacity=0);}
  420. #toTop:active, #toTop:focus {outline:none;}#toTop:active, #toTop:focus {outline:none;}</style>
  421.  
  422. <script type="text/javascript" src="http://static.tumblr.com/53unaru/kx3lgzker/jquery-1.3.2.min.js" charset="utf-8"></script>
  423. <script type="text/javascript" src="http://static.tumblr.com/53unaru/4jtlgzkf8/easing.js"></script>
  424. <script type="text/javascript" src="http://static.tumblr.com/53unaru/y8wlgzkbt/jquery.ui.totop.js"></script>
  425. <script type="text/javascript">
  426. $(document).ready(function() {
  427. $().UItoTop({ easingType: 'easeOutQuart' });
  428. });
  429. </script>{/block:ifinfinitescrolling}
  430.  
  431.  
  432. </head>
  433. <body>
  434. <div id="container">
  435. <div id="center">
  436. <div id="content">
  437. <div id="side">
  438. <center>
  439. <div class="blogtitle"><a href="/">{Title}</a></div>
  440.  
  441. <img src="{image:sidebar}" height="155"; width="155"; style=" float:right; padding-right:6px; padding-top:5px; padding-bottom:2px; padding-left:2px; margin-right: -4px;background:transparent;"/>
  442.  
  443.  
  444. <div class="navi">
  445. <a href="/">HOME</a> ·
  446. <a href="/ask">ASK</a> ·
  447.  
  448. <a href="#?w=360" rel="02" class="poplight">NAVIGATE&nbsp;</a> ·
  449.  
  450. <a href="http://sociallyawkwardgiraffe.tumblr.com/">THEME</a>
  451.  
  452. </div>
  453.  
  454. </center>
  455. <br>
  456. {Description}
  457.  
  458.  
  459. </div>
  460. </div>
  461.  
  462. <div id="02" class="popup_block">
  463. <center>
  464. <div style="font-family:amatic sc;font-size:50px;line-height:50px;">links</div>
  465. <br><br>
  466. <div class="links">
  467. <a href="{text:Link 1 URL}">{text:Link 1 Name}</a>&nbsp;·
  468. <a href="{text:Link 2 URL}">{text:Link 2 Name}</a>&nbsp;·
  469. <a href="{text:Link 3 URL}">{text:Link 3 Name}</a>&nbsp;·
  470. <a href="{text:Link 4 URL}">{text:Link 4 Name}</a>&nbsp;
  471. </center>
  472. </div>
  473.  
  474. </div>
  475.  
  476. <div id="content">
  477. {block:Posts}
  478. <div id="entry">
  479. {block:IndexPage}
  480. <div class="permalink">
  481. <a href="{permalink}">{NoteCountWithLabel}</a> <br> <a href="{reblogurl}" target="_blank">reblog</a></div>
  482. {/block:IndexPage}
  483.  
  484. {block:Text}{block:Title}<span class="posttitle">{Title}</span>{/block:Title}<span class="entrytext">{Body}</span>{/block:text}
  485.  
  486. {block:Link}<a href="{URL}" class="posttitle">{Name}</a>{block:Description}{Description}{/block:Description}{/block:link}
  487.  
  488. {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}
  489.  
  490. {block:Photoset}<center>{Photoset-250}</center></span>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Photoset}
  491.  
  492. {block:Quote}<span class="posttitle">{Quote}</span>{block:Source}<i> - {Source}</i>{/block:Source}<br>{/block:Quote}
  493.  
  494. {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}">
  495. {block:Label}<span class="label"><b>{Label}</b></span>{/block:Label}{Line}</div></div></div>{/block:Lines}</div>{/block:Chat}
  496.  
  497. {block:Audio}{block:albumart}<div class="albumart"><img src="{albumarturl}" align="left"></div>{/block:albumart}<div style="width: 500px; height: 20px;">{AudioPlayerBlack}</div><BR>{block:TrackName}<span><strong>Title</strong>:
  498. {TrackName}</span>{/block:TrackName}<br>
  499. {block:Artist}<span><strong>Artist:</strong>
  500. {Artist}</span>{/block:Artist}<br>
  501. {block:Caption}{Caption}{/block:Caption}
  502. {/block:Audio}
  503.  
  504. {block:Video}<center>{Video-250}<BR></center>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Video}
  505.  
  506.  
  507.  
  508. {block:Answer}
  509. <div class="question">
  510. <div class="questionarrow">▼</div>
  511. {Question}
  512. </div>
  513. <div class="asker"><img src="{AskerPortraitURL-24}">{Asker}</div>
  514. <div class="answer">{Answer}</div>
  515. {/block:answer}
  516.  
  517. {block:HasTags}<div class="tags"> tags: {block:Tags}<a href="{TagURL}" target="_blank">#{Tag} </a>{/block:Tags}</div>{/block:HasTags}
  518. </center>
  519.  
  520. {block:PermalinkPage}
  521. <div id="permapage"><Br>
  522. {block:Date}{Month} {DayofMonth},{Year}{/block:Date}
  523. {block:NoteCount} · {NoteCountWithLabel}{/block:NoteCount}
  524. {block:HasTags} · Tags: {block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}{/block:HasTags}
  525. </div>
  526. {/block:PermalinkPage}
  527.  
  528. {block:PostNotes}{PostNotes}
  529. {/block:PostNotes}</div>{/block:Posts}
  530.  
  531. <center>
  532. {block:ifNotInfiniteScrolling}
  533. <br>
  534. <div class="pages">
  535. {block:PreviousPage} <a href="{PreviousPage}"><font size="2">◄</font></a>{/block:PreviousPage}
  536. {block:NextPage}<a href="{NextPage}"><font size="2">►</font></a>{/block:NextPage}{/block:ifpagination}
  537. {block:PermalinkPagination}
  538. {block:PreviousPost}<a href="{PreviousPost}"><font size="2">▼</font></a>{/block:PreviousPost}
  539. {block:NextPost}<a href="{NextPost}"><font size="2">▲</font></a>{/block:NextPost}
  540. {/block:PermalinkPagination}
  541. </div>
  542. {/block:ifNotInfiniteScrolling}
  543.  
  544. </div></div>
  545. </div>
  546. </body>
  547. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement