odeysseus_thm

birthdays / APRICOT (v1)

Apr 21st, 2017
2,459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5. apricot v1
  6.  
  7. @odeysseus
  8.  
  9. - you can choose new colors using colorpicker.com
  10. -->
  11.  
  12.  
  13. <link rel="shortcut icon" href="{Favicon}">
  14. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  15.  
  16. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <div style="bottom:20px;right:20px;position:fixed"><a href="http://odeysseus.tumblr.com">O</a></div>
  17.  
  18. <title>birthdays</title> <!--title-->
  19.  
  20.  
  21. <style type="text/css">
  22.  
  23. #s-m-t-tooltip{
  24. position:absolute;
  25. margin:15px;
  26. max-width:250px;
  27. z-index:999999999999999;
  28. padding:5px;
  29. font-size:10px;
  30. border-radius:2px;
  31. font-family:'open sans';
  32. background:#fff;
  33. border:1px dotted #eee;
  34. color:#777;
  35. }
  36.  
  37. body {
  38. background:#fcfcfc; /* main background */
  39. color:#767676; /* body text */
  40. font-family:'Georgia', sans-serif;
  41. font-size:11px;
  42. -moz-osx-font-smoothing:grayscale;
  43. -webkit-font-smoothing:antialiased;
  44. font-smoothing:antialiased;
  45. }
  46.  
  47.  
  48. a {
  49. color:#aaa;
  50. text-decoration:none;
  51. transition:all .4s ease;
  52. -webkit-transition:all .4s ease;
  53. -moz-transition:all .4s ease;
  54. -o-transition:all .4s ease;
  55. }
  56.  
  57. a:hover { text-decoration:none; color:#555; }
  58.  
  59. section {
  60. margin:130px auto 50px;
  61. width:calc(242px * 3); /* can change the 3 depending on how many columns you want */
  62. }
  63.  
  64. .box {
  65. width:180px;
  66. margin:20px;
  67. padding:10px;
  68. background:#fff; /* box background */
  69. border:1px solid #eee; /* box border */
  70. border-radius:2px;
  71. }
  72.  
  73. .link a{
  74. display:inline-block;
  75. width:28px;margin:3px;
  76. border:1px solid transparent;
  77. height:28px;float:left;
  78. border-radius:2px;
  79. }
  80. .link a:hover {
  81. background:#fafafa; /* color of bdays on hover */
  82. border:1px dotted #eee; /* border of bdays on hover */
  83. }
  84. .title { margin-bottom:5px;
  85. font-style:italic;
  86. color:#555; /* bday box title color */
  87. text-align:center;
  88. border-bottom:1px solid #eee; /* bday box title border color */
  89. padding-bottom:10px;
  90. }
  91.  
  92. /* COLORS FOR EACH MONTH */
  93. .jan a { background:#e2f8fd; }
  94. .feb a { background:#fbeff5; }
  95. .mar a { background:#fbefc5; }
  96. .apr a { background:#defbc5; }
  97. .may a { background:#c4e3f4; }
  98. .jun a { background:#c4f4ec; }
  99. .jul a { background:#fdceff; }
  100. .aug a { background:#f2e1ff; }
  101. .sep a { background:#f5e7d4; }
  102. .oct a { background:#ffe1c7; }
  103. .nov a { background:#dddef1; }
  104. .dec a { background:#fdc8c8; }
  105.  
  106. header {
  107. top:0px;left:0px;width:100%;position:fixed;text-align:center;z-index:1;padding:30px 0px 20px;
  108. background:#fff; /* header background */
  109. border-bottom:1px solid #eee; /* header bottom border */
  110. font-family:'open sans';
  111. font-size:10px;
  112. }
  113. header a { font-style:normal; }
  114. header b {
  115. font-size:12px;
  116. font-weight:400;
  117. color:#444; /* header title color */
  118. font-style:italic;font-family:georgia;padding:5px;
  119. background:#fafafa; /* header title background */
  120. margin:5px;
  121. border:1px solid #eee; /* header title border */
  122. border-radius:2px;
  123. }
  124. header a {
  125. padding:5px;
  126. background:#fafafa; /* header link background */
  127. margin:5px;
  128. color:#666; /* header link color */
  129. border:1px dotted transparent;
  130. border-radius:2px; }
  131. header a:hover {
  132. border:1px dotted #eee; /* header link border on hover */
  133. background:#fff; /* header link background on hover */
  134. }
  135.  
  136. </style>
  137.  
  138. </head>
  139.  
  140. <body>
  141.  
  142. <header>
  143. <b>birthday page</b> <!--main title-->
  144. <!--links below: add or remove if you want-->
  145. <a href="/">home</a>
  146. <a href="http://tumblr.com/dashboard">dash</a>
  147. <a href="link to join post">join</a>
  148.  
  149.  
  150. <br><br> be sure to wish these sunshines happy birthday!
  151. <!--delete the above line if you just want a title n links in the header-->
  152.  
  153. </header>
  154. <section>
  155. <!--start bdays
  156.  
  157. NOTE: if you want more of a calendar look and want there to be numbers rather than just colored boxes, follow these instructions:
  158.  
  159. scroll up until you find .link a { and delete the line that says height:28px; then paste these two lines there:
  160. text-align:center;
  161. padding:7px 0px;
  162. color:#767676;
  163.  
  164. then rather than it being <a href="blog url" title="name,date"></a> for the links below, make it this instead:
  165. <a href="blog url" title="name">01</a>
  166.  
  167. -->
  168.  
  169. <div class="box jan">
  170.  
  171. <div class="title">january</div>
  172. <div class="link jan">
  173. <!--birthdays go here! copy and paste the following as many times as u need: <a href="blog url" title="name, date"></a> -->
  174. <a href="blog url" title="name, date"></a>
  175. <a href="blog url" title="name, date"></a>
  176. </div>
  177. </div>
  178.  
  179.  
  180.  
  181. <div class="box feb">
  182.  
  183. <div class="title">february</div>
  184. <div class="link feb">
  185.  
  186. <a href="blog url" title="name, date"></a>
  187. <a href="blog url" title="name, date"></a>
  188.  
  189. </div>
  190. </div>
  191.  
  192.  
  193.  
  194. <div class="box mar">
  195.  
  196. <div class="title">march</div>
  197. <div class="link mar">
  198.  
  199. <a href="blog url" title="name, date"></a>
  200. <a href="blog url" title="name, date"></a>
  201. </div>
  202. </div>
  203.  
  204. <div class="box apr">
  205. <div class="title">april</div>
  206. <div class="link apr">
  207.  
  208. <a href="blog url" title="name, date"></a>
  209. <a href="blog url" title="name, date"></a>
  210.  
  211. </div>
  212. </div>
  213. <div class="box may">
  214. <div class="title">may</div>
  215. <div class="link may">
  216.  
  217. <a href="blog url" title="name, date"></a>
  218. <a href="blog url" title="name, date"></a>
  219. </div>
  220. </div>
  221.  
  222. <div class="box jun">
  223. <div class="title">june</div>
  224. <div class="link jun">
  225.  
  226. <a href="blog url" title="name, date"></a>
  227. <a href="blog url" title="name, date"></a>
  228. </div>
  229. </div>
  230.  
  231. <div class="box jul">
  232. <div class="title">july</div>
  233. <div class="link jul">
  234.  
  235. <a href="blog url" title="name, date"></a>
  236. <a href="blog url" title="name, date"></a>
  237. </div>
  238. </div>
  239.  
  240. <div class="box aug">
  241. <div class="title">august</div>
  242. <div class="link aug">
  243.  
  244. <a href="blog url" title="name, date"></a>
  245. <a href="blog url" title="name, date"></a>
  246. </div>
  247. </div>
  248.  
  249. <div class="box sep">
  250. <div class="title">september</div>
  251. <div class="link sep">
  252.  
  253. <a href="blog url" title="name, date"></a>
  254. <a href="blog url" title="name, date"></a>
  255. </div>
  256. </div>
  257.  
  258. <div class="box oct">
  259. <div class="title">october</div>
  260. <div class="link oct">
  261.  
  262. <a href="blog url" title="name, date"></a>
  263. <a href="blog url" title="name, date"></a>
  264. </div>
  265. </div>
  266.  
  267. <div class="box nov">
  268. <div class="title">november</div>
  269. <div class="link nov">
  270.  
  271. <a href="blog url" title="name, date"></a>
  272. <a href="blog url" title="name, date"></a>
  273. </div>
  274. </div>
  275.  
  276. <div class="box dec">
  277. <div class="title">december</div>
  278. <div class="link dec">
  279.  
  280. <a href="blog url" title="name, date"></a>
  281. <a href="blog url" title="name, date"></a>
  282. </div>
  283. </div>
  284.  
  285. <!--end bdays-->
  286. </section>
  287.  
  288. <!--scripts-->
  289. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  290. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  291.  
  292. <script>
  293. (function($){
  294. $(document).ready(function(){
  295. $("a[title]").style_my_tooltips({
  296. tip_follows_cursor:true,
  297. tip_delay_time:30,
  298. tip_fade_speed:300,
  299. attribute:"title"
  300. });
  301. });
  302. })(jQuery);
  303. </script>
  304.  
  305. <script src="http://static.tumblr.com/twte3d7/H8Glm663z/masonry.js"></script>
  306. <script type="text/javascript">
  307. $(window).load(function () {
  308. $('section').masonry({
  309. itemSelector : ".box",
  310. },
  311. function() { $('section').masonry({ appendedContent: $(this) }); }
  312. );
  313. });
  314. </script>
  315.  
  316. </body>
  317.  
  318.  
  319.  
  320. </html>
Advertisement
Add Comment
Please, Sign In to add comment