HighKingFen

Hedge Witches

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