Advertisement
jercydee

MOBASIC #002 by striveattemptfail

Apr 28th, 2015
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.78 KB | None | 0 0
  1. <!---
  2. MOBILE THEME 001: MOBASIC #002
  3. THEME BY: Jercy @ striveattemptfail.tumblr.com
  4. LAST UPDATED: May 2015
  5.  
  6. HOW TO USE AND INSTALL:
  7. -If you don't know how to install mobile themes, go to striveattemptfail.tumblr.com/themeinstall
  8.  
  9. CREDITS:
  10. -This theme follows this [http://design-seeds.com/home/entry/orchid-hues3] colour scheme
  11. --->
  12.  
  13. <html>
  14. <head>
  15.  
  16. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  17. <meta name="viewport" content="width=560"/>
  18. <title>{Title}</title>
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. <style type="text/css">
  22.  
  23. html { width:560px; margin-left:auto; margin-right:auto; }
  24.  
  25. body { font-family: Helvetica; font-size: 25px; margin-left: auto; margin-right: auto; word-wrap: break-word; white-space: normal; overflow-x: hidden;
  26. background-color: #91868f; /* changes the background colour */ }
  27.  
  28. a { text-decoration: none;
  29. color: #688299; /* changes the link colour */ }
  30.  
  31. blockquote { margin: 1em 1em; padding: 20px;
  32. border-left: solid 3px #91868f; /* changes the colour of blockquote lines */ }
  33. blockquote img { max-width: 50%; max-height: 50%; }
  34.  
  35. img { max-width: 100%; max-height: 100%; }
  36.  
  37. h3 { text-align: center; font-size: 2.5em; margin-top: -5px; margin-bottom: -20px;
  38. color: #4f484f; /* changes blog title colour */ }
  39.  
  40. h2 { font-size: 1.5em; font-weight: none; margin-top: 0.1em; margin-bottom: -0.1em;
  41. color: #4f484f; /* changes post title colour */ }
  42. h2 a { font-weight: none; text-decoration: underline; }
  43.  
  44. hr { display: block; margin-top: 1em; margin-bottom: 1em; border-width: 1px; width: 25%; }
  45.  
  46. /* CONTAINERS */
  47. #container { width: 540px; margin-top: 2em; margin-left: auto; margin-right: auto; }
  48.  
  49. .navi { text-align: center; padding: 20px;
  50. background-color: #ebe6eb; /* changes navigation background colour */ }
  51. .navi a { text-decoration: underline; }
  52.  
  53. .pagination { text-align: center; padding: 20px;
  54. background-color: #ebe6eb; /* changes pagination box colour */ }
  55.  
  56. /* POST HEADER */
  57. #pheader { width: 540px; font-size: 25px; overflow: visible;
  58. border-bottom: 3px solid #688299; /* changes colour of border under post header/post date */ }
  59.  
  60. .headinfo { padding: 20px; }
  61. .headinfo a { display: inline-block; font-weight: bold;}
  62.  
  63. /* POSTS */
  64. #post { margin-top: 2em; width: 540px; margin-left: auto; margin-right: auto;
  65. background-color: #ebe6eb; /* changes post background colour */ }
  66.  
  67. .post { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden; }
  68.  
  69. .photo { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden; }
  70. .panorama { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden; }
  71.  
  72. .quote { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden; }
  73. .quote_source { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden; }
  74.  
  75. .chat { word-wrap: break-word; white-space: normal; overflow-x: hidden; list-style: none; line-height: 1.5em; overflow: auto; word-wrap: normal; padding: 20px; }
  76. .chat li { overflow: auto; word-wrap: normal; }
  77.  
  78. .quest { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden;
  79. background-color: #e6d3c4; /* changes background colour for asks */
  80. border-bottom: 3px solid #688299; /* colour of the border between reblogged asks and other comments */
  81. }
  82.  
  83. .asker { padding: 0 0 7px 0; word-wrap: break-word; white-space: normal; overflow-x: hidden; font-weight: bold; display: inline-block; }
  84.  
  85. .asker_question { padding: 0 30px; word-wrap: break-word; white-space: normal; overflow-x: hidden; display: inline-block; }
  86.  
  87. .answer { margin-bottom: -10px; word-wrap: break-word; white-space: normal; overflow-x: hidden; font-weight: bold; }
  88.  
  89. .answer_ans { padding: 0 30px; word-wrap: break-word; white-space: normal; overflow-x: hidden; display: inline-block; }
  90.  
  91. .replies { padding: 20px; word-wrap: break-word; white-space: normal; overflow-x: hidden; }
  92.  
  93. /* POST FOOTER */
  94. #pfooter { width: 540px; font-size: 25px; overflow: visible;
  95. border-top: 3px solid #688299; /* changes colour of border over note count and post source */ }
  96.  
  97. .footinfo { padding: 20px; }
  98. .footinfo a { display: inline-block; }
  99.  
  100. #pfooter_2 { width: 540px; font-size: 25px; word-wrap: break-word; overflow: hidden; white-space: normal;
  101. border-top: 3px solid #688299; /* changes colour of border over note count and post source */ }
  102.  
  103. .tags { padding: 20px; display: inline-block; margin-right: 0.5em; }
  104. .tags a { display: inline-block; margin-right: 0.5em; }
  105.  
  106. /* POST NOTES */
  107. #postnotes { width: 540px; margin-left: auto; margin-right: auto; }
  108.  
  109. .notecontainer { margin-top: 1em; padding: 20px;
  110. background-color: #ebe6eb; /* box colour for notes in permalink pages */ }
  111.  
  112. .notecontainer ol.notes { list-style-type: none; margin: 0; padding: 0; }
  113. .notecontainer img.avatar { margin-right: 10px; width: 16px; height: 16px; }
  114.  
  115. /* FOOTER */
  116. #foo { margin: 1em; padding: 10px; font-size: 12px; text-align: center; }
  117. #foo a { text-decoration: underline;
  118. color: #4f484f; /* changes link colour for theme credits, DO NOT REMOVE */ }
  119.  
  120. </style>
  121. </head>
  122.  
  123. <body>
  124.  
  125. <!-----------CODE BY STRIVEATTEMPTFAIL, please don't steal----------->
  126.  
  127. <h3>{Title}</h3>
  128.  
  129. <div id="container">
  130. <div class="navi">
  131. <a href="/">home</a> {block:AskEnabled}&bull; <a href="/ask">{AskLabel}</a>{/block:AskEnabled} {block:SubmissionsEnabled}&bull; <a href="/submit">{SubmitLabel}</a>{/block:SubmissionsEnabled}
  132. <!--- BDESCRIPTION: You can delete the "{Description}" code and customize your own description if you'd like --->
  133. <p>{Description}</p>
  134. </div>
  135. </div>
  136.  
  137. {block:Posts}
  138. <div id="post">
  139.  
  140. <div id="pheader">
  141. <div class="headinfo">
  142. {block:Date} <a href="{Permalink}">{Month} {DayOfMonth}, {Year}</a>{/block:Date}
  143. </div>
  144. </div>
  145.  
  146. {block:Text}
  147. <div class="post">
  148. {block:Title}
  149. <h2>{Title}</h2>
  150. {/block:Title}
  151. {Body}
  152. </div>
  153. {/block:Text}
  154.  
  155. {block:Photo}
  156. <div class="photo">
  157. <img src="{PhotoURL-500}" alt="{PhotoAlt}">
  158. {block:Caption} {Caption} {/block:Caption}
  159. </div>
  160. {/block:Photo}
  161.  
  162. {block:Panorama}
  163. <div class="panorama">
  164. {LinkOpenTag}
  165. <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
  166. {LinkCloseTag}{block:Caption}
  167. <div class="caption">{Caption}</div>
  168. {/block:Caption}
  169. </div>
  170. {/block:Panorama}
  171.  
  172. {block:Photoset}
  173. <div class="photo">
  174. {Photoset-500}
  175. {block:Caption}
  176. <div class="caption">{Caption}</div>
  177. {/block:Caption}
  178. </div>
  179. {/block:Photoset}
  180.  
  181. {block:Link}
  182. <div class="post">
  183. <h2><a href="{URL}" {Target}>{Name}</a></h2>
  184. {block:Description}
  185. <div class="description">{Description}</div>
  186. {/block:Description}
  187. </div>
  188. {/block:Link}
  189.  
  190. {block:Quote}
  191. <div class="quote">
  192. <h2>"{Quote}"</h2>
  193. {block:Source}
  194. <div class="quote_source">&mdash; {Source}</div>
  195. {/block:Source}
  196. </div>
  197. {/block:Quote}
  198.  
  199. {block:Audio}
  200. <div class="post">
  201. {AudioEmbed}
  202. {block:Caption}
  203. {Caption}
  204. {/block:Caption}
  205. </div>
  206. {/block:Audio}
  207.  
  208. {block:Video}
  209. <div class="post">
  210. {Video-500}
  211. {block:Caption}
  212. {Caption}
  213. {/block:Caption}
  214. </div>
  215. {/block:Video}
  216.  
  217. {block:Chat}
  218. <div class="chat">
  219. {block:Title}
  220. <h2>{Title}</h2>
  221. {/block:Title}
  222.  
  223. <ul class="chat">
  224. {block:Lines}
  225. <li>
  226. {block:Label}<b>{Label}</b>{/block:Label} {Line}
  227. </li>
  228. {/block:Lines}
  229. </div>
  230. </ul>
  231. {/block:Chat}
  232.  
  233. {block:Answer}
  234. <div class="quest">
  235. <div class="asker">{Asker}</div>
  236. <div class="asker_question">{Question}</div>
  237.  
  238. <hr>
  239. {block:Answerer}
  240. <div class="answer">{Answerer}</div>
  241. <div class="answer_ans">{Answer}</div>
  242. </div>
  243. {/block:Answerer}
  244.  
  245. <div class="replies">{Replies}</div></div>
  246. {/block:Answer}
  247.  
  248. <!-----------CODE BY STRIVEATTEMPTFAIL, please don't steal----------->
  249.  
  250. {block:NoteCount}
  251. <div id="pfooter">
  252. <div class="footinfo">
  253. <a href="{Permalink}#postnotes">{NoteCountWithLabel}</a> {block:RebloggedFrom}&bull; <a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}{block:ContentSource} &bull; <a href="{SourceURL}">&copy;</a>{/block:ContentSource}
  254. </div>
  255. </div>
  256. {/block:NoteCount}
  257.  
  258. {block:HasTags}
  259. <div id="pfooter_2">
  260. <div class="tags"><b>TAGGED:</b>&ensp;{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>
  261. </div>
  262. {/block:HasTags}
  263.  
  264. </div>
  265. {/block:Posts}
  266.  
  267. {block:PostNotes}
  268. <div id="postnotes">
  269. <div class="notecontainer">{PostNotes-16}</div>
  270. </div>
  271. {/block:PostNotes}
  272.  
  273. {block:Pagination}
  274. <div id="container">
  275. <div class="pagination">
  276. {block:PreviousPage}&nbsp;<a href="{PreviousPage}">prev</a>{/block:PreviousPage}
  277. &nbsp;&bull;&nbsp;
  278. {block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}
  279. </div>
  280. </div>
  281. {/block:Pagination}
  282.  
  283. <!-----------------THEME CREDIT, please don't remove!----------------->
  284. <div id="foo">
  285. <a href="#container">Back to top</a> &bull; Mobile theme by <a href="http://striveattemptfail.tumblr.com">striveattemptfail</a>
  286. </div>
  287.  
  288. </body>
  289. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement