Advertisement
scormalfoys

Theme #10 - Athena

Sep 20th, 2014
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.04 KB | None | 0 0
  1.  
  2. <!-- Theme by scormalfoys.tumblr.com
  3. Do not steal any part of this code
  4. I'll probably cry and then hunt you down
  5. Thanks -->
  6.  
  7. <!DOCTYPE html>
  8. <head>
  9.  
  10. <script type="text/javascript">
  11. function unhide(divID) {
  12. var item = document.getElementById(divID);
  13. if (item) {
  14. item.className=(item.className=='hidden')?'unhidden':'hidden';
  15. }
  16. }
  17. </script>
  18.  
  19. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  20.  
  21. <title>{Title}</title>
  22.  
  23. <link rel="shortcut icon" href="{Favicon}">
  24. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  25. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  26.  
  27. <!--Default Variables-->
  28.  
  29. <meta name="color:Background" content="#ffffff"/>
  30. <meta name="color:Text" content="#aaaaaa"/>
  31. <meta name="color:Link" content="#000000"/>
  32. <meta name="color:Link Hover" content="#000000"/>
  33. <meta name="color:Link Hover BG" content="#FCFF21"/>
  34. <meta name="color:Title" content="#000000"/>
  35. <meta name="color:Border" content="#000000"/>
  36. <meta name="color:Search BG" content="#000000"/>
  37. <meta name="color:Search Text" content="#fff"/>
  38.  
  39. <meta name="if:Search Bar" content="1"/>
  40.  
  41. <meta name="image:Sidebar Image" content=""/>
  42.  
  43. <meta name="text:Ask URL" content="/ask"/>
  44. <meta name="text:Ask Title" content="link"/>
  45. <meta name="text:Link 1 URL" content="/" />
  46. <meta name="text:Link 1" content="link" />
  47. <meta name="text:Link 2 URL" content="/" />
  48. <meta name="text:Link 2" content="link" />
  49. <meta name="text:Link 3 URL" content="/" />
  50. <meta name="text:Link 3" content="link" />
  51.  
  52.  
  53. <!-- jquery for tooltips-->
  54.  
  55.  
  56. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  57.  
  58. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  59.  
  60. <script>
  61.  
  62. (function($){
  63.  
  64. $(document).ready(function(){
  65.  
  66. $("a[title]").style_my_tooltips({
  67.  
  68. tip_follows_cursor:true,
  69.  
  70. tip_delay_time:30,
  71.  
  72. tip_fade_speed:300,
  73.  
  74. attribute:"title"
  75.  
  76. });
  77.  
  78. });
  79.  
  80. })(jQuery);
  81.  
  82. </script>
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. <!--CSS customization here. -->
  90.  
  91. <style type="text/css">
  92.  
  93. #s-m-t-tooltip{
  94. position:absolute;
  95. margin-top: 15px;
  96. z-index:9999;
  97. background:{color:background};
  98. }
  99.  
  100.  
  101.  
  102. /*basics*/
  103. blockquote {padding:5px 0 5px 30px;
  104. border-left:1px solid {color:text};
  105. margin-left:30px;
  106. }
  107.  
  108. body {
  109. background:{color:background};
  110. color:{color:text};
  111. font-family:arial;
  112. font-size:11px;
  113. text-align:justify;
  114. margin:0;
  115. line-height:16px;}
  116.  
  117.  
  118. a {
  119. color:{color:Link};
  120. text-decoration:none;
  121. }
  122.  
  123. a:hover {
  124. color:{color:Link Hover};
  125. background:{color:Link Hover BG};
  126. }
  127.  
  128. img{opacity:1;
  129. border:none;
  130. text-decoration:none}
  131.  
  132.  
  133. small {
  134. font-size:9px;}
  135.  
  136. big {
  137. font-size:12px;}
  138.  
  139.  
  140. #title {font-size:12px;
  141. line-height:18px;
  142. font-weight:bold;
  143. margin-bottom:10px;
  144. text-transform:uppercase;
  145. text-align:left;}
  146.  
  147.  
  148. /*sidebar*/
  149. #sidebar {text-align:left;
  150. position:fixed;
  151. margin-left:-300px;
  152. margin-top:150px;
  153. width:200px;
  154. }
  155.  
  156. #sidebarim {margin-bottom:-18px;
  157. }
  158.  
  159. #sidebarim img {width:198px;
  160. border:1px solid {color:Border};
  161. border-top:0px;
  162. }
  163.  
  164. #blogt {font-size:9px;
  165. padding:6px;
  166. border:1px solid {color:Border};
  167. text-align:center;
  168. letter-spacing:1px;
  169. color:{color:Title};
  170. }
  171.  
  172. #links {
  173. line-height:9px;
  174. border:1px solid {color:Border};
  175. border-top:0px;
  176. padding:3px;
  177. padding-top:7px;
  178. font-size:9px;
  179. text-align:center;
  180. text-transform:lowercase;
  181. }
  182.  
  183.  
  184. #links a {
  185. padding-left:5px;
  186. padding-right:5px;
  187. display:inline-block;
  188. margin-bottom:5px;
  189. }
  190.  
  191. #description {
  192. margin-top:14px;
  193. padding:6px;
  194. border:1px solid {color:Border};
  195. border-top:0px;
  196. font-size:9px;
  197. width:186px;
  198. line-height:12px;
  199. text-align:justify;
  200. }
  201.  
  202. #searchbox {
  203. padding:6px;
  204. padding-bottom:7px;
  205. width:186px;
  206. border:1px solid {color:Border};
  207. border-top:0px;
  208. }
  209.  
  210. .sfm input {background-color:{color:Search BG};
  211. font-size: 8px;
  212. border: 0px;
  213. text-transform: uppercase;
  214. margin-top: 0px;
  215. color:{color:Search Text};
  216. height:10px;
  217. letter-spacing: 1px;
  218. padding: 4px 8px;
  219. font-family: calibri, helvetica, arial;}
  220.  
  221. #sb {height: 10px; vertical-align: bottom;}
  222.  
  223.  
  224. /*pagination*/
  225. #pagination {
  226. margin:50px 0;
  227. text-transform:lowercase;
  228. font-weight:bold;
  229. }
  230. #pagination a {
  231. padding:0 15px;
  232. -webkit-transition: all 0.25s ease-out;
  233. -o-transition: all 0.25s ease-out;
  234. -webkit-transition: all 0.25s ease-out;
  235. -moz-transition: all 0.25s ease-out;
  236. }
  237.  
  238. #pagination a:hover {
  239. background:#fff;
  240. font-style:italic;
  241. letter-spacing:2px;
  242. -webkit-transition: all 0.25s ease-out;
  243. -o-transition: all 0.25s ease-out;
  244. -webkit-transition: all 0.25s ease-out;
  245. -moz-transition: all 0.25s ease-out;
  246. }
  247.  
  248. /*container*/
  249. #con {
  250. margin-left:450px;
  251. position:absolute;
  252. }
  253.  
  254.  
  255.  
  256. /*posts*/
  257.  
  258. #entries {
  259. margin-top:75px;
  260. width:500px;
  261. }
  262.  
  263.  
  264.  
  265. #posts {
  266. width:500px;
  267. {block:IndexPage}
  268. margin-bottom:75px;
  269. {/block:IndexPage}
  270. {block:PermalinkPage}
  271. margin-bottom:50px;
  272. {/block:PermalinkPage}
  273.  
  274. }
  275. #posts img {
  276. max-width:500px;
  277. }
  278.  
  279. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  280. .caption {width:100%;
  281. margin-top:10px;
  282.  
  283. }
  284.  
  285. /*quote*/
  286.  
  287. #titlequote{text-align:left;
  288. font-size:14px;
  289. line-height:18px;
  290. font-weight:bold;
  291. }
  292. #source {
  293. margin-top:15px;
  294. margin-left:15px;}
  295.  
  296. /*audio*/
  297.  
  298. .player {
  299. width:25px;
  300. height:25px;
  301. overflow:hidden;
  302. position:absolute;
  303. background:white;}
  304.  
  305. .audioinfo {
  306. margin-left:50px;
  307. }
  308.  
  309.  
  310. /*asks*/
  311. .q {margin-bottom:10px;
  312. }
  313. .as {
  314. font-weight:bold;}
  315.  
  316. .a {
  317. margin-top:10px;
  318. }
  319.  
  320.  
  321. /*chat*/
  322.  
  323. .chat ol {
  324. padding:0;
  325. list-style:none;
  326. }
  327. .line {padding:5px 0;}
  328.  
  329. .label {font-weight:bold;
  330. }
  331.  
  332.  
  333.  
  334.  
  335.  
  336. /*permalink and notes*/
  337.  
  338. #permalink {
  339. margin-top:15px;
  340. font-size:9px;
  341. text-transform:uppercase;
  342. }
  343. #permalink a {margin-right:10px;
  344. }
  345.  
  346.  
  347. .tags {
  348. word-break:break-all;
  349. font-size:9px;
  350. }
  351.  
  352. .pagenotes {
  353. {block:IndexPage}
  354. display: none!important;
  355. {/block:IndexPage}
  356. width:400px;
  357. text-align:left;
  358.  
  359. }
  360. .pagenotes img {
  361. display:none!important;}
  362. .pagenotes li {
  363. list-style-type:none;
  364. padding:5px 0px;
  365. text-align:left;
  366. margin:0 0 0 -40px;
  367. }
  368.  
  369. .hidden {display: none;}
  370. .unhidden {display: block;}
  371.  
  372. #credit {
  373. bottom:5px;
  374. right:5px;
  375. font-size:8px;
  376. text-transform:uppercase;
  377. color:#000;
  378. position:fixed;
  379. }
  380.  
  381. {CustomCSS}
  382.  
  383.  
  384. </style>
  385.  
  386.  
  387.  
  388. </head>
  389.  
  390. <body>
  391.  
  392. <div id="con">
  393.  
  394. <div id="sidebar">
  395. <div id="blogt"><a href="/">{Title}</a></div>
  396. <div id="sidebarim"><img src="{image:Sidebar Image}"></div>
  397. <div id="description">{Description}</div>
  398. <div id="links">
  399. <a href="{text:Ask URL}">{text:Ask Title}</a>
  400. {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
  401. {block:ifLink2}<a href="{text:Link 2 URL}">{text:Link 2}</a>{/block:ifLink2}
  402. {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a>{/block:ifLink3}
  403. {block:ifSearchBar}<a href="javascript:unhide('displaybx');">search</a>{/block:ifSearchBar}
  404. </div>{block:ifSearchBar}
  405. <div id="displaybx" class="hidden">
  406. <div id="searchbox"><center>
  407. <form action="/search" method="get" class="sfm">
  408. <input type="text" name="q" value="{SearchQuery}" id="sf" style="width:140px;"/>
  409. <input type="image" value="Search" src="http://davidbrianmurphy.drupalgardens.com/sites/g/files/g424681/f/styles/1000_wide/public/mag_glass_white.png?itok=Rvs3wLu4" id="sb"/>
  410. </form></center>
  411. </div>
  412. </div>
  413. {/block:ifSearchBar}
  414.  
  415.  
  416.  
  417. </div>
  418.  
  419.  
  420.  
  421.  
  422. <div id="entries">
  423.  
  424. {block:Posts}
  425. <div id="posts">
  426.  
  427.  
  428. {block:Quote}
  429.  
  430.  
  431. <div id="titlequote">“{Quote}”</div>
  432. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  433. {/block:Quote}
  434.  
  435.  
  436.  
  437. {block:Text}
  438.  
  439. {block:Title}
  440. <div id="title">{Title}</div>{/block:Title}
  441. {Body}
  442. {/block:Text}
  443.  
  444. {block:Link}
  445. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  446. {/block:Link}
  447.  
  448. {block:Chat}
  449. {block:Title}
  450. <h1>{Title}</h1>
  451. {/block:Title}
  452. <div class="chat">
  453. <ol>{block:Lines}
  454. <li class="line {Alt}">
  455. {block:Label}
  456. <span class="label">
  457. {Label}</span>
  458. {/block:Label}{Line}</li>
  459. {/block:Lines}
  460. </ol></div>
  461. {/block:Chat}
  462.  
  463. {block:Photo}
  464. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}
  465. {/block:Photo}
  466.  
  467. {block:Photoset}
  468. {Photoset-500}
  469. {/block:Photoset}
  470.  
  471. {block:Video}
  472. {Video-500}
  473. {/block:Video}
  474.  
  475. {block:Audio}
  476. <div class="player">{AudioPlayerWhite}</div>
  477. <div class="audioinfo">
  478. {block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  479. </div>
  480. {/block:Audio}
  481.  
  482. {block:Answer}
  483. <div class="q">
  484. <div class="as">{Asker} said: </div>
  485. {Question}</div>
  486. <div class="a">{Answer}</div>
  487. {/block:Answer}
  488.  
  489. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  490.  
  491. {block:Date}
  492. <div id="permalink">
  493. <a href="{Permalink}" >{12Hour}:{Minutes} {AmPm}</a>{block:NoteCount}<a href="{Permalink}">+ {NoteCount}</a>{/block:NoteCount}{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}
  494. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  495. </div>
  496. {/block:Date}
  497.  
  498.  
  499.  
  500. </div>
  501.  
  502.  
  503. {block:PostNotes}
  504. <div class="pagenotes">
  505. {PostNotes}
  506. </div>
  507. {/block:PostNotes}
  508.  
  509.  
  510. {/block:Posts}
  511.  
  512.  
  513. <div id="pagination"><center>
  514. {block:Pagination}
  515. {block:PreviousPage}
  516. <a href="{PreviousPage}">&larr; ebb </a>
  517. {/block:PreviousPage}
  518.  
  519.  
  520. {block:NextPage}
  521. <a href="{NextPage}">surge &rarr;</a>
  522. {/block:NextPage}
  523. {/block:Pagination}</center>
  524. </div>
  525.  
  526.  
  527.  
  528.  
  529. </div>
  530.  
  531. </div>
  532.  
  533.  
  534. {block:ContentSource}
  535. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  536. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  537. {/block:SourceLogo}
  538. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  539. {/block:ContentSource}
  540.  
  541. <div id="credit"><a href="http://scormalfoys.tumblr.com">scor</a></div>
  542.  
  543. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement