Advertisement
wonhae

code #7

Jul 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.36 KB | None | 0 0
  1. [nobr]
  2. [comment]CODE BY [USER=51813]@wonhae[/USER].[/comment]
  3. [class=container]
  4. --bg: #ececec;
  5. --header: #363636;
  6. --border: #555555;
  7. --title: #fff;
  8. --subtitle: #363636;
  9. --txt: rgba(54, 54, 54, 0.6);
  10. --txt2: rgba(54, 54, 54, 1);
  11. --txthover: rgba(54, 54, 54, 0.8);
  12. height: 350px;
  13. width: 280px;
  14. margin: auto;
  15. background-color: var(--bg);
  16. [/class]
  17.  
  18. [class=h1]
  19. height: 30px;
  20. width: 300px;
  21. margin-left: -12px;
  22. position: absolute;
  23. margin-top: 15px;
  24. background-color: var(--header);
  25. border: 1px solid var(--border);
  26. z-index: 1;
  27. [/class]
  28.  
  29. [class=title]
  30. font-size: 16px;
  31. color: var(--title);
  32. text-align: right;
  33. margin-top: 2px;
  34. font-family: 'Roboto Slab' , serif;
  35. letter-spacing: 2px;
  36. margin-right: 20px;
  37. [/class]
  38.  
  39. [class name=title state=hover]
  40. cursor: default;
  41. [/class]
  42.  
  43. [class=subtitle]
  44. font-size: 12px;
  45. color: var(--subtitle);
  46. text-align: right;
  47. margin-top: 8px;
  48. font-family: 'Roboto Slab' , serif;
  49. letter-spacing: 1px;
  50. margin-right: 25px;
  51. text-transform: uppercase;
  52. [/class]
  53.  
  54. [class=divide1]
  55. width: 250px;
  56. height: 1px;
  57. background-color: var(--header);
  58. position: absolute;
  59. margin-top: 70px;
  60. margin-left: 15px;
  61. [/class]
  62.  
  63. [class=outer]
  64. height: 270px;
  65. width: 250px;
  66. margin-top: 70px;
  67. margin-left: 15px;
  68. background-color: transparent;
  69. position: absolute;
  70. overflow: hidden;
  71. [/class]
  72.  
  73. [class=textbox1]
  74. height: 255px;
  75. width: 250px;
  76. position: absolute;
  77. overflow-y: scroll;
  78. padding-right: 20px;
  79. opacity: 0;
  80. transition: 0.3s;
  81. z-index: -1;
  82. [/class]
  83.  
  84. [class=textbox2]
  85. height: 240px;
  86. width: 250px;
  87. position: absolute;
  88. overflow-y: scroll;
  89. padding-right: 20px;
  90. opacity: 0;
  91. transition: 0.3s;
  92. z-index: -1;
  93. [/class]
  94.  
  95. [class=textbox3]
  96. height: 240px;
  97. width: 250px;
  98. position: absolute;
  99. overflow-y: scroll;
  100. padding-right: 20px;
  101. opacity: 0;
  102. transition: 0.3s;
  103. z-index: -1;
  104. [/class]
  105.  
  106. [class=textbox4]
  107. height: 240px;
  108. width: 250px;
  109. position: absolute;
  110. overflow-y: scroll;
  111. padding-right: 20px;
  112. opacity: 0;
  113. transition: 0.3s;
  114. z-index: -1;
  115. [/class]
  116.  
  117. [class=txt]
  118. font-size: 10px;
  119. color: var(--txt);
  120. text-align: justify;
  121. margin-top: 8px;
  122. line-height: 14px;
  123. font-family: 'Roboto Slab' , serif;
  124. letter-spacing: 1px;
  125. [/class]
  126.  
  127. [class name=txt state=hover]
  128. cursor: default;
  129. [/class]
  130.  
  131. [class=header]
  132. color: var(--txt2);
  133. font-size: 11px;
  134. display: inline;
  135. margin-left: 5px;
  136. font-weight: bold;
  137. text-decoration: underline;
  138. [/class]
  139.  
  140. [class=col]
  141. color: rgba(54, 54, 54, 0.9);
  142. display: inline;
  143. font-weight: bold;
  144. [/class]
  145.  
  146. [class=link]
  147. color: var(--txt2);
  148. font-weight: bold;
  149. display: inline;
  150. text-transform: uppercase;
  151. transition: 0.4s;
  152. [/class]
  153.  
  154. [class name=link state=hover]
  155. color: var(--txthover);
  156. transition: 0.4s;
  157. cursor: pointer;
  158. [/class]
  159.  
  160. [class=show]
  161. opacity: 1;
  162. z-index: 1;
  163. transition: 0.3s;
  164. [/class]
  165.  
  166. [script class=container on=init]
  167. addClass show textbox1
  168. removeClass show textbox2
  169. removeClass show textbox3
  170. removeClass show textbox4
  171. [/script]
  172.  
  173. [script class=link1 on=click]
  174. addClass show textbox1
  175. removeClass show textbox2
  176. removeClass show textbox3
  177. removeClass show textbox4
  178. [/script]
  179.  
  180. [script class=link2 on=click]
  181. removeClass show textbox1
  182. addClass show textbox2
  183. removeClass show textbox3
  184. removeClass show textbox4
  185. [/script]
  186.  
  187. [script class=link3 on=click]
  188. removeClass show textbox1
  189. removeClass show textbox2
  190. addClass show textbox3
  191. removeClass show textbox4
  192. [/script]
  193.  
  194. [script class=link4 on=click]
  195. removeClass show textbox1
  196. removeClass show textbox2
  197. removeClass show textbox3
  198. addClass show textbox4
  199. [/script]
  200.  
  201.  
  202. [div style="display: none;"][font=Roboto Slab].[/font][/div]
  203. [div class=container]
  204. [div class=h1]
  205. [div class=title]title[/div][div class=subtitle]subtitle[/div]
  206. [/div]
  207. [div class=divide1][/div]
  208. [div class=outer]
  209. [div class="textbox1 txt"]text here [br][/br][br][/br] these are tabs; this home page is 'page 1', click the here for [div class="link link2"]page 2[/div] and [div class="link link3"]page 3[/div]. these can be moved and changed, and placed anywhere in the text on each page. make sure to follow the format they are currently in though. [br][/br][br][/br][icode][div class="link link1"]for page 1 (this current page)[/div][/icode][br][/br][br][/br][icode][div class="link link2"]for page 2[/div][/icode][br][/br][br][/br][icode][div class="link link3"]for page 3[/div][/icode][/div]
  210.  
  211. [div class="textbox2 txt"][div class=header]HEADER[/div]
  212. [br][/br][br][/br]the 'col' class is used here to make text [div class=col]bolded[/div] and darker in colour.
  213. [br][/br][br][/br]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tortor libero, blandit in leo eu, varius porta massa. Sed pretium sapien et dignissim porttitor. [div class=col]Nunc[/div] rutrum condimentum pharetra. Vivamus semper [div class=col]enim in velit[/div] lacinia porta. Sed in justo non felis fermentum bibendum at quis urna. Maecenas vitae metus tincidunt, laoreet risus eu, vehicula dui. [div class=col]Nulla hendrerit[/div] maximus tempor. Vestibulum quis laoreet eros. Nam a sapien lorem. Curabitur varius urna elementum luctus gravida. Proin fermentum turpis ipsum. Etiam neque mauris, imperdiet ut euismod at, semper ac nisl. Nunc imperdiet bibendum eleifend. In interdum, risus nec condimentum venenatis, arcu tellus convallis ligula, a sagittis dui risus nec libero. Nam luctus enim et lectus tincidunt, et vestibulum ipsum ultrices.
  214. [br][/br][br][/br]click to go to [div class="link link3"]page 3[/div] or click here to go to [div class="link link1"]page 1[/div] again[/div]
  215.  
  216. [div class="textbox3 txt"]
  217. click here for [div class="link link4"]page 4[/div], only accessible through this page. you can add more links, take this out etc. make sure when you add a page, you add a [br][/br][br][/br][icode][div class="textbox5 txt"]this is your page 4[/div][/icode] [br][/br][br][/br]as a new section in your code as well as copy and pasting the class and changing the number to 5 (or whatever number page), you will also have to add the script, but if you read the script already there, it should be easy to understand what you need to change. if not, pm me and i can walk you through it or do it for you.
  218. [br][/br][br][/br][div class=header]LIST[/div]
  219. [br][/br]› one
  220. [br][/br]› two
  221. [br][/br]› three
  222. [br][/br]› four
  223. [br][/br][br][/br][div class=header]LIST 2[/div]
  224. [br][/br]› one
  225. [br][/br]› two
  226. [br][/br]› three
  227. [br][/br]› four
  228. [br][/br][br][/br][div class=header]NOTES[/div]
  229. [br][/br]› this is a little notes section
  230. [br][/br][br][/br]Click here for [div class="link link2"]page 2[/div] and here for the [div class="link link1"]page 1[/div] page.
  231. [/div]
  232.  
  233. [div class="textbox4 txt"][div class=header]PAGE 4 HEADER![/div]
  234. [br][/br][i]this is your page only accessible through page 3[/i]
  235. [br][/br][br][/br][div class=col]misc//[/div] you can put whatever here; use it as an extra addition to your character profiles.
  236. [br][/br][br][/br]Click here to go back to [div class="link link3"]page 3 [/div], or here for [div class="link link2"]page 2[/div] and here for the [div class="link link1"]page 1 (the home page)[/div].
  237. [/div]
  238. [/div]
  239. [/div][/nobr]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement