jaesoonie

EVENTS/TAGS PAGE #5

Apr 7th, 2015
8,211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.11 KB | None | 0 0
  1. <!----------------------------------------------------------------------------
  2.  
  3.  
  4. events/tags page #5; - ᴅᴏɴ'ᴛ sᴛᴇᴀʟ ɪᴛ.
  5. © made by chloe - ᴘʟᴇᴀsᴇ ʟᴇᴀᴠᴇ ᴛʜᴇ ᴄʀᴇᴅɪᴛ ᴏɴ ᴛʜᴇ ᴛʜᴇᴍᴇ.
  6. chcodes.tumblr
  7.  
  8.  
  9. ------------------------------------------------------------------------------>
  10.  
  11. <html>
  12. <head>
  13. <title>{Title}</title>
  14. <link rel="shortcut icon" href="{Favicon}">
  15. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  16.  
  17.  
  18. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  19. <script type="text/javascript" src="http://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
  20. <script>
  21. (function($){
  22. $(document).ready(function(){
  23. $("[title]").style_my_tooltips();
  24. });
  25. })(jQuery);
  26. </script>
  27.  
  28.  
  29. <!----------------------------------------------------------------------------
  30.  
  31.  
  32. if you add more "boxes" of tags/events you'll need to add more
  33. to the script as well!
  34.  
  35. $("#one").click(function(){
  36. $(".one").slideToggle(1000);});
  37.  
  38. this corresponds to one box. there are 6 existent boxes, so if you
  39. add more, the seventh would be for example:
  40.  
  41. $("#seven").click(function(){
  42. $(".seven").slideToggle(1000);});
  43.  
  44.  
  45. ------------------------------------------------------------------------------>
  46. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
  47. <script>
  48. $(document).ready(function(){
  49. $("#one").click(function(){
  50. $(".one").slideToggle(1000);});
  51. $("#two").click(function(){
  52. $(".two").slideToggle(1000);});
  53. $("#three").click(function(){
  54. $(".three").slideToggle(1000);});
  55. $("#four").click(function(){
  56. $(".four").slideToggle(1000);});
  57. $("#five").click(function(){
  58. $(".five").slideToggle(1000);});
  59. $("#six").click(function(){
  60. $(".six").slideToggle(1000);});
  61.  
  62. });
  63. </script>
  64.  
  65. <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
  66. <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,800,900|Carrois+Gothic|Exo:400,800,900|Exo+2:400,900,800|Carrois+Gothic+SC' rel='stylesheet' type='text/css'>
  67.  
  68. <!---------------------------------------------------------------------------
  69.  
  70.  
  71.  
  72. note: custom fonts don't display on the preview so
  73. don't worry;
  74.  
  75.  
  76.  
  77. ---------------------------------------------------------------------------->
  78.  
  79. <style type="text/css">
  80.  
  81. body {background: #f5f5f5 ;text-align: center;line-height: 100%;}
  82. a:link, a:active, a:visited {text-decoration:none;color:#333;}
  83.  
  84. #s-m-t-tooltip { display: block;
  85. background: #000;
  86. font-size: 10px;
  87. font-family: Alegreya Sans SC;
  88. letter-spacing: 1px;
  89. text-transform: uppercase;
  90. color: #fff;
  91. text-align: center;
  92. margin-left: 20px;
  93. padding: 10px;
  94. min-width: 40px;
  95. z-index: 999999999;}
  96.  
  97. ::-webkit-scrollbar-track {background-color:#ddd;border:1px solid #fff;}
  98. ::-webkit-scrollbar-thumb {background-color:#333;}
  99. ::-webkit-scrollbar {width:3px;height:5px;}
  100.  
  101. #title{ margin:auto;
  102. margin-top:90px;
  103. font: 900 50px 'exo';
  104. text-transform:uppercase;
  105. letter-spacing:13px;
  106. line-height:100%;
  107. color: #111;
  108. text-align:left;
  109. z-index:99999;
  110. margin-left:5px;}
  111.  
  112. /*----------------------------------------------------------------------------
  113.  
  114.  
  115. besides the script you also will need to add the number here
  116. so it would become:
  117.  
  118. .one, .two, .three, .four, .five, .six, .seven {display:none;}
  119.  
  120. and so on, don't forget the name you give the boxes in the
  121. script have to be the same as the css and the html!!
  122.  
  123.  
  124. -----------------------------------------------------------------------------*/
  125. .one, .two, .three, .four, .five, .six {display:none;}
  126.  
  127.  
  128. #sets a {color:#111;margin:3px;background:#fff;padding:12px;display:block;}
  129.  
  130. #search{ margin-top:10px;
  131. text-align:left;
  132. margin-left:4px;
  133. margin-bottom:10px;}
  134.  
  135. #search input[type="text"]{
  136. width:300px;
  137. border-radius:3px;
  138. font:12px 'exo';
  139. letter-spacing:2px;
  140. color:#000;
  141. border:1px solid #eee;
  142. background:#fff ;
  143. padding:10px;
  144. text-transform:uppercase;}
  145.  
  146. #search input[type="submit"]{
  147. cursor:pointer;
  148. text-transform:uppercase;
  149. margin-left:2px;
  150. padding:10px 18px 11px;
  151. border:1px solid #eee;
  152. color:#111;
  153. background:#fff;
  154. border-radius:3px;}
  155.  
  156. #search input[value=" "] {
  157. background:#fff url( 'http://static.tumblr.com/camqjbz/kBynmg22v/1424134900_11_search-128.png') no-repeat 11px center;}
  158.  
  159.  
  160. .box { width: 650px;
  161. margin: auto;
  162. margin-top:30px;
  163. margin-bottom: 50px;
  164. padding:25px 20px 25px 25px;}
  165.  
  166. .caption {
  167. display: inline-block;
  168. position: relative;
  169. margin: auto;
  170. margin-bottom: 7px;
  171. z-index: 66;
  172. width:210px;}
  173.  
  174. #titles {
  175. font:800 13px 'exo';
  176. text-align:center;
  177. color:#000;
  178. background:#fff;
  179. border-radius:3px;
  180. padding:25px 15px;
  181. letter-spacing:5px;
  182. text-transform:uppercase;
  183. border:1px solid #eee;
  184. cursor:pointer;}
  185.  
  186. #sets {
  187. font:9px Alegreya Sans SC;
  188. letter-spacing:1px;
  189. text-transform:uppercase;
  190. color:#333;
  191. margin-top:2px;
  192. text-align:center;
  193. margin:auto;
  194. width:210px;}
  195.  
  196. .links{ position:fixed;
  197. letter-spacing:1px;
  198. left:15px;
  199. bottom:15px;
  200. z-index:9999999;}
  201.  
  202. .links a{
  203. background:#fff;
  204. text-transform:uppercase;
  205. color:#333;
  206. display:block;
  207. width:60px;
  208. font: 8px calibri;
  209. margin-bottom:5px;
  210. padding:5px;
  211. text-align:center;
  212. border:1px solid #eee;}
  213.  
  214.  
  215. </style>
  216. </head>
  217. <body>
  218.  
  219. <!---------------------------------------------------------------------------
  220.  
  221.  
  222.  
  223. the boxes are set in columns!!
  224. a column is <td style="vertical-align:top;"> </td>
  225. so the boxes have to be inside those!!
  226.  
  227. to add more boxes this is the code
  228. (for example the seventh):
  229.  
  230. <div class="caption">
  231. <div id="seven">
  232. <div id="titles">
  233. TITLE HERE</div>
  234. </div>
  235. <div id="sets">
  236. <div class="seven">
  237. <a href="/">event number one</a>
  238. <a href="/">event number two</a>
  239. <a href="/">event number three</a>
  240. <a href="/">event number four</a>
  241. <a href="/">event number five</a>
  242. <a href="/">event number six</a>
  243. </div></div></div>
  244.  
  245.  
  246.  
  247.  
  248. ---------------------------------------------------------------------------->
  249.  
  250.  
  251. <div class="box">
  252.  
  253. <!------------- ----------------- TITLE -------------------- ------------>
  254. <div id="title">
  255. masterlist
  256. </div>
  257.  
  258.  
  259. <div id="search">
  260. <form action="/search" method="get" class="sfm">
  261. <input type="text" name="q" value="" placeholder="search" /><input type="submit" value=" " />
  262. </form>
  263. </div>
  264.  
  265.  
  266. <table>
  267.  
  268. <!------------- START COLUMN ONE ------------>
  269. <td style="vertical-align:top;">
  270.  
  271. <!------------- ONE ------------>
  272. <div class="caption">
  273. <div id="one">
  274. <div id="titles">
  275. TITLE HERE</div>
  276. </div>
  277. <div id="sets">
  278. <div class="one">
  279. <a href="/">event number one</a>
  280. <a href="/">event number two</a>
  281. <a href="/">event number three</a>
  282. <a href="/">event number four</a>
  283. <a href="/">event number five</a>
  284. <a href="/">event number six</a>
  285. </div></div></div>
  286.  
  287.  
  288.  
  289.  
  290.  
  291. <!------------- TWO ------------>
  292. <div class="caption">
  293.  
  294. <div id="two">
  295. <div id="titles">
  296. TITLE HERE</div>
  297. </div>
  298. <div id="sets">
  299. <div class="two">
  300. <a href="/">event number one</a>
  301. <a href="/">event number two</a>
  302. <a href="/">event number three</a>
  303. <a href="/">event number four</a>
  304. <a href="/">event number five</a>
  305. </div></div></div>
  306.  
  307.  
  308. </td><!------------- END COLUMN ONE ------------>
  309.  
  310.  
  311.  
  312. <!------------- START COLUMN TWO ------------>
  313. <td style="vertical-align:top;">
  314.  
  315.  
  316.  
  317.  
  318. <!------------- THREE ------------>
  319. <div class="caption">
  320.  
  321. <div id="three">
  322. <div id="titles">
  323. TITLE HERE</div>
  324. </div>
  325. <div id="sets">
  326. <div class="three">
  327. <a href="/">event number one</a>
  328. <a href="/">event number two</a>
  329. <a href="/">event number three</a>
  330. <a href="/">event number four</a>
  331. <a href="/">event number five</a>
  332. </div> </div></div>
  333.  
  334.  
  335.  
  336.  
  337. <!------------- FOUR ------------>
  338. <div class="caption">
  339.  
  340. <div id="four">
  341. <div id="titles">
  342. TITLE HERE</div>
  343. </div>
  344. <div id="sets">
  345. <div class="four">
  346. <a href="/">event number one</a>
  347. <a href="/">event number two</a>
  348. <a href="/">event number three</a>
  349. <a href="/">event number four</a>
  350. <a href="/">event number five</a>
  351. </div></div></div>
  352.  
  353.  
  354. </td><!------------- END COLUMN TWO ------------>
  355.  
  356.  
  357.  
  358.  
  359. <!------------- START COLUMN THREE ------------>
  360. <td style="vertical-align:top;">
  361.  
  362.  
  363.  
  364.  
  365.  
  366. <!------------- FIVE ------------>
  367. <div class="caption">
  368.  
  369. <div id="five">
  370. <div id="titles">
  371. TITLE HERE</div>
  372. </div>
  373. <div id="sets">
  374. <div class="five">
  375. <a href="/">event number one</a>
  376. <a href="/">event number two</a>
  377. <a href="/">event number three</a>
  378. <a href="/">event number four</a>
  379. <a href="/">event number five</a>
  380. </div></div></div>
  381.  
  382.  
  383.  
  384.  
  385. <!------------- SIX ------------>
  386. <div class="caption">
  387.  
  388. <div id="six">
  389. <div id="titles">
  390. TITLE HERE</div>
  391. </div>
  392. <div id="sets">
  393. <div class="six">
  394. <a href="/">event number one</a>
  395. <a href="/">event number two</a>
  396. <a href="/">event number three</a>
  397. <a href="/">event number four</a>
  398. <a href="/">event number five</a>
  399. </div></div></div>
  400.  
  401. </td><!------------- END COLUMN THREE ------------>
  402.  
  403.  
  404. <!---------------------------------------------------------------------------
  405.  
  406.  
  407.  
  408. any more doubts, come ask!
  409.  
  410.  
  411.  
  412. ---------------------------------------------------------------------------->
  413.  
  414. </table>
  415.  
  416.  
  417. </div>
  418.  
  419.  
  420.  
  421. <div class="links">
  422. <a href="/">home</a>
  423. <a href="/ask">message</a>
  424. <a href="http://chcodes.tumblr.com/" title="coded by chloe">chso</a>
  425. </div>
  426.  
  427.  
  428. </body>
  429. </html>
Advertisement
Add Comment
Please, Sign In to add comment