Advertisement
staarchild

Tumblr Ask Page Code #1

Aug 25th, 2015
790
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. This custom ask page was coded by Staarchild. Please do not remove credit and/or redistribute as your own.
  8.  
  9. To make the askbox work go to the bottom of the code to where the askbox coding is. Replace the URLHERE in the code with your URL. If you do not do this it will not show up, and if you enter a different URL it won't work either.
  10.  
  11. Thank you :) <3
  12.  
  13. -->
  14.  
  15. <title>{title} ☆ inbox ☆ </title>
  16. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  17. <link rel="shortcut icon" href="{Favicon}" />
  18.  
  19. <!--
  20. if you want a custom cursor delete this line and <!--
  21.  
  22. <style type="text/css">
  23. body, a {cursor: url('INSERT URL HERE'), auto;}
  24. </style>
  25.  
  26. and this line too -->
  27.  
  28. <link href='https://fonts.googleapis.com/css?family=Rokkitt' rel='stylesheet' type='text/css'>
  29.  
  30. <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700' rel='stylesheet' type='text/css'>
  31.  
  32. <style type="text/css">
  33.  
  34. ::-webkit-scrollbar { width: 3px; }
  35. ::-webkit-scrollbar-track-piece { background-color: transparent; }
  36. ::-webkit-scrollbar-thumb:vertical {
  37. width: 1px;
  38. background-color: transparent; /* scrollbar, ignore this */
  39. }
  40.  
  41. body {
  42. padding:0px;
  43. margin:0px;
  44. font-family: 'Helvetica', sans-serif;
  45. line-height:11px;
  46. font-size:10px;
  47. background-color: #000;
  48. /* insert bkg img url below */
  49. background-image: url(http://36.media.tumblr.com/b5e0a6942af6b42ecbe3b285d7a75ae9/tumblr_nhf4rs1xGK1tjrq1to2_250.jpg);
  50. background-attachment: fixed;
  51. margin: 0;
  52. /* if bkg img is the full size of the page replace the line below with background-size: cover; */
  53. background-repeat: repeat;
  54. }
  55.  
  56. a:link {
  57. color: #000;
  58. text-decoration: underline;
  59. }
  60.  
  61. a:hover {
  62. color: #2ceded;
  63. text-decoration: underline;
  64. }
  65.  
  66. #head {
  67. margin-top: 70px;
  68. }
  69.  
  70. #links {
  71. font-family: 'Helvetica', sans-serif;
  72. font-size: 12px;
  73. text-transform: uppercase;
  74. margin-top: 10px;
  75. color: #111;
  76. text-align: center;
  77. }
  78.  
  79. #links a {
  80. font-family: 'Helvetica', sans-serif;
  81. font-size: 12px;
  82. text-transform: uppercase;
  83. text-decoration: none;
  84. color: #000;
  85. }
  86.  
  87. #links a:hover {
  88. font-family: 'Helvetica', sans-serif;
  89. font-size: 12px;
  90. text-transform: uppercase;
  91. text-decoration: none;
  92. color: #2ceded;
  93. }
  94.  
  95. #container {
  96. position: fixed, center;
  97. background: rgba(60,60,60,0.5);
  98. height: 400px;
  99. width: 500px;
  100. padding: 20px;
  101. margin-top: 5px;
  102. border: 2px solid #555;
  103. border-radius: 15px;
  104. }
  105.  
  106. #title {
  107. font-family: 'Alegreya SC', serif;
  108. font-size: 21px;
  109. letter-spacing: 1px;
  110. text-align: center;
  111. color: #2ceded;
  112. }
  113.  
  114. #titleul {
  115. background-color: #fff;
  116. position: center;
  117. height: 1px;
  118. width: 250px;
  119. margin-top: 10px;
  120. }
  121.  
  122. #subtitle {
  123. font-family: 'Rokkitt', serif;
  124. font-size: 10px;
  125. margin-top: 13px;
  126. letter-spacing: 1px;
  127. color: #fff;
  128. text-align: center;
  129. }
  130.  
  131. #subtitle b {
  132. color: #2ceded;
  133. font-weight: 2000;
  134. font-size: 15px;
  135. }
  136.  
  137. #underline {
  138. background-color: #555;
  139. height: 2px;
  140. margin-top: 10px;
  141. }
  142.  
  143. #rules {
  144. font-family: 'Helvetica', sans-serif;
  145. font-size: 10px;
  146. line-height: 16px;
  147. margin-top: 20px;
  148. margin-left: 15px;
  149. color: #fff;
  150. letter-spacing: 0.5px;
  151. text-align: left;
  152. }
  153.  
  154. #rules b {
  155. font-family: 'Rokkitt', serif;
  156. font-size: 16px;
  157. color: #2ceded;
  158. letter-spacing: 0.5px;
  159. }
  160.  
  161. #rulestitle {
  162. font-family: 'Rokkitt', serif;
  163. font-size: 17px;
  164. color: #111;
  165. margin-left: 5px;
  166. }
  167.  
  168. #rulesul {
  169. background-color: #fff;
  170. height: 1px;
  171. width: 70px;
  172. margin-left: -7px;
  173. margin-top: 1px;
  174. }
  175.  
  176. #ask{
  177. position: fixed, center;
  178. overflow:auto;
  179. margin-top: 20px;
  180. }
  181.  
  182. /* Credit CSS - DO NOT REMOVE PLEASE */
  183.  
  184. #credit {
  185. background: rgba(0,0,0,0.5);
  186. /* for white background: rgba(256,256,256,0.7); */
  187. height: 15px;
  188. width: 15px;
  189. text-align: center;
  190. position: fixed;
  191. bottom: 7px;
  192. right: 7px;
  193. border-radius: 20px;
  194. padding: 3px;
  195. }
  196.  
  197. #credit a {
  198. font-size: 15px;
  199. color: #f80653;
  200. }
  201.  
  202. #credit a:hover {
  203. color: #06f8ab;
  204. transition: 1s;
  205. }
  206.  
  207.  
  208. {CustomCSS}
  209.  
  210. </style></head>
  211.  
  212. <!-- end of style css -->
  213.  
  214. <body>
  215.  
  216. <center>
  217.  
  218. <div id="head"></div>
  219.  
  220. <div id="links"> <!-- top links start -->
  221. <a href="/">home</a>
  222. <a href="/archive">archive</a>
  223. <a href="/link1">link 2</a>
  224. <a href="/link2">link 2</a>
  225. <a href="/link3">link 3</a>
  226. <a href="http://staarchild.tumblr.com" target="_blank">credit</a>
  227. </div> <!-- top links end -->
  228.  
  229. <div id="container"> <!-- container start -->
  230.  
  231. <div id="title"> <!-- insert page title here -->
  232. send me a message
  233. </div>
  234.  
  235. <div id="titleul"></div> <!-- title underline -->
  236.  
  237. <div id="subtitle"> <!-- subtitle start -->
  238. <b>「 </b> + make me smile <b>」</b>
  239. </div> <!-- subtitle end -->
  240.  
  241. <div id="underline"></div><!-- line beneath main title -->
  242.  
  243. <div id="rules"> <!-- rules start -->
  244.  
  245. <div id="rulestitle">
  246. RULES
  247. </div>
  248.  
  249. <div id="rulesul"></div> <!-- rules title underline -->
  250.  
  251. <ol>
  252. <li> Here is where you put the rules to your askbox.</li>
  253. <li> <b>Do not</b> delete my credit.</li>
  254. <li> Five lines look best for this section.</li>
  255. <li> You can write whatever you want here really.</li>
  256. <li> <b>Fire away :)</b></li>
  257. </ol>
  258.  
  259.  
  260. </div> <!-- rules end -->
  261.  
  262. <div id="ask"> <!-- askbox start -->
  263.  
  264. <!-- insert your own url where it says URLHERE otherwise it will not work -->
  265.  
  266. <iframe frameborder="0" scrolling="yes" width="100%" height="191px" src="http://www.tumblr.com/ask_form/URLHERE.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
  267.  
  268. </div> <!-- askbox end -->
  269.  
  270. </div> <!-- container end -->
  271.  
  272. <div id="credit">
  273. <a href="http://staarchild.tumblr.com" target="_blank">★</a>
  274. </div>
  275.  
  276. </body>
  277. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement