Ikxa

blogroll #001

Sep 7th, 2016
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.21 KB | None | 0 0
  1. <!--------------------- THEME BY: anyhs-themes.tumblr.com --------------------->
  2. <!DOCTYPE html>
  3.  
  4. <html>
  5. <head>
  6.     <title>{Title} | Blogroll</title>
  7.     <link rel="shortcut icon" href="{Favicon}" />
  8.  
  9.     <style>
  10.  
  11.  
  12. .bg {background: #000; /** mude o #000 pela cor q vc quer no background (fundo) da página **/
  13. }
  14.  
  15.  
  16.  
  17. .fonte {color: #aaa; /** mude o #aaa pela cor q vc quer nas letras **/
  18. }
  19.  
  20.  
  21.  
  22. .title {color: #fff; /** mude o #fff pela cor q vc quer nos títulos **/
  23. }
  24.  
  25.  
  26.  
  27. .bordas {border: 1px solid #333; /** mude o #333 pela cor q vc quer nas bordas dos icons **/
  28. }
  29.  
  30.  
  31.  
  32. .botao {background: #111; /** mude o #111 pela cor q vc quer no fundo do menu **/
  33.    color: #fff; /** mude o #fff pela cor q vc quer nas letras do menu **/
  34. }
  35.  
  36.  
  37.  
  38. #qTip {color: #fff; /** mude o #fff pela cor q vc quer nas letras da plaquinha que aparece quando vc passa o mouse por cima dos icons **/
  39.    
  40.     background: #111; /** mude o #111 pela cor q vc quer no fundo da plaquinha que aparece quando vc passa o mouse por cima dos icons **/
  41.     }
  42.  
  43.  
  44.  
  45. body::-webkit-scrollbar-thumb:vertical {
  46.     background: #fff; /** mude o #fff pela cor q vc quer na barra de rolagem **/
  47. }
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. /********************************************************************************************** DAQUI PARA BAIXO VOCÊ NÃO DEVE MEXER EM MAIS NADA ********************************** A MENOS QUE SAIBA O QUE ESTÁ FAZENDO *****************************************************************************************************/
  55.  
  56.  
  57. body {margin: 0px; margin-bottom: 40px; font-family: 'Handlee'; font-size: 12px;}
  58. body::-webkit-scrollbar {width: 5px; height: 5px; margin: 5px;}
  59. body::-webkit-scrollbar-button:vertical { height:0px; display:block;}
  60. body::-webkit-scrollbar-thumb:vertical {border-radius: 5px;}
  61.  
  62. a {text-decoration: none;}
  63.  
  64.  
  65. #qTip {margin: -10px 0 0 16px; text-align: left; display: none; position: absolute; text-transform: uppercase; z-index: 99; font-size: 10px; font-family: 'Handlee'; padding: 5px; line-height: 13px;}
  66.  
  67.  
  68. body::-webkit-scrollbar-thumb:vertical {
  69.     background: #fff; /** AQUI VOCÊ DEFINE A COR DA BARRA DE ROLAGEM **/
  70. }
  71.  
  72. /****** HEADER ******/
  73. #header {text-align: center; width: 100%;}
  74. #header h1 {font-weight: normal; font-size: 28px; font-family: 'Handlee'; margin: 0px; margin-top: 40px;}
  75.  
  76. #menu {font-size: 11px; margin-top: 0px; position: relative; width: 100%; padding: 20px 0px;}
  77. #menu a {padding: 2px; width: 80px; transition: .5s; padding: 3px; width: 60px; display: inline-block; margin: 0px 2px;}
  78. #menu a:hover {text-decoration: line-through; letter-spacing: 3px;}
  79.  
  80. .menu {position: relative; z-index: 999; width: 100%;}
  81. .sticky {position: fixed; top: 0px; z-index: 999;}
  82.  
  83.  
  84. /****** BLOGS ******/
  85. #blogs {width: 1200px; height: 40px; margin: 0px auto; text-align: center;}
  86.  
  87. #blogs ul {list-style: none; margin: 0px; margin-left: -40px;}
  88.  
  89. #blogs li {transition: .5s; display: inline-block; margin: 11px; width: 40px; height: 40px; position: relative; z-index: 2; padding: 4px; border-radius: 0%;}
  90. #blogs li:hover {transform: scale(1.5);}
  91.  
  92. #blogs li img {transition: .9s; width: 40px; margin: 0px; opacity: .5;  z-index: 3; border-radius: 0%;}
  93. #blogs li:hover img {opacity: 1;}
  94.  
  95.  
  96.  
  97. /****** DON'T REMOVE THE CREDITS, this theme isn't yours! ******/
  98. /****** NÃO REMOVA OS CRÉDITOS, este theme não é seu! **********/
  99. #cred {position: fixed; bottom: 20px; right: -150px; width: 205px; padding: 5px; transition: .9s; font-size: 11px; z-index: 999;}
  100.  
  101. /****** DON'T REMOVE THE CREDITS, this theme isn't yours! ******/
  102. /****** NÃO REMOVA OS CRÉDITOS, este theme não é seu! **********/
  103.  
  104.  
  105.     </style>
  106. </head>
  107.  
  108. <body class="bg" class="fonte">
  109.  
  110.  
  111. <!------ DON'T REMOVE THE CREDITS, this theme isn't yours! ------>
  112. <!------ NÃO REMOVA OS CRÉDITOS, este theme não é seu! ---------->
  113. <a href="http://anyhs-themes.tumblr.com" target="_blank" class="title">
  114. <div id="cred" class="bg">
  115.    &copy; Theme</div>
  116. </a>
  117. <!------ DON'T REMOVE THE CREDITS, this theme isn't yours! ------>
  118. <!------ NÃO REMOVA OS CRÉDITOS, este theme não é seu! ---------->
  119.  
  120.  
  121.  
  122. <!------ HEADER ------>
  123. <div id="header">
  124. <div class="menu">
  125. <nav id="menu" class="fonte bg">
  126.     <a href="/" class="botao">Voltar</a>
  127.     <small></small>
  128.     <a href="/ask" class="botao">Ask</a>
  129. </nav>
  130. </div>
  131.  
  132. </div>
  133.  
  134. <!------ BLOGS ------>
  135. <div id="blogs" class="fonte">
  136.  
  137. {block:Following}
  138. <ul>
  139.  
  140. {block:Followed}
  141. <li class="bordas">
  142. <a href="{FollowedURL}" title="{FollowedName}" target="_blank">
  143. <img src="{FollowedPortraitURL-64}"/>
  144. </a>
  145. </li>
  146. {/block:Followed}
  147.  
  148. </ul>
  149. {/block:Following}
  150.  
  151.  
  152. </div>
  153.  
  154.  
  155. </body>
  156.  
  157. <!--- SCRIPTS --->
  158. <link href='http://fonts.googleapis.com/css?family=Graduate|Baumans' rel='stylesheet' type='text/css'>
  159.    
  160. <script type="text/javascript" src="http://static.tumblr.com/tiu5k68/xTkm8wqw2/tumblr-title-qtip.js"></script>
  161.  
  162. <script>
  163. var menu = document.querySelector('.menu');
  164. var origOffsetY = menu.offsetTop;
  165.  
  166. function onScroll(e) {
  167. window.scrollY >= origOffsetY ? menu.classList.add('sticky') :
  168. menu.classList.remove('sticky');
  169. }
  170.  
  171. document.addEventListener('scroll', onScroll);
  172. </script>
  173. <!--- SCRIPTS --->
  174.  
  175. </html>
  176.  
  177. <!--------------------- THEME BY: anyhs-themes.tumblr.com --------------------->
Advertisement
Add Comment
Please, Sign In to add comment