Advertisement
pegasusthemes

page 14 // nova

May 14th, 2019
2,310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.53 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. - filter tutorial & controls fix by @cyantists
  16.  
  17. - icon font: https://feathericons.com/
  18.  
  19. ---------------------------------------------------------------------->
  20.  
  21. <title>members</title><link rel="shortcut icon" href="{Favicon}">
  22.  
  23. <!---- scripts: no need to edit ---->
  24.  
  25. <meta name="viewport" content="width=device-width, initial-scale=1">
  26. <link href="https://fonts.googleapis.com/css?family=Karla|Roboto+Mono:400,700" rel="stylesheet"><link href="//dl.dropbox.com/s/4rmswptv2h7043v/venus.css" rel="stylesheet"><script src="//dl.dropbox.com/s/kuve9uzc0u6fybt/vcolor.js"></script><script src="//dl.dropbox.com/s/h6bz6sg6ut14cko/venus.js"></script>
  27. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script src="//dl.dropbox.com/s/rptsu2g0s6n1832/nova.js"></script><script src="//dl.dropbox.com/s/5hnk5w8xmzsgkdn/feather.js"></script>
  28. <link href="http://static.tumblr.com/4gatuv1/X8Poxwvz8/style-my-tooltips.css" rel="stylesheet" type="text/css" /><script src="http://static.tumblr.com/4gatuv1/Aneoxwvz8/jquery.style-my-tooltips.js"></script><script>!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);</script>
  29.  
  30. <script src="https://static.tumblr.com/xd6ujov/9Rpouml9f/imagesloaded.pkgd.min.js"></script><script src="https://static.tumblr.com/f6blkfc/3khouzw5b/masonry.pkgd.min.js"></script>
  31.  
  32. <script>$(document).ready(function(){
  33. var $grid = $(".grid"); $grid.imagesLoaded(function() {
  34. $grid.masonry({
  35. itemSelector: ".item",
  36. columnWidth: 270, /* needs to be 20 more than item width */
  37. horizontalOrder: true,
  38. fitWidth: true
  39. })
  40. });
  41. $(".button").click(function(){
  42. $(this).addClass("selected");
  43. $(".button").not($(this)).removeClass("selected");
  44. var ssf = $(this).attr("filter");
  45. $(".item." + ssf).show();
  46. $(".item").not("." + ssf).hide();
  47. $grid.masonry();
  48. });
  49.  
  50. $grid.on( 'click', '.item', function() {
  51. $(this).toggleClass('superlong');
  52. // trigger layout after item size changes
  53. $grid.masonry('layout');
  54. });
  55. });</script>
  56.  
  57. <style type="text/css">
  58.  
  59. /* colors */
  60. :root {
  61. --background: #f5f5f5;
  62. --header: #fff;
  63. --items: #fff;
  64. --border: #f6f6f6;
  65. --text: #222!important;
  66. --links: #222;
  67. --links-hover: #666;
  68. }
  69.  
  70. /* fonts */
  71. body {font-family: 'karla';font-size: 12px;}
  72. h1, .item .url {font-family: 'Roboto Mono', monospace;}
  73.  
  74. /* cursor */
  75. .button, .long, a {cursor:pointer;}
  76.  
  77. /* header*/
  78. .intro { /*content*/
  79. width: 30%;
  80. margin: 10vh auto -10px auto; /*first number = position from top*/
  81. text-align: justify;
  82. }
  83.  
  84. .intro img { /*icon*/
  85. width: 25px;
  86. height: 25px;
  87. border-radius: 100%;
  88. margin-right: 10px;
  89. }
  90.  
  91. nav {right: 10px;top: 10px;} /*navigation*/
  92. .button.selected {text-decoration: line-through;} /*selected filter*/
  93.  
  94. /*items*/
  95. .item {width: 250px;height: auto;} /* need to change js (at the top) as well */
  96. .item img, .desc, .url span {width: 220px} /*keep 30 less than item*/
  97.  
  98. .desc, .item .url {text-align: left;}
  99.  
  100. .long {height: 30px;} /*length after which text gets cut off*/
  101. .long:after {content: '. . . more';} /*text after cut out*/
  102.  
  103.  
  104. </style><link href="//dl.dropbox.com/s/inp0mgl2nu4nsb7/style.css" rel="stylesheet" type="text/css" /></head>
  105.  
  106. <body>
  107.  
  108. <!--- header starts --->
  109. <header>
  110.  
  111. <nav> <!--- links --->
  112. <a href="https://www.tumblr.com/follow/{name}" title="follow"><i data-feather="plus"></i></a>
  113. <a href="/" title="return"><i data-feather="x"></i></a>
  114. </nav>
  115.  
  116. <div class="intro"><!--- header content --->
  117. <img src="{PortraitURL-64}" /> <!--replace {PortraitURL-64} with an image url if you don't want your icon there -->
  118. <h1>title here</h1>
  119. <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo</p>
  120.  
  121. <div class="filters"><!--- filters --->
  122. <div class="button selected" filter="item">show all</div>
  123. <div class="button" filter="filter1">filter one</div>
  124. <div class="button" filter="filter2">filter two</div>
  125. <div class="button" filter="filter3">filter three</div>
  126. </div>
  127.  
  128. </div>
  129. </header>
  130. <!--- header ends --->
  131.  
  132. <!--- grid starts --->
  133. <div class="grid">
  134.  
  135. <!--- edit the filters: replace filter1/filter2/etc with the filter names you set above (<div class="button" filter="THISISYOURFILTERNAME">filter one</div>) but do NOT delete 'item' --->
  136.  
  137. <!--- item starts --->
  138. <div class="item filter1">
  139.  
  140. <img src="https://images.unsplash.com/photo-1462743708072-4ed3a4a860be?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=690&q=80" />
  141.  
  142. <div class="desc">
  143. <h1>Name Here</h1>
  144. <p>Description Here</p>
  145. </div>
  146.  
  147. <div class="url"><span><a href="/">@url here</a></span></div>
  148.  
  149. </div>
  150. <!--- item ends: copy & paste as needed --->
  151.  
  152.  
  153. <!----- DO NOT EDIT AFTER THIS LINE ---->
  154. </div>
  155. <div class="vt"><a href="https://venusthms.tumblr.com/" title="venusthms"><img src="https://i.imgur.com/PxFLRpM.png"></img></a></div>
  156. <script>feather.replace()</script>
  157. </body>
  158. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement