Advertisement
RupertTheBunny

Hedge Witch Tumblr Theme

May 22nd, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.80 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <tile>{Title}</tile>
  5. <link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="image:header" content="https://static.tumblr.com/2cce058190c90a7316b1c0dcb2446503/tns7vxl/wfVp45jwr/tumblr_static_ehjtbb1tjlwgks8ow800o40cw.gif">
  8. <meta name="image:Avatar" content="http://i.imgur.com/98g9yMP.png">
  9.  
  10. <meta name="color:sidebar" content="black">
  11. <meta name="color:navbar" content="black">
  12. <meta name="color:navbar-hover" content="pink">
  13. <meta name="color:background" content="black">
  14.  
  15.  
  16. <meta name="text:Link One" content="Link One">
  17. <meta name="text:Link One URL" content="Link One URL">
  18. <meta name="text:Link Two" content="Link Two">
  19. <meta name="text:Link Two URL" content="Link Two URL">
  20. <meta name="text:Link Three" content="Link Three">
  21. <meta name="text:Link Three URL" content="Link Three URL">
  22. <meta name="text:Link Four" content="Link Four">
  23. <meta name="text:Link Four URL" content="Link Four URL">
  24. <meta name="text:Link Five" content="Link Five">
  25. <meta name="text:Link Five URL" content="Link Five URL">
  26. <meta name="text:Link Six" content="Link Six">
  27. <meta name="text:Link Six URL" content="Link Six URL">
  28. <meta name="text:Link Seven" content="Link Seven">
  29. <meta name="text:Link Seven URL" content="Link Seven URL">
  30. <meta name="text:Link Eight" content="Link Eight">
  31. <meta name="text:Link Eight URL" content="Link Eight URL">
  32.  
  33. <style type="text/css">
  34.  
  35. /**header*/
  36. .header {
  37. width: auto;
  38. height: 300px;
  39. background-image: url("{image:header}");
  40. background-repeat: no-repeat;
  41. background-size: cover;
  42. background-color: black;
  43. margin-top:-40px;
  44. }
  45.  
  46. #navbar {
  47. overflow: hidden;
  48. background-color: {color:navbar};
  49. margin-left:260px;
  50. width:100%;
  51.  
  52. }
  53.  
  54. #navbar a {
  55. float: left;
  56. display: block;
  57. color: #006f94
  58. text-align: center;
  59. padding: 14px 16px;
  60. text-decoration: none;
  61. font-size: 17px;
  62. }
  63.  
  64. #navbar a:hover {
  65. color:{color:navbar-hover};
  66. }
  67.  
  68. #avatar{
  69. width: 200px;
  70. margin-left: 30px;
  71. }
  72.  
  73. .content {
  74. padding: 16px;
  75. }
  76.  
  77. .sticky {
  78. position: fixed;
  79. top: 0;
  80. width: 100%;
  81. }
  82.  
  83. .sticky + .content {
  84. padding-top: 60px;
  85. }
  86.  
  87. /*****END header********/
  88. body {
  89. background-color: {color:background};
  90. font-family:'Gibson', sans-serif;
  91. font-size: 11px;
  92. color:#006f94;
  93. }
  94.  
  95. a {
  96. text-decoration:none;
  97. color:#006f94;
  98. -webkit-transition: all 0.7s ease;
  99. -moz-transition: all 0.7s ease;
  100. -o-transition: all 0.7s ease;
  101. }
  102.  
  103. a:hover {
  104. color:white;
  105. }
  106.  
  107. b, strong {
  108. color:#878787;
  109. text-transform:uppercase;
  110. }
  111.  
  112. i, em {
  113. color:#878787;
  114. font-family:'Bookman', serif;
  115. }
  116.  
  117. blockquote {
  118. padding:2px 7px;
  119. margin:3px 0 3px 8px;
  120. border-left:1px solid #006f94;
  121. }
  122.  
  123. blockquote img {
  124. max-width:100%;
  125. height:auto;
  126. }
  127.  
  128. img {
  129. max-width: 100%;
  130. }
  131.  
  132. h1 {
  133. font-size:30px;
  134. line-height:30px;
  135. text-align:right;
  136. padding:10px;
  137. }
  138.  
  139. #container {
  140. margin-left:300px;
  141. left:300px;
  142. }
  143.  
  144. .posts {
  145. width:500px;
  146. background-color:#ffffff;
  147. padding:10px;
  148. margin-bottom:30px;
  149. }
  150.  
  151. .permalinks {
  152. background-color:#eee;
  153. padding:5px;
  154. height:12px;
  155. }
  156.  
  157. .permalinks a {
  158. text-decoration:none;
  159. font-size: 9px;
  160. color:#f2992e;
  161. }
  162.  
  163. .permalinks a:hover {
  164. color:#636363;
  165. }
  166.  
  167. .date {
  168. float:left;
  169. }
  170.  
  171. .reblogs {
  172. float:right;
  173. }
  174.  
  175. {block:PermalinkPage}
  176. .tags {
  177. text-align:center;
  178. }
  179.  
  180. .tags a {
  181. text-decoration:none;
  182. font-size: 8px;
  183. text-transform:uppercase;
  184. color:#636363;
  185. }
  186.  
  187. .tags a:hover {
  188. color:#f2992e;
  189. }
  190. {/block:PermalinkPage}
  191.  
  192. /****Sidebar****/
  193.  
  194. #sidebar {
  195. position:fixed;
  196. left:0px;
  197. top:0px;
  198. height:100%;
  199. width:270px;
  200. background:#000;
  201. }
  202.  
  203. #sidebar h1{
  204. font-family: 'Pacifico', cursive;
  205. text-align:center;
  206. }
  207.  
  208. #description {
  209. font-size:10px;
  210. color:#fff;
  211. text-align:justify;
  212. padding:10px;
  213. }
  214.  
  215. #links {
  216. font-size:16px;
  217. padding:10px;
  218. }
  219.  
  220. #links a {
  221. display:inline-block;
  222. color:#006f94;
  223. padding-right:10px;
  224. -webkit-transition: all 0.7s ease;
  225. -moz-transition: all 0.7s ease;
  226. -o-transition: all 0.7s ease;
  227. }
  228.  
  229. #links a:hover {
  230. color:#dddddd;
  231. }
  232.  
  233. .link-home{
  234. font-size: 10px;
  235.  
  236. }
  237.  
  238. .link-ask{
  239. font-size:10px;
  240. margin-left: 60px
  241.  
  242. }
  243.  
  244. .link-one{
  245. font-size:10px;
  246. margin-left: 30px
  247.  
  248. }
  249.  
  250. .link-two{
  251. font-size:10px;
  252.  
  253.  
  254. }
  255.  
  256. /***end sidebar*******/
  257.  
  258. #pagination {
  259. position:fixed;
  260. bottom:30px;
  261. left:850px;
  262. }
  263.  
  264. #pagination a {
  265. color:#006f94;
  266. font-size:20px;
  267. -webkit-transition: all 0.7s ease;
  268. -moz-transition: all 0.7s ease;
  269. -o-transition: all 0.7s ease;
  270. }
  271.  
  272. #pagination a:hover {
  273. color:#ffffff;
  274. }
  275.  
  276. .asker {
  277. font-size:15px;
  278. font-style: italic;
  279. text-align:center;
  280. border-bottom:1px solid #eee;
  281. margin-bottom:5px;
  282. padding-bottom:3px;
  283. }
  284.  
  285. .question {
  286. font-style: italic;
  287. padding-left:50px;
  288. padding-right:50px;
  289. }
  290.  
  291. .quote {
  292. font-size:13px;
  293. letter-spacing:1px;
  294. text-align:center;
  295. border-bottom:1px solid #eee;
  296. margin-bottom:5px;
  297. padding-bottom:3px;
  298. }
  299.  
  300. .quotesource {
  301. font-size:10px;
  302. letter-spacing:1px;
  303. text-align:center;
  304. margin-bottom:5px;
  305. }
  306.  
  307.  
  308. /***Search Bar***/
  309. .search{
  310. position:relative;
  311. }
  312.  
  313. .sfm input {background-color: transparent;
  314. font-size: 8px;
  315. border: 1px solid :#f2992e;
  316. text-transform: uppercase;
  317. margin-top: 0px;
  318. color: #999;
  319. letter-spacing: 1px;
  320. padding: 4px 8px;
  321. font-family: calibri, helvetica, arial;}
  322.  
  323. #sb {
  324.  
  325. height: 15px; vertical-align: top;
  326.  
  327.  
  328. }
  329.  
  330.  
  331. /******************/
  332.  
  333. /*****Credit, do not touch*****/
  334. .credit{
  335. position: fixed;
  336. bottom: 8px;
  337. right: 16px;
  338. }
  339. /***************/
  340.  
  341. </style>
  342. </head>
  343. <body>
  344.  
  345. <div class="header">
  346. </div>
  347.  
  348. <div id="navbar">
  349. <ul>
  350. <a href="{text:Link Three URL}"><img src=https://i.imgur.com/4ZzySjA.png style="height: 30px">{text:Link Three}</a>
  351. <a href="{text:Link Four URL}"><img src=https://i.imgur.com/E1744vA.png style="height: 30px">{text:Link Four}</a>
  352. <a href="{text:Link Five URL}"><img src=https://i.imgur.com/E1744vA.pngg style="height: 30px">{text:Link Five}</a>
  353. <a href="{text:Link Six URL}"><img src=https://i.imgur.com/E1744vA.png style="height: 30px">{text:Link Six}</a>
  354. <a href="{text:Link Seven URL}"><img src=https://i.imgur.com/E1744vA.png style="height: 30px">{text:Link Seven}</a>
  355. <a href="{text:Link Eight URL}"><img src=https://i.imgur.com/E1744vA.png style="height: 30px">{text:Link Eight}</a>
  356.  
  357.  
  358. </ul>
  359.  
  360.  
  361. </div>
  362.  
  363.  
  364. <div id="sidebar">
  365. <h1>{Title}</h1>
  366.  
  367. <div id="avatar"><img src="{image:Avatar}"></div>
  368.  
  369. <div id="description">{block:Description}{Description}{/block:Description}
  370. <div class= "search"><br>
  371. <form action="/search" method="get" class="sfm">
  372. <input type="text" name="q" value="{SearchQuery}" id="sf"/>
  373. <input type="image" value="Search" src="http://static.tumblr.com/f1skqpy/Oxbn13qun/search_icon.png" id="sb"/>
  374. </form>
  375. </div>
  376. </div>
  377.  
  378. <div id="links">
  379. <div class="link-home"><a href="/"><img src=https://i.imgur.com/4ZzySjA.png style="height: 60px">home</a> </div>
  380. <div class="link-ask"></link-ask><a href="/ask"><img src=https://i.imgur.com/E1744vA.png style="height: 40px">Send me a Bunny</a> </div>
  381. <div class="link-one"><a href="{text:Link One URL}"><img src=https://i.imgur.com/E1744vA.png style="height: 40px">{text:Link One}</a> </div>
  382. <div class="link-two"><a href="{text:Link Two URL}"><img src=https://i.imgur.com/E1744vA.png style="height: 40px">{text:Link Two}</a> </div>
  383.  
  384. </div>
  385.  
  386.  
  387. </div>
  388. </div>
  389.  
  390. <div id="pagination">{block:Pagination}
  391. {block:PreviousPage}<a href="{PreviousPage}">prev</a>{/block:PreviousPage} {block:NextPage}<a href="{NextPage}">next</a>
  392. {/block:NextPage}
  393. {/block:Pagination}</div>
  394.  
  395. <div id="container">
  396.  
  397. {block:Posts}
  398.  
  399. <div class="posts">
  400.  
  401. {block:Text}{block:Title}{Title}{/block:Title}{Body}{/block:Text}
  402.  
  403. {block:Photo}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  404.  
  405. {block:Panorama}{LinkOpenTag}<img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Panorama}
  406.  
  407. {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  408.  
  409. {block:Quote}<div class="quote">{Quote}</div>{block:Source}<div class="quotesource">{Source}</div>{/block:Source}{/block:Quote}
  410.  
  411. {block:Link}<a href="{URL}" class="link" {Target}>{Name}</a>{block:Description}{Description}{/block:Description}{/block:Link}
  412.  
  413. {block:Chat}{block:Title}{Title}</a>{/block:Title}
  414. {block:Lines}<li>{block:Label}{Label}{/block:Label}{Line}</li>{/block:Lines}{/block:Chat}
  415.  
  416. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  417.  
  418. {block:Audio}{AudioEmbed}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  419.  
  420. {block:Answer}
  421. <div class="asker">{Asker} whispered</div>
  422. <div class="question">{Question}</div>
  423. {Answer}
  424. {/block:Answer}
  425.  
  426. <div class="permalinks">
  427. <div class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {ShortMonth} {Year} </a><a href="{Permalink}">{block:NoteCount}{NoteCount}{/block:NoteCount}</a></div>
  428. <div class="reblogs">{block:RebloggedFrom}
  429. <a href="{ReblogParentURL}">via;</a>
  430. <a href="{ReblogRootURL}">source;</a>
  431. {/block:RebloggedFrom} <a href="{ReblogURL}">reblog</a></div>
  432. </div>
  433.  
  434. {block:PermalinkPage}<div class="tags">{block:HasTags}{block:Tags}<a href="{TagUrl}"> {Tag}</a>{/block:Tags}{/block:HasTags}</div>{/block:PermalinkPage}
  435.  
  436. </div>
  437.  
  438. {/block:Posts}
  439.  
  440. </div>
  441.  
  442. {block:ContentSource}
  443. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  444. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  445. {/block:SourceLogo}
  446. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  447. {/block:ContentSource}
  448.  
  449. <div class="credit">
  450. <a href="rupertthebunny"><img src= https://image.ibb.co/ny04mx/rabbit.png style="height: 30px"></a>
  451. </div>
  452.  
  453. <!--------Script--------->
  454. <script>
  455. // When the user scrolls the page, execute myFunction
  456. window.onscroll = function() {myFunction()};
  457.  
  458. // Get the navbar
  459. var navbar = document.getElementById("navbar");
  460.  
  461. // Get the offset position of the navbar
  462. var sticky = navbar.offsetTop;
  463.  
  464. // Add the sticky class to the navbar when you reach its scroll position. Remove "sticky" when you leave the scroll position
  465. function myFunction() {
  466. if (window.pageYOffset >= sticky) {
  467. navbar.classList.add("sticky")
  468. } else {
  469. navbar.classList.remove("sticky");
  470. }
  471. }
  472.  
  473. </script>
  474.  
  475.  
  476. </body>
  477. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement