Advertisement
teruteru

Gray Ghost -【 THEME 51 by Anomaly ☽】

Jul 21st, 2017
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.74 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. THEME #51 by Anomaly ☾ tumblr user twinkleribbon ☽ : GRAY GHOST !!
  8.  
  9. - i made the base code
  10. - please abide by all the rules
  11.  
  12. 【 All themes and pages can be found here : http://twinkleribbon.tumblr.com/thm 】
  13.  
  14. Thank you for using! Or just looking at the code. Whatever you're here for. Either way, it's appreciated!
  15. Feel free to message me if you need any help, my ask box is always open!
  16.  
  17. -->
  18.  
  19. <script src="http://assets.tumblr.com/assets/scripts/tumblelog_post_message_queue.js?_v=ae06d1ab69efc6f29297bf2b7a4160af"></script>
  20. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  21. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  22. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  23.  
  24. <script>
  25. (function($){
  26. $(document).ready(function(){
  27. $("a[title]").style_my_tooltips({
  28. tip_follows_cursor:true,
  29. tip_delay_time:90,
  30. tip_fade_speed:600,
  31. attribute:"title"
  32. });
  33. });
  34. })(jQuery);
  35. </script>
  36.  
  37. <script> function changeNavigation(id)
  38. {document.getElementById('wrapper')
  39. .innerHTML=document.getElementById(id).innerHTML}
  40. </script>
  41.  
  42. <title>{Title}</title>
  43.  
  44. <link rel="shortcut icon" href="{image:favicon}">
  45. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  46. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  47.  
  48. <!--default variables-->
  49.  
  50. <meta name="color:background" content="">
  51. <meta name="color:container" content="">
  52. <meta name="color:blockquote" content="">
  53. <meta name="color:header" content="">
  54. <meta name="color:ask" content="">
  55. <meta name="color:text" content="">
  56. <meta name="color:link" content="">
  57. <meta name="color:hover" content="">
  58. <meta name="color:text shadow" content="">
  59. <meta name="color:text shadow hover" content="">
  60. <meta name="color:selection" content="">
  61. <meta name="color:selection text" content="">
  62. <meta name="color:tooltip" content="">
  63. <meta name="color:tooltip text" content="">
  64. <meta name="color:scrollbar" content="">
  65.  
  66. <meta name="image:favicon" content="">
  67. <meta name="image:background" content="">
  68. <meta name="image:cursor" content="">
  69. <meta name="image:sidebar" content="">
  70. <meta name="image:permalink" content="">
  71. <meta name="image:render" content="">
  72.  
  73. <meta name="text:ask text" content="asked">
  74. <meta name="text:back title" content="">
  75. <meta name="text:next title" content="">
  76.  
  77. <meta name="text:font" content="">
  78. <meta name="text:font size" content="">
  79. <meta name="text:secondary font" content="">
  80. <meta name="text:secondary font size" content="">
  81.  
  82. <meta name="if:bg cover" content="">
  83. <meta name="if:cursor" content="">
  84. <meta name="if:render" content="">
  85.  
  86. <meta name="text:render left" content="">
  87. <meta name="text:render bottom" content="">
  88. <meta name="text:render width" content="">
  89.  
  90. <style type="text/css">
  91.  
  92. @font-face { font-family: "OpenDyslexic-Regular"; src: url('https://dl.dropboxusercontent.com/s/7lk7boh8v38kbh8/OpenDyslexic-Regular.otf?dl=0'); format("truetype");}
  93.  
  94. ::-webkit-scrollbar {
  95. width: 9px;
  96. height: 4px;
  97. background:{color:scrollbar};
  98. border:4px solid {color:container};
  99. }
  100.  
  101. ::-webkit-scrollbar-thumb {
  102. background-color:{color:scrollbar};
  103. border-radius:5px;
  104. }
  105.  
  106. #s-m-t-tooltip {
  107. max-width:300px;
  108. margin:10px 0px 0px 10px;
  109. background-color:{color:tooltip};
  110. font-family:{text:secondary font};
  111. font-size:{text:secondary font size}px;
  112. padding:3px;
  113. color:{color:tooltip text};
  114. z-index:999999999999999999999999999999999999;
  115. }
  116.  
  117. #s-m-t-tooltip:after {
  118. position: absolute;
  119. display: block; content: "";
  120. border-color: transparent {color:tooltip} transparent transparent ;
  121. border-style: solid;
  122. border-width: 5px;
  123. height:0;
  124. width:0;
  125. position:absolute;
  126. top:3px;
  127. left:-10px;
  128. }
  129.  
  130. ::selection {
  131. background: {color:selection};
  132. color: {color:selection text};
  133. }
  134.  
  135. ::-moz-selection {
  136. background: {color:selection};
  137. color: {color:selection text};
  138. }
  139.  
  140. ::-webkit-selection {
  141. background: {color:selection};
  142. color: {color:selection text};
  143. }
  144.  
  145. {block:ifcursor}body, a, a:hover {cursor: url('{image:cursor}'), progress;}{/block:ifcursor}
  146.  
  147. body {
  148. margin:0px;
  149. background:{color:background};
  150. background-image:url('{image:background}');
  151. background-attachment:fixed;
  152. {block:ifbgcover}
  153. background-repeat:no-repeat;
  154. background-size:cover;
  155. {/block:ifbgcover}
  156. color:{color:text};
  157. font-family:{text:font};
  158. font-size:{text:font size}px;
  159. }
  160.  
  161. a {
  162. color:{color:link};
  163. text-decoration:none;
  164. }
  165.  
  166. a:hover {
  167. color:{color:hover};
  168. -webkit-transition: all 0.7s ease;
  169. -moz-transition: all 0.7s ease;
  170. -o-transition: all 0.7s ease;
  171. transition: all 0.7s ease;
  172. }
  173.  
  174. blockquote {
  175. border-left:1px solid {color:blockquote};
  176. padding-left:10px;
  177. }
  178.  
  179. blockquote img {
  180. max-width:100%;
  181. height:auto;
  182. }
  183.  
  184. iframe, img, embed, object, video {
  185. }
  186.  
  187. img {
  188. max-width:auto;
  189. height:auto;
  190. }
  191.  
  192. article {
  193. float:left;
  194. position:relative;
  195. padding:10px;
  196. width:500px;
  197. margin-top:50px;
  198. margin-left:50px;
  199. margin-bottom:50px;
  200. }
  201.  
  202. .posts:blockquote {
  203. border-left:1px solid {color:blockquote};
  204. padding-left:5px;
  205. }
  206.  
  207. .posts img {
  208. max-width:100%;
  209. }
  210.  
  211. #header {
  212. position:fixed;
  213. left:30%;
  214. top:35px;
  215. width:600px;
  216. height:75px;
  217. background:{color:header};
  218. border-top-left-radius:50px;
  219. border-top-right-radius:50px;
  220. z-index:1;
  221. }
  222.  
  223. h1 {
  224. text-align:center;
  225. font-size:calc({text:font size}px + 7px);
  226. }
  227.  
  228. .links {
  229. position:fixed;
  230. left:calc(30% + 100px);
  231. top:93px;
  232. z-index:1;
  233. }
  234.  
  235. a.link {
  236. font-family:{text:secondary font};
  237. font-size:calc({text:secondary font size}px * 2);
  238. padding:2px;
  239. background:{color:container};
  240. border-top-left-radius:5px;
  241. border-top-right-radius:5px;
  242. text-shadow:1px 1px {color:text shadow};
  243. }
  244.  
  245. a.link:hover {
  246. text-shadow:2px 2px 1px {color:text shadow hover};
  247. }
  248.  
  249. #wrapper {
  250. left:30%;
  251. position:fixed;
  252. width:600px;
  253. height:80%;
  254. margin-top:100px;
  255. overflow-y:scroll;
  256. overflow-x:none;
  257. background:{color:container};
  258. }
  259.  
  260. .tabcontent {
  261. padding:10px;
  262. width:500px;
  263. margin-top:50px;
  264. margin-left:50px;
  265. margin-bottom:50px;
  266. }
  267.  
  268. #sidebar {
  269. position:fixed;
  270. width:200px;
  271. left:calc(30% - 200px);
  272. margin-top:200px;
  273. background-color:{color:container};
  274. border-top-left-radius:10px;
  275. border-bottom-left-radius:10px;
  276. padding:10px;
  277. }
  278.  
  279. #footer {
  280. position:fixed;
  281. left:30%;
  282. top:calc(80% + 100px);
  283. background:{color:header};
  284. width:600px;
  285. height:50px;
  286. }
  287.  
  288. .title{
  289. font-weight:normal;
  290. font-size:calc({text:font size}px + 5px);
  291. margin:0 0 10px 0;
  292. text-align:center;
  293. }
  294.  
  295. .quote{
  296. font-weight:normal;
  297. font-size:calc({text:font size}px + 5px);
  298. font-style:italic;
  299. margin:0 0 10px 0;
  300. text-align:center;
  301. }
  302.  
  303. .quotesource {
  304. margin:0 0 10px 0;
  305. text-align:right;
  306. }
  307.  
  308. #ask{
  309. font-family:consolas;
  310. font-size:11px;
  311. line-height:13px;
  312. padding:5px;
  313. color:{color:Title};
  314. }
  315.  
  316. .bubble {
  317. align:right;
  318. background: {color:ask};
  319. margin:7px 0px 5px 66px;
  320. padding:10px;
  321. position: relative;
  322. -moz-border-radius:5px;
  323. -webkit-border-radius:5px;
  324. border-radius:5px;
  325. }
  326.  
  327. .bubble p {
  328. margin:1px 0px;
  329. }
  330.  
  331. .bubble span {
  332. position:absolute;
  333. width:1px;
  334. height:1px;
  335. font-size: 0;
  336. line-height: 1px;
  337. left:-10px;
  338. top:10px;
  339. border-top:7px solid transparent;
  340. border-bottom:7px solid transparent;
  341. border-right:10px solid {color:ask};
  342. }
  343.  
  344. .perma {
  345. margin-top:10px;
  346. padding:5px;
  347. text-align:center;
  348. font-family:{text:secondary font};
  349. font-size:{text:secondary font size}px;
  350. text-shadow:1px 1px {color:text shadow};
  351. }
  352.  
  353. .perma a:hover {
  354. text-shadow:2px 2px 1px {color:text shadow hover};
  355. }
  356.  
  357. #pagi {
  358. width:500px;
  359. }
  360.  
  361. a.pagi {
  362. background:{color:text shadow};
  363. color:{color:container};
  364. border-radius:2px;
  365. font-size:calc({text:font size}px + 3px);
  366. margin-bottom:5px;
  367. }
  368.  
  369. a.pagi:hover {
  370. background:{color:text shadow hover};
  371. }
  372.  
  373. .credit {
  374. position:fixed;
  375. bottom:4px;
  376. left:8px;
  377. font: 9px consolas;
  378. text-transform:uppercase;
  379. letter-spacing: 0px;
  380. padding: 2px;
  381. }
  382.  
  383. </style>
  384. </head>
  385. <body>
  386.  
  387. <div id="header"></div>
  388.  
  389. <div class="links">
  390. <a class="link" href="/">home</a>
  391. <a class="link" onClick="changeNavigation('ask')">message</a>
  392. <a class="link" onClick="changeNavigation('about')">about</a>
  393. <a class="link" onClick="changeNavigation('link')">links</a>
  394. <a class="link" onClick="changeNavigation('tag')">tags</a>
  395. </div>
  396.  
  397. <div id="sidebar">
  398. <center><img style="width:100px; border-radius:100%; padding:3px; border:1px solid {color:header};" src="{image:sidebar}"></center>
  399. {block:Description}{Description}{/block:Description}
  400. </div>
  401.  
  402. <div id="wrapper">
  403.  
  404. {block:Posts}
  405. <article>
  406.  
  407. {block:Text}
  408. {block:Title}<div class="title">{Title}</div>{/block:Title}
  409. {Body}
  410. {/block:Text}
  411.  
  412. {block:Photo}
  413. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  414. {block:Caption}{Caption}{/block:Caption}
  415. {/block:Photo}
  416.  
  417. {block:Photoset}
  418. {Photoset-500}
  419. {block:Caption}{Caption}{/block:Caption}
  420. {/block:Photoset}
  421.  
  422. {block:Quote}
  423. <div class="quote">"{Quote}"</div>
  424. {block:Source}<div class="quotesource">{Source}</div>{/block:Source}
  425. {/block:Quote}
  426.  
  427. {block:Link}
  428. <div class="title"><a href="{URL}">{Name}</a></div>
  429. {block:Description}<div class="description">{Description}</div>{/block:Description}
  430. {/block:Link}
  431.  
  432. {block:Chat}
  433. {block:Title}<div class="title">{Title}</div>{/block:Title}
  434. {block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b>{/block:Label}&nbsp;{Line}</div>{/block:Lines}
  435. {/block:Chat}
  436.  
  437. {block:Video}
  438. {Video-500}
  439. {block:Caption}{Caption}{/block:Caption}
  440. {/block:Video}
  441.  
  442. {block:Audio}
  443. {AudioPlayerWhite}
  444. {block:TrackName}{TrackName}<br>{/block:TrackName}
  445. {block:Artist}{Artist}<br>{/block:Artist}
  446. {block:Album}{Album}{/block:Album}
  447. {block:Caption}{Caption}{/block:Caption}
  448. {/block:Audio}
  449.  
  450. {block:Answer}
  451. <img src="{AskerPortraitURL-48}" align="left" style="border-radius:48px;">
  452. <div class="bubble"><span></span>{Asker} {text:ask text}: {Question}&nbsp;</div>
  453. <div class="answer">{Answer}</div>
  454. {/block:Answer}
  455.  
  456. {block:IndexPage}
  457. <div class="perma"><a href="{Permalink}" title="{NoteCountWithLabel}"><img src="{image:permalink}"></a>
  458. {block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}{/block:HasTags}
  459. </div>
  460. {block:IndexPage}
  461.  
  462. {block:PermalinkPage}
  463. <center>
  464. {block:Date}Posted on {DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix} at {12HourWithZero}:{Minutes}{CapitalAmPm}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount}
  465. {block:RebloggedFrom}<br><a title="{ReblogParentName}" href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  466. {block:RebloggedFrom}• <a title="{ReblogRootName}" href="{ReblogRootURL}">source</a>{/block:RebloggedFrom}
  467. {block:HasTags}<br> tagged as: {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags} {/block:HasTags}
  468. </center>
  469.  
  470. {block:PostNotes}{PostNotes}{/block:PostNotes}
  471. {/block:PermalinkPage}
  472.  
  473. </article>
  474.  
  475. {/block:Posts}
  476.  
  477. {block:IndexPage}
  478. {block:Pagination}
  479. <div id="pagi">
  480. {block:PreviousPage}<a class="pagi" style="float:left;" href="{PreviousPage}">{text:back title}</a>{/block:PreviousPage}
  481. {block:NextPage}<a class="pagi" style="float:right;" href="{NextPage}">{text:next title}</a>{/block:NextPage}
  482. </div>
  483. {/block:IndexPage}
  484. {/block:Pagination}
  485.  
  486. </div>
  487.  
  488.  
  489. <div id="ask" style="display:none">
  490. <div class="tabcontent">
  491. <h1>Message Me</h1>
  492.  
  493. <br><br>
  494. <iframe frameborder="0" scrolling="no" width="100%" height="190" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  495. <br><br>
  496. <iframe frameborder="0" scrolling="no" width="100%" height="300" src="http://www.tumblr.com/submit_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="submit_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  497.  
  498. </div>
  499.  
  500. <div id="about" style="display:none">
  501. <div class="tabcontent">
  502. <h1>About Me</h1>
  503. <br><br>
  504.  
  505. </div>
  506.  
  507. <div id="link" style="display:none">
  508. <div class="tabcontent">
  509. <h1>Links</h1>
  510. <br><br>
  511. links here
  512.  
  513. </div>
  514.  
  515. <div id="tag" style="display:none">
  516. <div class="tabcontent">
  517. <h1>Tags</h1>
  518. <br><br>
  519. tags here
  520.  
  521. </div>
  522. </div>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527.  
  528. <div id="footer">
  529.  
  530. </div>
  531.  
  532.  
  533.  
  534. {block:ifrender}<div style="position:fixed; left:{text:render left}px; bottom:{text:render bottom}px; z-index:1;"><img src="{image:render}" width="{text:render width}"></div>{/block:ifrender}
  535.  
  536. <div class="credit"><a href="http://twinkleribbon.tumblr.com/" title="theme"><img src="http://orig04.deviantart.net/151c/f/2015/334/6/e/tumblr_inline_mij52fv1gc1qz4rgp_by_kittystuff-d9il7w5.gif" /></a></div>
  537.  
  538. </body>
  539. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement