Advertisement
meme12345bunny

Favourite characters page

Feb 28th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{Title}</title>
  5. <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
  6.  
  7. <style>
  8. body{
  9. background-color:black; /*page background color*/
  10. font-family: 'Raleway', sans-serif;
  11. }
  12.  
  13. .container{
  14. position:relative;
  15. left:345px;
  16. top:100px;
  17. width:800px;
  18. height:500px;
  19. background-color:pink;/*container background color*/
  20. }
  21.  
  22. .navigation{
  23. background-color:white;/*navigation background color*/
  24.  
  25. }
  26.  
  27. .navigation li{
  28. list-style-type:none;
  29. display:block;
  30. color:black;
  31. text-align:center;
  32. padding:0px 55px 0px 0px;
  33. }
  34.  
  35. .navigation li a{
  36. color:black; /*home link color*/
  37. text-decoration:none;
  38. text-align:center;
  39. transition: 0.5s ease;
  40. }
  41.  
  42.  
  43. .navigation a:hover{
  44. color:white; /*home link hover color*/
  45. }
  46.  
  47. .page{
  48. position:relative;
  49. top:4px;
  50. left:26px;
  51. background-color:white; /*page color*/
  52. width:750px;
  53. height:440px;
  54. overflow:scroll;
  55. overflow-x:hidden;
  56. }
  57.  
  58. .description{
  59. border-style:solid;
  60. border-width: 1px;
  61. border-color:black; /*description border color*/
  62. width:300px;
  63. margin-top:10px;
  64. margin-left:215px;
  65. background-color:white; /*description background color*/
  66.  
  67. }
  68.  
  69. .description p{
  70. color:black; /*description text color*/
  71. text-align:center;
  72. padding:10px;
  73. }
  74.  
  75. .section h1{
  76. text-align:center;
  77. font-size:20px;
  78. background-color:#F5F5F5;
  79. width:200px;
  80. margin-top:40px;
  81. margin-left:265px;
  82. text-transform:capitalize;
  83. }
  84.  
  85. .items{
  86. -webkit-column-count:3;
  87. -moz-column-count: 3;
  88. column-count:3;
  89. -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
  90. -moz-column-gap: 40px; /* Firefox */
  91. column-gap: 40px;
  92. }
  93.  
  94.  
  95. .character img{
  96. width:120px;
  97. height:120px;
  98. margin-left:40px;
  99. margin-top:15px;
  100. margin-bottom:20px;
  101. padding:5px;
  102.  
  103. }
  104.  
  105.  
  106. .name{
  107. background-color:#F5F5F5; /*name background color*/
  108. width:120px;
  109. text-align:center;
  110. margin-left:45px;
  111. margin-top:-20px;
  112. text-transform:capitalize;
  113. }
  114.  
  115. .page::-webkit-scrollbar-thumb:vertical {
  116. background-color:black; /*scrollbar's slider color*/
  117. background-image:url('URL HERE'); /*optional background image*/
  118. height:100px;
  119. -moz-border-radius: 15px; /*these make bar rounded*/
  120. border-radius: 15px;
  121. }
  122.  
  123.  
  124. .page::-webkit-scrollbar {
  125. height:10px;
  126. width:5px; /*width of slider*/
  127. background-color:#eeeeee; /*scrollbar's main color*/
  128. background-image:url('URL HERE'); /*optional background image*/
  129. }
  130.  
  131.  
  132.  
  133. </style>
  134. </head>
  135.  
  136. <body>
  137. <div class="container">
  138. <div class="navigation">
  139. <ul>
  140. <li><a href="/">Home</a></li>
  141. </ul>
  142. </div>
  143. <div class="page">
  144. <div class="description">
  145. <p>This is the description of the page.</p>
  146. </p>
  147. </div>
  148.  
  149. <div class="section">
  150. <h1>Category</h1>
  151. <div class="items">
  152.  
  153.  
  154. <div class="row">
  155.  
  156. <div class="character">
  157. <a href="/tagged/"><img src=""></a>
  158. <div class="name">Name</div>
  159. </div>
  160. <div class="character">
  161. <a href="/tagged/"><img src=""></a>
  162. <div class="name">Name</div>
  163. </div>
  164. <div class="character">
  165. <a href="/tagged/"><img src=""></a>
  166. <div class="name">Name</div>
  167. </div>
  168. </div>
  169.  
  170. </div>
  171. </div>
  172.  
  173. </div>
  174. </div>
  175.  
  176. </body>
  177.  
  178. <!-- for new section copy from here
  179.  
  180. <div class="section">
  181. <h1>Title</h1>
  182. <div class="items">
  183.  
  184. <div class="row">
  185.  
  186. <div class="character">
  187. <a href="/tagged/"><img src=""></a>
  188. <div class="name">Name</div>
  189. </div>
  190.  
  191. <div class="character">
  192. <a href="/tagged/"><img src=""></a>
  193. <div class="name">Name</div>
  194. </div>
  195.  
  196.  
  197.  
  198. <div class="character">
  199. <a href="/tagged/"><img src=""></a>
  200. <div class="name">Name</div>
  201. </div>
  202. </div>
  203. </div>
  204. </div>
  205.  
  206. to here-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement