Zig Zag About (SCROLL) - Tumblr Page Code


SUBMITTED BY: VSmolGay

DATE: May 31, 2017, 4:18 p.m.

UPDATED: May 31, 2017, 4:19 p.m.

FORMAT: CSS

SIZE: 10.4 kB

HITS: 365

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <!Please do not claim as your own.
  3. Feel free to edit as you see fit, but please don't take parts from this to create your own about page.
  4. This was a lot of me yelling at my computer in frustration and a lot of me laying my head down on my desk.>
  5. <head>
  6. <title>About</title>
  7. <style>
  8. /*--BIG TITLE--*/
  9. #logo h1{
  10. font-family:'Bebas Neue', "Times New Roman", Times, serif;
  11. font-size:50px;
  12. text-align:center;
  13. color: #79be8a; /*--Colour of the Big Title font.--*/
  14. margin:0;
  15. padding:30px 0 0 0;
  16. text-shadow: -4px 3px 0 #a7dbbc; /*--You can change the colour of the Text Shadow here.--*/
  17. }
  18. /*--MENU--*/
  19. .circlemenu{
  20. width: 100%;
  21. overflow:hidden;
  22. background-color:#b4e4c8;
  23. border: 2px dashed #fff;
  24. margin-bottom: 5px;
  25. margin-left: auto;
  26. margin-right: auto;
  27. }
  28. .circlemenu ul{
  29. margin: 0;
  30. padding: 0;
  31. font: bold 12px 'PT Sans Narrow';
  32. list-style-type: none;
  33. text-align: center; /*--left, center, right, etc etc--*/
  34. }
  35. .circlemenu li{
  36. display: inline;
  37. margin: 0;
  38. }
  39. .circlemenu li a{
  40. display:inline-block;
  41. text-align:center;
  42. text-decoration: none;
  43. color: #fff;
  44. background:#b4e4c8; /*--This is the background colour.--*/
  45. margin: 0;
  46. margin-right:0px;
  47. width:100px;
  48. height:40px;
  49. -webkit-transition: background-color 0.3s linear, letter-spacing 0.3s linear; /*--This is the Transition Back. You can change the 's' to however long you want.--*/
  50. }
  51. .circlemenu a span{
  52. position:relative;
  53. top:30%;
  54. }
  55. .circlemenu li a:visited{
  56. color: #fff;
  57. }
  58. .circlemenu a:hover{
  59. background-color: #cdf3dd; /*--This is the hovor background colour.--*/
  60. -webkit-transition: background-color 0.3s linear, letter-spacing 0.3s linear; /*--This is the Transition. You can change the 's' to however long you want.--*/
  61. letter-spacing: 4px;
  62. }
  63. /*---SCROLL--*/
  64. /*--This is where I got extremely frustrated thank you to fuandon for the help.--*/
  65. ::-webkit-scrollbar {
  66. width:5px;
  67. }
  68. ::-webkit-scrollbar-button:start:decrement
  69. ::-webkit-scrollbar-button:end:increment {
  70. display:block;
  71. height:0px;
  72. background-color:transparent;
  73. }
  74. ::-webkit-scrollbar-track-piece {
  75. background-color:transparent; /*--You CAN change 'transparent' to whatever colour but ehn I think it looks nice w/o colour.--*/
  76. -webkit-border-radius:0;
  77. -webkit-border-bottom-right-radius:3px;
  78. -webkit-border-bottom-left-radius:3px;
  79. margin-top: 15px;
  80. margin-bottom: 15px;
  81. }
  82. ::-webkit-scrollbar-thumb:vertical {
  83. height:75%;
  84. background-color:#a7dbbc; /*--This is the colour of the Scroll Bar jsyk.--*/
  85. -webkit-border-radius:20px;
  86. }
  87. /*---MAIN CSS---*/
  88. body{
  89. background-image: url('http://i.imgur.com/RfQwpw7.gif'); /*--You can change this image I guess--*/
  90. font-family: arial;
  91. font-size: 11px;
  92. color: #000;
  93. }
  94. /*--This is the main Container do not touch.--*/
  95. #container1{
  96. width:770px;
  97. height:100%;
  98. margin-top:170px;
  99. margin: auto;
  100. padding:10;
  101. }
  102. /*--Even though it isn't suggested, you can flip which side the Little Info & Info Boxes are by editing the following two containers. In Container2, switch the 'float' from left to right. In Container3, switch the 'float' from right to left. Et Voila.--*/
  103. #container2{
  104. margin: 10px;
  105. margin-top: 160px;
  106. width:310;
  107. height:100%;
  108. float:left;
  109. }
  110. #container3{
  111. width:425;
  112. height:100%;
  113. margin-top:75px;
  114. float:right;
  115. }
  116. /*---INFO BOXES---*/
  117. #smallinfo{
  118. height:300px;
  119. width:200px;
  120. border:1px dotted #7a7a7a;
  121. -moz-border-radius:15px;
  122. -webkit-border-radius:15px;
  123. margin:auto;
  124. margin-top: 10px;
  125. padding:10px;
  126. background-color: #fff; /*--Colour of the Little Info Box.--*/
  127. overflow: auto;
  128. }
  129. #infobox{
  130. height:500px;
  131. width:400px;
  132. -moz-border-radius:15px;
  133. -webkit-border-radius:15px;
  134. border:1px dotted #7a7a7a;
  135. margin: auto;
  136. padding:10px;
  137. overflow:auto;
  138. background-color: #fff; /*--Colour of the Info Box.--*/
  139. }
  140. /*---STYLES---*/
  141. /*--This is literately just the Logo Header copied and pasted so uh yeah.--*/
  142. h1{
  143. font-family:'Bebas Neue', "Times New Roman", Times, serif;
  144. font-size:50px;
  145. text-align:center;
  146. color: #79be8a;
  147. margin:0;
  148. padding:30px 0 0 0;
  149. text-shadow: -4px 3px 0 #a7dbbc;
  150. }
  151. /*--Little Info Header.--*/
  152. h2{
  153. color:#000;
  154. font-family:'Bebas Neue', "Times New Roman";
  155. font-size:18px;
  156. font-weight:normal;
  157. letter-spacing:3px;
  158. text-transform: uppercase;
  159. border-bottom: 1px solid #ccc;
  160. }
  161. /*--Little Info Sections.--*/
  162. h3{
  163. color:#000;
  164. font-family:'Bebas Neue', "Times New Roman";
  165. font-size:14px;
  166. font-weight:normal;
  167. letter-spacing:3px;
  168. text-transform: uppercase;
  169. margin-bottom: 0px;
  170. }
  171. /*--Info Sections--*/
  172. h4{
  173. color:#000;
  174. font-family:'Bebas Neue', "Times New Roman";
  175. font-size:18px;
  176. font-weight:normal;
  177. letter-spacing:3px;
  178. text-transform: Capitalize;
  179. margin-bottom: 0px;
  180. border-bottom: 1px solid #ccc;
  181. }
  182. /*--This is Links and stuff.--*/
  183. a:link, a:active, a:visited {
  184. color: #529ecc;
  185. text-decoration:none;
  186. }
  187. /*--This is Hovered Links.--*/
  188. a:hover {
  189. color: #97c5e0;
  190. text-decoration: none;
  191. }
  192. /*--This is the Dashed Horizontal Rule beneath the Little Info sections eyy.--*/
  193. hr {
  194. border: 0;
  195. border-bottom: 1px dashed #ccc;
  196. margin-left: 50px;
  197. margin-right: 50px;
  198. margin-top: 0.5px;
  199. margin-bottom: 0.5px;
  200. }
  201. /*---CREDITS---*/
  202. /*--Don't you dare remove this part i s2g.--*/
  203. #credit {
  204. position: fixed;
  205. bottom: 10px;
  206. left: 10px;
  207. font-family: 'Bebas Neue', "Times New Roman";
  208. font-size: 10px;
  209. text-transform: uppercase;
  210. text-align: right;
  211. font-weight: bold;
  212. letter-spacing: 2px;
  213. }
  214. #credit a {
  215. color: #bc4776;
  216. text-decoration: none;
  217. -webkit-transition: font-size 0.3s linear, letter-spacing 0.3s linear; /*--This is the Transition Back. You can change the 's' to however long you want.--*/
  218. }
  219. #credit a:hover{
  220. -webkit-transition: font-size 0.3s linear, letter-spacing 0.3s linear; /*--This is the Transition. You can change the 's' to however long you want.--*/
  221. font-size: 11px;
  222. letter-spacing: 4px;
  223. }
  224. </style>
  225. <body>
  226. <div id="container1">
  227. <div id="container2">
  228. <div align="center">
  229. <img src='http://placehold.it/200x240'>
  230. </div>
  231. <div id="smallinfo">
  232. <div align="center">
  233. <h2>;; Little Info ;;</h2>
  234. <h3>Name</h3><hr>Example
  235. <h3>Nickname</h3><hr></hr>Example
  236. <h3>Location</h3><hr>Example
  237. <h3>Likes</h3><hr>Example
  238. <h3>Dislikes</h3><hr>Example
  239. </div>
  240. </div>
  241. </div>
  242. <div id="container3">
  243. <div id="logo"><h1>;; About ;;<br>
  244. </div>
  245. <!--MENU-->
  246. <div class="circlemenu">
  247. <ul>
  248. <li><a href="/"><span>Home</span></a></li>
  249. <li><a href="/ask"><span>Ask</span></a></li>
  250. </ul>
  251. </div>
  252. <div id="infobox">
  253. <!---Start Section--->
  254. <h4>Section one</h4>
  255. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis laoreet nulla nec erat lobortis, quis convallis neque ullamcorper. Nulla et turpis a odio tristique cursus. Vivamus viverra nisl pretium elit auctor, nec cursus augue tristique. Nullam ac leo commodo, luctus risus laoreet, eleifend neque. Duis ac sapien quis sem molestie vehicula. Duis laoreet scelerisque diam, ac porta lectus semper eget. Proin eleifend tincidunt vestibulum. Proin nulla dui, vehicula non purus in, adipiscing dignissim leo.
  256. <!---End Section--->
  257. <!---Start Section--->
  258. <h4>Section two</h4>
  259. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis laoreet nulla nec erat lobortis, quis convallis neque ullamcorper. Nulla et turpis a odio tristique cursus. Vivamus viverra nisl pretium elit auctor, nec cursus augue tristique. Nullam ac leo commodo, luctus risus laoreet, eleifend neque. Duis ac sapien quis sem molestie vehicula. Duis laoreet scelerisque diam, ac porta lectus semper eget. Proin eleifend tincidunt vestibulum. Proin nulla dui, vehicula non purus in, adipiscing dignissim leo.
  260. <!---End Section--->
  261. <!---Start Section--->
  262. <h4>Section three</h4>
  263. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis laoreet nulla nec erat lobortis, quis convallis neque ullamcorper. Nulla et turpis a odio tristique cursus. Vivamus viverra nisl pretium elit auctor, nec cursus augue tristique. Nullam ac leo commodo, luctus risus laoreet, eleifend neque. Duis ac sapien quis sem molestie vehicula. Duis laoreet scelerisque diam, ac porta lectus semper eget. Proin eleifend tincidunt vestibulum. Proin nulla dui, vehicula non purus in, adipiscing dignissim leo.
  264. <!---End Section--->
  265. <!---Start Section--->
  266. <h4>Section four</h4>
  267. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis laoreet nulla nec erat lobortis, quis convallis neque ullamcorper. Nulla et turpis a odio tristique cursus. Vivamus viverra nisl pretium elit auctor, nec cursus augue tristique. Nullam ac leo commodo, luctus risus laoreet, eleifend neque. Duis ac sapien quis sem molestie vehicula. Duis laoreet scelerisque diam, ac porta lectus semper eget. Proin eleifend tincidunt vestibulum. Proin nulla dui, vehicula non purus in, adipiscing dignissim leo.
  268. <!---End Section--->
  269. <!---FOR MORE SECTIONS, COPY AND PASTE FROM 'START SECTION' TO 'END SECTION'--->
  270. </div>
  271. </div>
  272. </div>
  273. <!-- Also do not remove this CREDIT or I will cry actual tears.-->
  274. <div id="credit">
  275. <a href="http://naleacdesigns.tumblr.com"> Naleac Designs</a>
  276. </div>
  277. <!---CORNER IMAGE--->
  278. <!---If you want the corner image to be put to the left, change the 'right' part to 'left'.-->
  279. <img src='http://placehold.it/300x300' style='position:fixed;bottom:30px;right:30px;' width="300px">
  280. </body>

comments powered by Disqus