Advertisement
crimical

code 8 | weathered

Mar 9th, 2016
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.38 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!----------------------------------------------------------------------
  5. "weathered" |8| by soltvde ~ crimicalthemes
  6.  
  7. you may
  8. - customize the code as much as you want
  9.  
  10. as long as you do not
  11. - claim the base as your own
  12. - take parts of the code for other themes
  13. - delete the credit
  14.  
  15. thank you!
  16. ----------------------------------------------------------------------->
  17.  
  18. <title>tags</title>
  19.  
  20. <link rel="shortcut icon" href="{Favicon}">
  21. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  22.  
  23. <!-- fonts -->
  24.  
  25. <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700|PT+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  26.  
  27. <!-- masonry -->
  28.  
  29. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  30.  
  31. <script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  32.  
  33. <script>
  34. $(function(){
  35. var $container = $('#main');
  36. $container.imagesLoaded(function(){
  37. $container.masonry({
  38. itemSelector: '.post',
  39. });
  40. });
  41. $container.infinitescroll({
  42. itemSelector : ".post",
  43. navSelector : "div.pagination",
  44. nextSelector : ".pagination a#next",
  45. loadingImg : "",
  46. loadingText : "<em></em>",
  47. bufferPx : 10000,
  48. extraScrollPx: 12000,
  49. },
  50. // trigger Masonry as a callback
  51. function( newElements ) {
  52. var $newElems = $( newElements ).css({ opacity: 0 });
  53. // ensure that images load before adding to masonry layout
  54. $newElems.imagesLoaded(function(){
  55. $newElems.animate({ opacity: 1 });
  56. $container.masonry( 'appended', $newElems, true );
  57. });
  58. }
  59. );
  60. });
  61. </script>
  62.  
  63. <style type="text/css">
  64.  
  65. /* * basic * */
  66.  
  67. body{
  68. margin:0px;
  69. padding:0px;
  70. background:url('URL') white repeat; /* add background image here */
  71. color:#333;
  72. font-family:'pt sans';
  73. font-size:9px;
  74. line-height:180%;
  75. text-align:justify;
  76. }
  77.  
  78. a{
  79. text-decoration:none;
  80. color:#333;
  81. }
  82.  
  83. a:hover{
  84. opacity:0.6;
  85. letter-spacing:2px;
  86. }
  87.  
  88. u{
  89. border-bottom:1px solid;
  90. text-decoration:none;
  91. }
  92.  
  93. blockquote{
  94. margin-left:20px;
  95. border-left:3px solid #f7f7f7;
  96. padding-left:17px;
  97. }
  98.  
  99. img{
  100. display:block;
  101. max-width:100%;
  102. }
  103.  
  104. small{ font-size:10px !important; }
  105.  
  106. .line, hr{
  107. width:100px;
  108. height:3px;
  109. background:#f0f0f0;
  110. margin:13px auto 10px;
  111. border:0;
  112. }
  113.  
  114. .line{ margin:8px auto 13px; }
  115.  
  116. *, *:hover{
  117. -webkit-transition:0.8s ease-in-out;
  118. -moz-transition:0.8s ease-in-out;
  119. -o-transition:0.8s ease-in-out;
  120. transition:0.8s ease-in-out;
  121. }
  122.  
  123. /* * features * */
  124.  
  125. #tumblr_controls{
  126. position:fixed !important;
  127. opacity:0.5;
  128. -webkit-filter:invert(1);
  129. -webkit-filter:blur(3);
  130. }
  131.  
  132. #tumblr_controls:hover{ opacity:1; }
  133.  
  134. ::-webkit-scrollbar{
  135. height:auto;
  136. width:15px;
  137. background-color:{color:border};
  138. border:7px solid #fff;
  139. }
  140.  
  141. ::-webkit-scrollbar-thumb{
  142. background-color:#333;
  143. border:7px solid #fff;
  144. height:auto;
  145. }
  146.  
  147. ::selection{ background:#333; color:#fff; }
  148. ::-moz-selection{ background:#333; color:#fff; }
  149.  
  150. /* * topbar * */
  151.  
  152. #top{
  153. background:white;
  154. margin:100px auto 0;
  155. width:360px;
  156. padding:30px 40px 30px;
  157. border:1px solid #f5f5f5;
  158. text-align:center;
  159. }
  160.  
  161. h1{
  162. font-family:'montserrat';
  163. text-transform:uppercase;
  164. letter-spacing:1px;
  165. font-size:11px;
  166. margin:0 0 5px;
  167. }
  168.  
  169. #top h1.links{
  170. margin:10px 0 0;
  171. font-size:7px;
  172. }
  173.  
  174. #top .links a{ margin:0 5px 0; }
  175.  
  176. /* * main * */
  177.  
  178. #main{
  179. width:666px;
  180. margin:20px auto 100px;
  181. }
  182.  
  183. .post{
  184. background:white;
  185. width:200px;
  186. margin:10px;
  187. border:1px solid #f5f5f5;
  188. float:left;
  189. }
  190.  
  191. h2{
  192. font-family:'montserrat';
  193. text-transform:uppercase;
  194. letter-spacing:0px;
  195. font-size:10px;
  196. margin:0;
  197. padding:10px 15px 8px;
  198. text-align:center;
  199. }
  200.  
  201. .post a{ display:block; margin-bottom:0px; }
  202. .post a.sub{ margin-bottom:5px; }
  203.  
  204. h3{
  205. margin:7px 0 0px;
  206. font-family:'montserrat';
  207. text-transform:uppercase;
  208. font-size:8px;
  209. letter-spacing:0px;
  210. }
  211.  
  212. .cap{
  213. padding:10px 15px 10px;
  214. text-align:center;
  215. font-size:7px;
  216. letter-spacing:1px;
  217. font-weight:bold;
  218. text-transform:uppercase;
  219. border-top:1px solid #f5f5f5;
  220. }
  221.  
  222. /* * credit * */
  223.  
  224. .cr{
  225. position:fixed;
  226. bottom:15px;
  227. right:15px;
  228. font-family:'montserrat';
  229. font-weight:700;
  230. opacity:0.9;
  231. }
  232.  
  233. .cr:hover{
  234. -webkit-transform:rotate(360deg);
  235. opacity:1;
  236. }
  237.  
  238. .cr a{
  239. padding:2px 5px 3px 4px;
  240. border:2px solid #333;
  241. -webkit-border-radius:100%;
  242. letter-spacing:0px;
  243. }
  244.  
  245. .cr a:hover{
  246. letter-spacing:0px;
  247. opacity:1;
  248. -webkit-border-radius:5%;
  249. }
  250.  
  251. </style>
  252. </head>
  253.  
  254. <body>
  255.  
  256. <div class="cr"> <a href="http://crimicalthemes.tumblr.com/">C</a> </div>
  257.  
  258. <!-- topbar -->
  259. <div id="top"> <div class="box">
  260.  
  261. <h1>tags</h1>
  262. <h1 class="links">
  263. <a href="/" title="back">back</a>
  264. <a href="/ask" title="message">message</a>
  265. <a href="http://www.tumblr.com/" title="dashboard">dashboard</a>
  266. </h1>
  267.  
  268. <!-- seach bar -->
  269. <form id="searchthis" action="/search" style="display:inline" method="get">
  270. <input id="search-box" name="q" size="25" type="text" value="search" style="background-color:transparent; width:250px; border:0px; text-align:center; margin-top:10px; font-family:'montserrat'; text-transform:uppercase; letter-spacing:1px; font-size:7px; font-weight:bold; color:#555; "/>
  271. <input id="search-btn" value="" type="submit" style="display:none"/>
  272. </form> <!-- seach bar end -->
  273.  
  274. </div> </div> <!-- topbar end -->
  275.  
  276. <!-- main -->
  277. <div id="main">
  278.  
  279.  
  280. <!-- item start -->
  281. <div class="post">
  282. <h2> apples </h2> <!-- section title -->
  283. <div class="cap">
  284. <a href="/tagged/braeburn">braeburn</a>
  285. <a href="/tagged/gala">gala</a>
  286. <a href="/tagged/red delicious">red delicious</a>
  287. <a href="/tagged/granny smith">granny smith</a>
  288. <a href="/tagged/cortland">cortland</a>
  289. </div> </div>
  290. <!-- item end -->
  291.  
  292.  
  293.  
  294. <div class="post">
  295. <h2> pears </h2>
  296. <div class="cap">
  297. <a href="/tagged/bartlett">bartlett</a>
  298. <a href="/tagged/packham">packham</a>
  299. <a href="/tagged/williams">williams</a>
  300. <a href="/tagged/bosc" class="sub">bosc</a>
  301.  
  302. <a href="/tagged/red blush">red blush</a>
  303. <a href="/tagged/limonera">limonera</a>
  304. <a href="/tagged/comice">comice</a>
  305. </div> </div>
  306.  
  307.  
  308.  
  309. <div class="post">
  310. <h2> bananas </h2>
  311. <div class="cap">
  312. <a href="/tagged/praying hands">praying hands</a>
  313. <a href="/tagged/papoulu lohilahi">papoulu lohilahi</a>
  314. <a href="/tagged/blue java">blue java</a>
  315. <a href="/tagged/papoulu papoulu">papoulu papoulu</a>
  316.  
  317. <h3>subtitle</h3>
  318. <a href="/tagged/cuban red">cuban red</a>
  319. <a href="/tagged/tall brazilian">tall brazilian</a>
  320. <a href="/tagged/goldfinger">goldfinger</a>
  321. </div> </div>
  322.  
  323.  
  324.  
  325. <div class="post">
  326. <h2> peaches </h2>
  327. <div class="cap">
  328. <a href="/tagged/august pride">august pride</a>
  329. <a href="/tagged/bonita">bonita</a>
  330. <a href="/tagged/empress">empress</a>
  331. <a href="/tagged/harken">harken</a>
  332. <a href="/tagged/cardinal">cardinal</a>
  333. <a href="/tagged/suncrest">suncrest</a>
  334.  
  335. <h3>subtitle</h3>
  336. <a href="/tagged/polly">polly</a>
  337. <a href="/tagged/loring">loring</a>
  338. <a href="/tagged/frost">frost</a>
  339. </div> </div>
  340.  
  341.  
  342.  
  343. <div class="post">
  344. <h2> grapes </h2>
  345. <div class="cap">
  346. <a href="/tagged/rondinella">rondinella</a>
  347. <a href="/tagged/corvina" class="sub">corvina</a>
  348.  
  349. <a href="/tagged/molinara">molinara</a>
  350. <a href="/tagged/rossanella">rossanella</a>
  351. <a href="/tagged/oseleta">oseleta</a>
  352. <a href="/tagged/thompson">thompson</a>
  353. </div> </div>
  354.  
  355.  
  356.  
  357. <div class="post">
  358. <h2> cherries </h2>
  359. <div class="cap">
  360. <a href="/tagged/tieton">tieton</a>
  361. <a href="/tagged/brooks">brooks</a>
  362. <a href="/tagged/rainier">rainier</a>
  363. <a href="/tagged/tartarian" class="sub">tartarian</a>
  364.  
  365. <a href="/tagged/utah giant">utah giant</a>
  366. <a href="/tagged/lapin">lapin</a>
  367. </div> </div>
  368.  
  369.  
  370.  
  371. </div> <!-- main end -->
  372. </body>
  373. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement