Advertisement
singforabsolution

Theme By Kelsey#27a

May 13th, 2012
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.39 KB | None | 0 0
  1. <!-- please don't remove the credit or use as a base code \m/-->
  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="#000000"/>
  44. <meta name="color:Post Title" content="#1C1C1C"/>
  45. <meta name="color:Link" content="#084444"/>
  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. padding: 5px;
  142. border: 1px solid #ddd;
  143. float: left;
  144. line-height:12px;
  145. font-family:silkscreen;
  146. font-size:8px;
  147. position: fixed;
  148. top: 50%; left: 50%;
  149. z-index: 99999;
  150. /*--CSS3 Box Shadows--*/
  151. -webkit-box-shadow: 0px 0px 20px #fff;
  152. -moz-box-shadow: 0px 0px 20px #fff;
  153. box-shadow: 0px 0px 20px #fff;
  154. }
  155. img.btn_close {
  156. float: right;
  157. margin: 3px 3px 0 0;
  158. }
  159. /*--Making IE6 Understand Fixed Positioning--*/
  160. *html #fade {
  161. position: absolute;
  162. }
  163. *html .popup_block {
  164. position: absolute;
  165. }
  166.  
  167. #container {
  168. margin:auto;
  169. position:right;
  170. width:1200px;
  171. color: {color:Title};
  172. _margin-left:10%;
  173. }
  174.  
  175. #content {
  176. float:center;
  177. width:408px;
  178. padding:3px;
  179. margin-top:0px;
  180. margin-left:200px;
  181. background:transparent;
  182. }
  183.  
  184. #entry {
  185. margin-top:15px;
  186. padding:3px;
  187. background-color:clear;
  188. }
  189.  
  190. #entry img{
  191. {block:IndexPage}max-width:400px;{/block:IndexPage}
  192. }
  193.  
  194. #permalink{
  195. display: block;
  196. padding:1px;
  197. padding-right:3px;
  198. margin-top:2px;
  199. font-family:silkscreen;
  200. font-size:8px;
  201. line-height:11px;
  202. text-align:right;
  203. text-transform: uppercase;
  204. }
  205.  
  206. #side {
  207. position:fixed !important;
  208. width:200px;
  209. height:auto;
  210. font-size:11px;
  211. line-height:11px;
  212. background-color:clear;
  213. margin-top:40px;
  214. margin-left:470px ;
  215. padding:2px;
  216. }
  217.  
  218. #links {
  219. position:fixed !important;
  220. width:15px;
  221. {block:ifNotIconLinks}
  222. width:75px;
  223. {/block:ifNotIconLinks}
  224. height:200px;
  225. line-height:10px;
  226. font-family:silkscreen;
  227. font-size:8px;
  228. background-color:clear;
  229. margin-top:90px;
  230. margin-left:675px ;
  231. padding 2px;
  232. z-index:1;
  233. }
  234.  
  235. #nav a{
  236. display:block;
  237. width: 15px;
  238. {block:ifNotIconLinks}
  239. width:135px;
  240. {/block:ifNotIconLinks}
  241. height:10px;
  242. padding-top:0px;
  243. margin-left:2px;
  244. margin-top:5px;
  245. text-align:left;
  246. z-index:1;
  247. display: inline-block;
  248. }
  249. #nav a:hover{
  250. margin-left:15px;
  251. -moz-transition: all .5s ease-out;
  252. -o-transition: all .5s ease-out;
  253. -webkit-transition: all .5s ease-out;
  254. }
  255.  
  256. .blogtitle{
  257. font-size:43px;
  258. font-family:amatic sc;
  259. line-height:40px;
  260. color: {color:Blog Title};
  261. text-transform:uppercase;
  262. }
  263.  
  264. .posttitle{
  265. font-size:29px;
  266. line-height:29px;
  267. font-family:amatic sc;
  268. color: {color:Post Title};
  269. }
  270.  
  271. blockquote{
  272. padding:0px 0px 2px 5px;
  273. margin:0px 0px 2px 1px;
  274. border-left: 1px solid {color:Text};}
  275. blockquote p, ul{margin:0px; padding:0px;
  276. }
  277.  
  278. .chat .line{
  279. color:{color:Chat 1};
  280. margin: 0 0 0px;
  281. padding: 2px;
  282. }
  283. .chat .line.odd{
  284. color:{color:Chat 2};
  285. }
  286.  
  287. .label {font-weight:bold; color:{color:text}}
  288.  
  289. .question {
  290. color:{color:Text};
  291. font-size:10px;
  292. font-weight:normal;
  293. line-height:95%;
  294. background: {color:Ask Background};
  295. margin: 0 0 10px 0;
  296. padding: 10px 15px;
  297. position:relative;
  298. -moz-border-radius:5px; -webkit-border-radius:5px;
  299. }
  300.  
  301. .questionarrow {
  302. width:13px;
  303. height:7px;
  304. font-size:30px;
  305. position:absolute;
  306. color:{color:Ask Background};
  307. bottom: -3.5px;
  308. left: 260px;
  309. }
  310.  
  311.  
  312. .asker {
  313. width:500px;
  314. text-align:left;
  315. color:{color:Text};
  316. font-family:silkscreen;
  317. font-size:9px;
  318. }
  319.  
  320. .asker a {
  321. color:{color:Text};
  322. }
  323.  
  324. .asker img {
  325. float:left;
  326. margin-left:220px;
  327. vertical-align:top;
  328. margin-right:3px;
  329. max-height:15px;
  330. }
  331.  
  332. a img{border:0px;}
  333.  
  334. .p { padding-top:5px; }
  335. .ol, ul { margin-left:10px; padding:5px; }
  336. .ul { list-style-type:square; }
  337.  
  338. .albumart { margin-bottom:0px; }
  339. .albumart img, .audio embed { width:55px; padding-right:3px; }
  340.  
  341. .video embed, .post div.video object {width:250px !important; height:187px !important;}
  342.  
  343. .notes img{width:10px; position:left; top:3px;}
  344.  
  345.  
  346. .pages {
  347. {block:ifNotInfiniteScrolling}
  348. height:16px;
  349. padding-top:5px;
  350. margin-top:10px;
  351. font-size:12px;
  352. font-family:default;
  353. float:center;
  354. {/block:ifNotInfiniteScrolling}
  355. }
  356.  
  357. {font-size: 100%;}
  358.  
  359. {CustomCSS}
  360. </style>
  361.  
  362. <link rel="shortcut icon" href="{Favicon}">
  363.  
  364. <link rel="alternate" type="application/rss+xml" title="{Title}" href="{RSS}" />
  365.  
  366. {block:ifrainbowlinks}<script type="text/javascript" src="http://static.tumblr.com/jn17x0j/2Zvltn7mc/rainbow_links.txt
  367. "></script>{/block:ifrainbowlinks}
  368.  
  369. {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;
  370. width:30px;height:40px;display:block;overflow:hidden;float:left;opacity: 0;-moz-opacity: 0;filter:alpha(opacity=0);}
  371. #toTop:active, #toTop:focus {outline:none;}#toTop:active, #toTop:focus {outline:none;}</style>
  372.  
  373. <script type="text/javascript" src="http://static.tumblr.com/53unaru/kx3lgzker/jquery-1.3.2.min.js" charset="utf-8"></script>
  374. <script type="text/javascript" src="http://static.tumblr.com/53unaru/4jtlgzkf8/easing.js"></script>
  375. <script type="text/javascript" src="http://static.tumblr.com/53unaru/y8wlgzkbt/jquery.ui.totop.js"></script>
  376. <script type="text/javascript">
  377. $(document).ready(function() {
  378. $().UItoTop({ easingType: 'easeOutQuart' });
  379. });
  380. </script>{/block:ifinfinitescrolling}
  381.  
  382.  
  383. </head>
  384. <body>
  385. <div id="container">
  386. <div id="content">
  387.  
  388. <div id="links">
  389. <div id="nav">
  390. {block:ifIconLinks}
  391. <a href="/"><img src="http://media.tumblr.com/tumblr_m3y1qjPPcg1r869vr.gif"
  392. title="home"></a> <br>
  393. <a href="/ask"><img src="http://media.tumblr.com/tumblr_m3y36sjfsc1r869vr.gif"
  394. title="ask"></a> <br>
  395. {block:ifPopupLinks}
  396. <a href="#?w=300" rel="02" class="poplight"><img src="http://media.tumblr.com/tumblr_m3y1v3YxYI1r869vr.gif"
  397. title="links"><br>&nbsp;</a>
  398. {/block:ifPopuplinks}
  399. <a href="/archive"><img src="http://media.tumblr.com/tumblr_m3y36dwSIz1r869vr.gif"
  400. title="archive"></a> <br>
  401. <a href="http://sociallyawkwardgiraffe.tumblr.com"><img src="http://media.tumblr.com/tumblr_m3y1sz0YYk1r869vr.gif"
  402. title="theme"></a>
  403. {/block:ifIconLinks}
  404. {block:ifNotIconLinks}
  405. <a href="/">home</a><br>
  406. <a href="/ask">ask</a><br>
  407. {block:ifPopupLinks}
  408. <a href="#?w=300" rel="02" class="poplight">links&nbsp;</a>
  409. {/block:ifPopuplinks}
  410. <a href="/archive">archive</a><br>
  411. <a href="http://sociallyawkwardgiraffe.tumblr.com">theme ©</a>
  412. {/block:ifNotIconLinks}
  413. </div>
  414. </div>
  415. <div id="side">
  416. <center>
  417. <div class="blogtitle"><a href="/">{Title}</a></div>
  418. </center>
  419. <img src="{image:sidebar}" width="200" style=" float:right; border:0px solid {color:borders}; padding:0px; background:transparent;"/>
  420. <br>
  421. {Description}
  422. <br><br>
  423. <center>
  424. {block:ifNotInfiniteScrolling}
  425. <div class="pages">
  426. <center>
  427. {block:PreviousPage} <a href="{PreviousPage}">←</a>{/block:PreviousPage}
  428. {block:NextPage}<a href="{NextPage}">→</a>{/block:NextPage}
  429. {/block:ifNotInfiniteScrolling}
  430. </center>
  431. </div>
  432. </div>
  433.  
  434. <div id="02" class="popup_block">
  435. <center>
  436. <div class="posttitle">
  437. Links
  438. </div>
  439. <br>
  440. <div class="xtralinks"><br>
  441. <a href="{text:Link 1 URL}">{text:Link 1 name}</a>&nbsp;
  442. <a href="{text:Link 2 URL}">{text:Link 2 name}</a>&nbsp;
  443. <a href="{text:Link 3 URL}">{text:Link 3 name}</a>&nbsp;
  444. <a href="{text:Link 4 URL}">{text:Link 4 name}</a>&nbsp;
  445. </center>
  446. </div>
  447.  
  448. <div id="content">
  449. {block:Posts}
  450. <div id="entry">
  451.  
  452.  
  453. {block:Text}{block:Title}<span class="posttitle">{Title}</span>{/block:Title}<span class="entrytext">{Body}</span>{/block:text}
  454.  
  455. {block:Link}<a href="{URL}" class="posttitle">{Name}</a>{block:Description}{Description}{/block:Description}{/block:link}
  456.  
  457. {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}
  458.  
  459. {block:Photoset}<center>{Photoset-400}</center></span>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Photoset}
  460.  
  461. {block:Quote}<span class="posttitle">❝{Quote}❞</span>{block:Source}<i> - {Source}</i>{/block:Source}<br>{/block:Quote}
  462.  
  463. {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}">
  464. {block:Label}<span class="label"><b>{Label} </b></span>{/block:Label}{Line}</div></div></div>{/block:Lines}</div>{/block:Chat}
  465.  
  466. {block:Audio}{block:albumart}<div class="albumart"><img src="{albumarturl}" align="left"></div>{/block:albumart}<div style="width: 300px; height: 20px;">{AudioPlayerBlack}</div><BR>{block:TrackName}<span><strong>Title</strong>:
  467. {TrackName}</span>{/block:TrackName}<br>
  468. {block:Artist}<span><strong>Artist:</strong>
  469. {Artist}</span>{/block:Artist}<br>
  470. {block:Caption}{Caption}{/block:Caption}
  471. {/block:Audio}
  472.  
  473. {block:Video}<center>{Video-400}<BR></center>{block:ifshowcaption}{block:Caption}{Caption}{/block:Caption}{/block:ifshowcaption}{/block:Video}
  474.  
  475.  
  476.  
  477. {block:Answer}
  478. <div class="question">
  479. <div class="questionarrow">▼</div>
  480. {Question}
  481. </div>
  482. <div class="asker"><img src="{AskerPortraitURL-24}">{Asker}</div>
  483. <div class="answer">{Answer}</div>
  484. {/block:answer}
  485.  
  486. </center>
  487.  
  488. {block:PermalinkPage}
  489. <div id="permalink">
  490. <Br>
  491. {block:Date}
  492. {TimeAgo} on
  493. {Month} {DayofMonth},{Year}
  494. {/block:Date}
  495. {block:NoteCount} · {NoteCountWithLabel}
  496. {/block:NoteCount}
  497. {block:HasTags} · Tags:
  498. {block:Tags}<a href="{TagURL}">#{Tag} </a>
  499. {/block:Tags}
  500. {/block:HasTags}
  501. </div>
  502. {/block:PermalinkPage}
  503.  
  504. {block:IndexPage}
  505. <div id="permalink">
  506. <l><a href="{Permalink}">
  507. {NoteCountWithLabel}</a> +
  508. <a href="{ReblogURL}" target="_blank" class="details">Reblog</a></l>
  509. </div>
  510. {/block:IndexPage}
  511.  
  512. {block:PostNotes}{PostNotes}
  513. {/block:PostNotes}</div>{/block:Posts}
  514.  
  515. </div>
  516.  
  517. </div></div>
  518. </div>
  519.  
  520. </div>
  521. </body>
  522. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement