Advertisement
singforabsolution

Theme By Kelsey#27b

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