odeysseus_thm

network / BLUEBERRY

Mar 13th, 2016
13,009
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 1 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. blueberry
  12.  
  13. @odeysseus
  14.  
  15.  
  16.  
  17. - credits @ odeysseus.tumblr.com/credit
  18.  
  19.  
  20. -->
  21.  
  22. <title>network</title><!--title-->
  23.  
  24.  
  25. <link rel="shortcut icon" href="{Favicon}">
  26. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  27.  
  28.  
  29. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  30. <link href='https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic|Lato:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  31.  
  32.  
  33. <style type="text/css">
  34.  
  35.  
  36. * { margin:0;padding:0; }
  37.  
  38.  
  39. @-webkit-keyframes fadein {
  40. 0% {opacity: 0;}
  41. 100% { opacity: 1; }
  42. }
  43.  
  44. @-moz-keyframes fadein {
  45. 0% { opacity: 0; }
  46. 100% { opacity: 1; }
  47. }
  48.  
  49. @keyframes fadein {
  50. 0% { opacity: 0; }
  51. 100% { opacity: 1; }
  52. }
  53.  
  54. .tmblr-iframe { display:none; } /* to hide tumblr controls */
  55.  
  56.  
  57. body {
  58. background:#fff; /*background*/
  59. font-family:'Karla', sans-serif; /*font*/
  60. font-size:11px;
  61. font-weight:400;
  62. line-height:180%;
  63. color:#555;
  64. -webkit-animation: fadein 1s;
  65. -moz-animation: fadein 1s;
  66. animation:fadein 1s;
  67. -moz-osx-font-smoothing:grayscale;
  68. -webkit-font-smoothing:antialiased;
  69. font-smoothing:antialiased;
  70.  
  71. }
  72.  
  73.  
  74. a {
  75. color:#999; /*links*/
  76. text-decoration:none;
  77. transition: .2s ease-in-out;
  78. }
  79.  
  80. a:hover {
  81. color:#444;
  82. text-decoration:none;
  83. }
  84.  
  85.  
  86. section {
  87. margin:50px auto;
  88. width:calc(200px * 4); /* change the 4 to however many columns you want */
  89. }
  90.  
  91.  
  92. article {
  93. float:left;
  94. margin:10px;
  95. box-sizing:border-box;
  96. width:180px;
  97. height:auto;
  98. position:relative;
  99. }
  100.  
  101. article img {
  102. width:180px;
  103. position:relative;
  104. height:100%;
  105. display:block;
  106. }
  107.  
  108. h1 {
  109. font-size:15px;
  110. color:#444;
  111. padding:0;
  112. margin:0;
  113. }
  114.  
  115. header {
  116. margin:100px auto;
  117. width:350px;
  118. text-align:center;
  119. }
  120.  
  121. .d {
  122. margin:10px 0px;
  123. padding:10px;
  124. box-sizing:border-box;
  125. background:#f8f8f8;
  126. }
  127.  
  128. nav a {
  129. margin:0px 3px;
  130. font-style:italic;
  131. }
  132.  
  133. h2 {
  134. font-size:13px;
  135. color:#444;
  136. padding:0 10px 10px;
  137. margin:0 -10px 10px;
  138. font-style:italic;
  139. border-bottom:1px solid #eee;
  140. }
  141.  
  142. .info {
  143. box-sizing:border-box;
  144. padding:10px;
  145. background:#f8f8f8;
  146. }
  147.  
  148. .hotchocolate {
  149. bottom:27px;
  150. right:27px;
  151. position:fixed;
  152. }
  153. </style>
  154.  
  155.  
  156. </head>
  157. <body>
  158.  
  159. <header> <!--header-->
  160. <h1>blueberry</h1> <!--title-->
  161. <div class="d">
  162.  
  163. <!--start description-->
  164. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  165. <!--end description-->
  166. </div>
  167. <nav>
  168. <!--start links-->
  169. <a href="/">home</a>
  170. <a href="http://tumblr.com/dashboard">dash</a>
  171. <a href="/ask">message</a>
  172. <!--end links-->
  173. </nav>
  174. <!--end header--></header>
  175.  
  176.  
  177. <section><!--start container-->
  178.  
  179. <!--example-->
  180. <article>
  181. <img src="image url"/> <!--image-->
  182.  
  183. <div class="info">
  184. <h2>name, <a href="link url">username</a></h2> <!--name + blog url-->
  185. <div class="desc"> description goes here </div> <!--description-->
  186. </div>
  187. </article>
  188. <!--end example-->
  189.  
  190. <!--example-->
  191. <article>
  192. <img src="image url"/> <!--image-->
  193.  
  194. <div class="info">
  195. <h2>name, <a href="link url">username</a></h2> <!--name + blog url-->
  196. <div class="desc"> description goes here </div> <!--description-->
  197. </div>
  198. </article>
  199. <!--end example-->
  200.  
  201. <!--end container: do not edit beyond this point--></section>
  202.  
  203. <div class="hotchocolate"><a href="http://odeysseus.tumblr.com">O</a></div>
  204. <script src="http://static.tumblr.com/twte3d7/H8Glm663z/masonry.js"></script>
  205. <script type="text/javascript">
  206. $(window).load(function () {
  207. $('section').masonry({
  208. itemSelector : "article",
  209. },
  210. function() { $('section').masonry({ appendedContent: $(this) }); }
  211. );
  212. });
  213. </script>
  214.  
  215. </body>
  216. </html>
Advertisement
Add Comment
Please, Sign In to add comment