booksinvolved

theme pack #1: tags page

Dec 28th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  
  5. <head>
  6.  
  7. <!---- theme by jasnahdavar
  8. ------ DO NOT steal/redistribute/remove credit
  9. ------ ASK ME if you want to use as a base code i promise i'm nice
  10. ------ COLOURS:
  11. I would recommend going with a single colour but of course it's up to you!
  12. If you're going for a single colour just ctrl+F: #67c7bf and replace with whatever colour you want
  13. I've also marked all the places where you can change colours in the code. Please don't edit any part of the code that I haven't marked for editing unless you know what you're doing
  14. ------ Hope you like it!
  15. ------>
  16.  
  17. <title>{Title}</title>
  18. <link rel="shortcut icon" href="{Favicon}">
  19. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  20. <link href='http://fonts.googleapis.com/css?family=Fenix' rel='stylesheet' type='text/css'>
  21.  
  22. <link href='http://fonts.googleapis.com/css?family=Fondamento' rel='stylesheet' type='text/css'>
  23.  
  24. <style type="text/css">
  25.  
  26.  
  27.  
  28. ::-webkit-scrollbar-thumb:vertical { height:12px; border:2px solid #fff; background-color:#67c7bf; }
  29. ::-webkit-scrollbar-thumb:horizontal { background-color:#fff; }
  30. ::-webkit-scrollbar { width:11px; height:7px; border:5px solid #fff; background-color:#67c7bf; }
  31.  
  32. /* #67c7bf in the three lines of code above is the scrollbar colour */
  33.  
  34.  
  35. body {
  36. background: #fff; /* BACKGROUND COLOR */
  37. color: #000; /* TEXT COLOR */
  38. font-size: 10px;
  39. font-family:calibri;
  40. overflow:hidden;
  41.  
  42. }
  43.  
  44. a:link, a:visited, a:active {
  45. font-weight:none;
  46. text-decoration:none;
  47. color:#5d2e46; /* LINK COLOR (ALSO TITLE COLOR) */
  48. transition:0.6s;
  49. }
  50.  
  51. a:hover {
  52. color:#000; /* LINK HOVER COLOR */
  53. }
  54.  
  55. #credit {
  56. position:fixed;
  57. z-index:100;
  58. bottom:10px;
  59. right:20px;
  60. }
  61.  
  62. #credit a {
  63. background:#eee;
  64. color:#000;
  65. font-family:cambria;
  66. font-size:10px;
  67. padding:2px;
  68. }
  69.  
  70. #credit a:hover {
  71. background:#000;
  72. color:#eee;
  73. }
  74.  
  75.  
  76. #cont {
  77. border-top:50px solid #67c7bf; /*TOP BORDER COLOR */
  78. width:500px;
  79. height:300px;
  80. left:50%;
  81. margin-left:-250px;
  82. top:50%;
  83. margin-top:-180px;
  84. position:fixed;
  85. }
  86.  
  87. #title {
  88. position:fixed;
  89. height:40px;
  90. top:50%;
  91. left:0px;
  92. width:100%;
  93. margin-top:-215px;
  94. font-size:40px;
  95. font-family:arial;
  96. text-transform:lowercase;
  97. font-weight:bold;
  98. font-style:italic;
  99. text-align:Center;
  100. }
  101.  
  102.  
  103. .boxes {
  104. width:500px;
  105. height:300px;
  106. overflow:auto;
  107. }
  108.  
  109. .box {
  110. width:140px;
  111. margin:5px;
  112. height:190px;
  113. padding:5px;
  114. display:inline-block;
  115. overflow:auto;
  116. }
  117.  
  118. .heading {
  119. color:#000; /* TAG HEADING COLOR */
  120. font-family:arial;
  121. border-bottom:1px solid #67c7bf; /* TAG HEADING BORDER COLOR */
  122. font-weight:bold;
  123. font-size:12px;
  124. margin-bottom:1px;
  125.  
  126. }
  127.  
  128. .heading::first-letter {
  129. color:#67c7bf; /* TAG HEADING FIRST LETTER COLOR */
  130. font-size:14px;
  131. }
  132.  
  133.  
  134.  
  135. .box a {
  136. width:100%;
  137. display:inline-block;
  138. }
  139.  
  140.  
  141. /* EVEN NUMBERED BOXES OF TAGS */
  142.  
  143. .box:nth-of-type(even) a, .box:nth-of-type(odd) a:hover {
  144. background:#67c7bf; /* TAG BACKGROUND COLOR */
  145. border-bottom:1px solid #fff;
  146. padding:2px 0px;
  147. text-align:center;
  148. font-weight:bold;
  149. color:#fff; /* TAG COLOR */
  150. }
  151.  
  152. /* ODD NUMBERED BOXES OF TAGS */
  153.  
  154. .box:nth-of-type(odd) a, .box:nth-of-type(even) a:hover {
  155. border-bottom:1px solid #67c7bf; /* TAG BORDER COLOR */
  156. text-align:center;
  157. padding:2px 0px;
  158. color:#000; /* TAG COLOR */
  159. background:#fff;
  160. font-weight:normal;
  161. }
  162.  
  163.  
  164.  
  165. </style>
  166. </head>
  167.  
  168. <body>
  169. <div id="cont">
  170. <div id="title">
  171. <a href="/">
  172.  
  173. TITLE
  174.  
  175. </a>
  176. </div>
  177.  
  178. <!--------------------- TAGS ---------------------->
  179. <div class="boxes">
  180.  
  181. <!----------------- FIRST TAG BOX ------------------>
  182. <div class="box">
  183. <div class="heading">
  184. heading
  185. </div>
  186. <!------- tags ------->
  187.  
  188. <a href="tag url"> tag </a>
  189.  
  190. <a href="tag url"> tag </a>
  191.  
  192. <a href="tag url"> tag </a>
  193.  
  194. </div>
  195. <!------------ end of first tag box --------->
  196.  
  197. <!---------------------sample code for more tag boxes
  198. -----------------------------------------------begin:
  199.  
  200. <div class="box">
  201.  
  202. <div class="heading">
  203.  
  204. heading
  205.  
  206. </div>
  207.  
  208. <a href="tag url">
  209.  
  210. tag
  211.  
  212. </a>
  213.  
  214. </div>
  215.  
  216. end:----------------------------------------------->
  217.  
  218.  
  219. <!------------ do not edit beyond this point
  220. please do not remove the credit :)--------->
  221.  
  222. </div>
  223. </div>
  224.  
  225.  
  226. <div id="credit">
  227. <a href="http://jasnahdavar.tumblr.com">JD.</a>
  228. </div>
  229. </body>
  230. </html>
Add Comment
Please, Sign In to add comment