pegasusthemes

page 01 // hestia

Feb 4th, 2018
1,489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-- THEME BY @LEEJORDAN / @VENUSTHMS
  5. do not remove the credit
  6.  
  7. -------------------------------------------------------------------------
  8.  
  9. - terms of use: venusthms.tumblr.com/terms
  10.  
  11. - message me if you got any problems or questions about the code
  12.  
  13. - you'll find instructions about customization through out the code
  14.  
  15. - the grid/filter effect was created with the tutorial by @cyantists
  16.  
  17. ---------------------------------------------------------------------->
  18.  
  19. <title>title</title><link rel="shortcut icon" href="{Favicon}"> <!-- change (tab) title here -->
  20.  
  21. <!---- SCRIPT - DO NOT TOUCH ---->
  22.  
  23. <link href="//dl.dropbox.com/s/50g6fbds3rh4m0j/saturnicons.css" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Karla|Montserrat|Playfair+Display|Quicksand|Raleway" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Lora|PT+Serif|Quattrocento" rel="stylesheet"><link rel="stylesheet" type="text/css" href="//dl.dropbox.com/s/crwotfg9i654fn5/icons.css?dl=0"><link rel="stylesheet" type="text/css" href="//dl.dropbox.com/s/llnh0qezfvh3axt/style.css?dl=0">
  24.  
  25.  
  26. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  27.  
  28. <script>
  29. $(document).ready(function(){
  30. $(".shows").click(function(){
  31. $(".filters").toggle("slow");
  32. });
  33. });
  34. </script>
  35.  
  36.  
  37. <script src="https://static.tumblr.com/xd6ujov/9Rpouml9f/imagesloaded.pkgd.min.js"></script>
  38. <script src="https://static.tumblr.com/f6blkfc/3khouzw5b/masonry.pkgd.min.js"></script>
  39.  
  40. <script>$(document).ready(function(){
  41. var $grid = $(".grid"); $grid.imagesLoaded(function() {
  42. $grid.masonry({
  43. itemSelector: ".item",
  44. columnWidth: 254
  45. });
  46. });
  47. $(".button").click(function(){
  48. $(this).addClass("selected");
  49. $(".button").not($(this)).removeClass("selected");
  50. var ssf = $(this).attr("filter");
  51. $(".item." + ssf).show();
  52. $(".item").not("." + ssf).hide();
  53. $grid.masonry();
  54. });
  55. });</script>
  56. <link href="https://static.tumblr.com/4gatuv1/X8Poxwvz8/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  57. <script src="https://static.tumblr.com/4gatuv1/Aneoxwvz8/jquery.style-my-tooltips.js"></script>
  58.  
  59. <script>
  60. !function(t){t(document).ready(function(){t("a[title]").style_my_tooltips({tip_follows_cursor:!0,tip_delay_time:200,tip_fade_speed:300})})}(jQuery);
  61. </script>
  62.  
  63.  
  64. <style type="text/css">
  65.  
  66. /* tooltips */
  67.  
  68. #s-m-t-tooltip {
  69. max-width: 250px;
  70. margin:24px 14px 7px 12px;
  71. padding:5px 8px;
  72. background: #fff;
  73. border-radius:2px;
  74. font-family: 'Raleway';
  75. letter-spacing: 1px;
  76. font-size:8px;
  77. color:#000;
  78. box-shadow: none;
  79. }
  80.  
  81. /* scrollbar */
  82.  
  83. ::-webkit-scrollbar {
  84. width:5px;
  85. height:17px;
  86. background-color: #F6F6F6;
  87. }
  88. ::-webkit-scrollbar-track {
  89. background-color: #F6F6F6;
  90. }
  91. ::-webkit-scrollbar-thumb {
  92. background-color: #fff;
  93. min-height:24px;
  94. min-width:24px;
  95. }
  96.  
  97. /* selection */
  98.  
  99. ::-moz-selection { background:#eee;color:#000; }
  100. ::selection { background:#eee;color:#000; }
  101.  
  102. /* general */
  103.  
  104. body {
  105. background: #F6F6F6; /* page background color*/
  106. cursor:default;
  107. }
  108.  
  109. /* sidebar*/
  110.  
  111. .side {
  112. background-color: #fff; /* sidebar background */
  113. }
  114.  
  115. .side img {
  116. border-radius: 5px;
  117. }
  118.  
  119. /* sidebar: title */
  120.  
  121. .side h1 {
  122. font-family: 'Playfair Display';
  123. font-size: 16px;
  124. }
  125.  
  126. /* sidebar: description + links */
  127.  
  128. .desc, .links, .filters {
  129. font-family: 'karla';
  130. font-size: 11px;
  131. }
  132.  
  133. /* filters */
  134.  
  135. .button:hover {
  136. color:#C39B9B; /* filter hover color */
  137. }
  138.  
  139. .button.selected {
  140. color:#C39B9B; /* color of selected filter */
  141. }
  142.  
  143. /* members*/
  144.  
  145. .item {
  146. background-color: #fff; /* members backrgound */
  147. border-radius: 4px;
  148. }
  149.  
  150. .item img { /* image */
  151. border-radius: 10px;
  152. }
  153.  
  154. .item h2 { /* title one */
  155. font-family: 'Playfair Display';
  156. font-size: 14px;
  157. }
  158.  
  159. .subtitle, .quote { /* subtitle */
  160. font-family: 'karla';
  161. font-size: 11px;
  162. text-align: left;
  163. }
  164.  
  165. /* links */
  166.  
  167. a {
  168. color: #000;
  169. text-decoration: none;
  170. }
  171.  
  172. a:hover, .shows:hover {
  173. color: #C39B9B; /* links hover colour */
  174. }
  175.  
  176. </style>
  177. </head>
  178.  
  179. <body>
  180.  
  181. <!--- sidebar -->
  182.  
  183. <div class="side">
  184. <img src="{PortraitURL-64}"></img> <!-- replace {PortraitURL-64} with a image url if you don't want your icon there -->
  185. <h1>page title;</h1>
  186. <p class="desc">here goes a description or a quote. it looks best if it's three lines long.</p>
  187.  
  188. <div class="links">
  189. <a href="/">back</a>
  190. <a href="/ask">message</a>
  191. <a href="/">link</a>
  192. <p class="shows">filter</p></div>
  193. <div class="filters">
  194. <div class="button selected" filter="item">all</div>
  195. <div class="button" filter="filter1">filter1</div>
  196. <div class="button" filter="filter2">filter2</div>
  197. <div class="button" filter="filter3">filter3</div>
  198. <!-- copy & paste as needed-->
  199. </div>
  200. </div>
  201.  
  202. <!---- members:
  203.  
  204. explanation: you have to put your filter name ( filter="THISISTHEFILTERNAME") after 'item' (between the " "). IMPORTANT: do not delete 'item' ! you can put as many filters as you like there.
  205.  
  206. layout:
  207.  
  208. <div class="item your filter here ">
  209. <img src="/imageurl"></img><h2>titleone;</h2>
  210. <p class="subtitle">subtitle ; <a href="/">@tumblrurl</a>;</p>
  211. <p class="quote">description</p>
  212. </div>
  213.  
  214. --->
  215.  
  216. <div class="grid">
  217.  
  218. <!--- example --->
  219. <div class="item filter1 filter4">
  220. <img src="https://i.imgur.com/P8jduhr.png"></img><h2>titleone;</h2>
  221. <p class="subtitle">subtitle ; <a href="/">@tumblrurl</a>;</p>
  222. <p class="quote">here you can add any kind of description or quote. don't make it too longe tho. <i>italic</i>; <b>big</b>; <strike>strike</strike></p>
  223. </div>
  224. <!--- example ends --->
  225.  
  226. <!--- DO NOT edit after this point---->
  227. </div>
  228. <div class="vt"><a href="https://venusthms.tumblr.com/" title="venusthms"><img src="https://i.imgur.com/PxFLRpM.png"></img></a></div>
  229.  
  230. </body>
  231. </html>
Advertisement
Add Comment
Please, Sign In to add comment