med-x

berry theme

Jul 16th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.57 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  4. <script src="https://use.fontawesome.com/a6a3864563.js"></script>
  5.  
  6. <!-----
  7. base code by animecharacter.tumblr.com
  8.  
  9. for help visit:
  10. tumblr.com/docs/en/custom_themes
  11. tumblr.com/docs/en/localizing_themes
  12. w3schools.com
  13. (please dont send me customization asks)
  14.  
  15. credit if used is not compulsory but it's nice if you mention where you got this
  16.  
  17. ----->
  18.  
  19. <meta charset="utf-8">
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  21. {block:Description}
  22. <meta name="description" content="{MetaDescription}" />
  23. {/block:Description}
  24.  
  25. <title>{Title}</title>
  26.  
  27. <meta name="image:sidebar" content=""/>
  28. <meta name="color:bg" content=""/>
  29. <meta name="color:post bg" content=""/>
  30. <meta name="color:text" content=""/>
  31. <meta name="color:link" content=""/>
  32. <meta name="color:link accent" content=""/>
  33. <meta name="color:hover" content=""/>
  34. <meta name="color:hover accent" content=""/>
  35. <meta name="color:border" content="">
  36. <meta name="text:font" content="ms pgothic"/>
  37. <meta name="text:link url" content="/link"/>
  38. <meta name="text:link title" content="link"/>
  39.  
  40. <link rel="shortcut icon" href="{Favicon}">
  41. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  42. <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  43.  
  44. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  45.  
  46. <style type="text/css">
  47.  
  48.  
  49. /*
  50. general text styles, fonts and colours
  51. */
  52.  
  53. body {
  54. margin:0px;
  55. background:{color:bg};
  56. font-family: {text:font};
  57. font-size:14px;
  58. line-height:140%;
  59. color: {color:text};
  60. }
  61.  
  62. p{
  63. margin:0 0 10px 0;
  64. padding:0;
  65. }
  66.  
  67. pre {
  68. white-space: pre-wrap;
  69. white-space: -moz-pre-wrap;
  70. white-space: -pre-wrap;
  71. white-space: -o-pre-wrap;
  72. word-wrap: break-word;
  73. }
  74.  
  75. a{
  76. color:{color:link};
  77. text-shadow: -1px 0 {color:link accent}, 0 1px {color:link accent}, 1px 0 {color:link accent}, 0 -1px {color:link accent};
  78. -o-transition:.5s;
  79. -ms-transition:.5s;
  80. -moz-transition:.5s;
  81. -webkit-transition:.5s;
  82. transition:.5s;
  83. text-decoration:none;
  84. }
  85.  
  86. a:hover{
  87. color:{color:hover};
  88. text-shadow: -1px 0 {color:hover accent}, 0 1px {color:hover accent}, 1px 0 {color:hover accent}, 0 -1px {color:hover accent};
  89. }
  90.  
  91. li{
  92. margin-left:-15px;
  93. }
  94.  
  95. /*
  96. containers etc
  97. */
  98. #wrapper{
  99. width:600px;
  100. margin:50px auto;
  101. }
  102.  
  103. #sidebar{
  104. width:100px;
  105. position:fixed;
  106. }
  107.  
  108. #description{
  109. width:129px;
  110. position:fixed;
  111. text-align:center;
  112. margin-left:-38px;
  113. margin-top:105px;
  114. background:{color:post bg};
  115. padding:3px;
  116. border:1px solid {color:border};
  117. }
  118.  
  119. #links{
  120. width:30px;
  121. position:fixed;
  122. text-align:center;
  123. margin-left:-42px;
  124. margin-top:5px;
  125. }
  126.  
  127. #content{
  128. width:416px;
  129. margin-left:200px;
  130. overflow:hidden;
  131. }
  132.  
  133. .post{
  134. width:400px;
  135. margin:0 0 50px 0;
  136. overflow:hidden;
  137. background:{color:post bg};
  138. padding:7px;
  139. border:1px solid {color:border};
  140. }
  141.  
  142. #sidebar img {
  143. width:100px;
  144. }
  145.  
  146. .post img{
  147. max-width:100%;
  148. }
  149.  
  150. #nav{
  151. margin:50px 0 0 0;
  152. }
  153.  
  154. #hide{
  155. height:0px;
  156. }
  157.  
  158. #copy{
  159. background:{color:post bg};
  160. width:16px;
  161. text-align:center;
  162. padding:3px;
  163. border:1px solid {color:border};
  164. margin-left:3px;
  165. margin-top:-46px;
  166. position:fixed;
  167. }
  168.  
  169. /*
  170. content in the body of the posts - quotes, asks, etc
  171. "media" contains photos, photosets, videos, audio posts
  172. */
  173. .media{
  174. margin:0 0 10px 0;
  175. }
  176.  
  177. .title{
  178. font-weight:normal;
  179. font-size:18px;
  180. margin:0 0 10px 0;
  181. }
  182.  
  183. .quote{
  184. font-weight:normal;
  185. font-size:16px;
  186. font-style:italic;
  187. margin:0 0 10px 0;
  188. }
  189.  
  190. .question{
  191. margin-bottom:10px;
  192. }
  193.  
  194. blockquote{
  195. margin:0 0 10px 10px;
  196. padding:0 0 0 10px;
  197. border-left:solid 1px #000;
  198. }
  199.  
  200. /*
  201. post footers - date, tags, via and source
  202. */
  203. .post .footer{
  204. margin:0;
  205. text-align:left;
  206. }
  207.  
  208. /*
  209. post notes
  210. */
  211. ol.notes{
  212. list-style-type:none;
  213. padding:0;
  214. margin:0;
  215. }
  216.  
  217. ol.notes li.note img{
  218. width:16px;
  219. height:16px;
  220. }
  221.  
  222. ol.notes li.note{
  223. margin:0px;
  224. }
  225.  
  226. {CustomCSS}
  227. </style>
  228. </head>
  229.  
  230. <body>
  231. <div id="copy"><a href="http://maliciouz.tumblr.com/" title="theme!"><i class="fa fa-life-ring" aria-hidden="true"></i></a></div>
  232. <div id="wrapper">
  233.  
  234.  
  235. <div id="sidebar">
  236. <img src="{image:sidebar}">
  237. </div>
  238.  
  239. <div id="links"><p style="text-align: center; font-size: 30px">
  240. <a href="/" title="return"><i class="fa fa-battery-quarter" aria-hidden="true"></i></a><br><a href="/ask" title="communicate"><i class="fa fa-battery-half" aria-hidden="true"></i></a><br><a href="{text:link url}" title="{text:link title}"><i class="fa fa-battery-three-quarters" aria-hidden="true"></i></a></p></div>
  241.  
  242. <div id="description">{description}</div>
  243.  
  244. <div id="content">
  245. {block:Posts}
  246.  
  247. <div class="post">
  248.  
  249. {block:Text}
  250. {block:Title}
  251. <div class="title">{Title}</div>
  252. {/block:Title}
  253. {Body}
  254. {/block:Text}
  255.  
  256. {block:Photo}
  257. <div class="media">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
  258. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  259. {/block:Photo}
  260.  
  261. {block:Photoset}
  262. <div class="media">{Photoset-400}</div>
  263. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  264. {/block:Photoset}
  265.  
  266. {block:Quote}
  267. <div class="quote">"{Quote}"</div>
  268. {block:Source}
  269. <div class="quotesource">{Source}</div>
  270. {/block:Source}
  271. {/block:Quote}
  272.  
  273. {block:Link}
  274. <div class="title"><a href="{URL}">{Name}</a></div>
  275. {block:Description}
  276. <div class="description">{Description}</div>
  277. {/block:Description}
  278. {/block:Link}
  279.  
  280. {block:Chat}
  281. {block:Title}
  282. <div class="title">{Title}</div>
  283. {/block:Title}
  284.  
  285. {block:Lines}
  286. <div class="{Alt} user_{UserNumber}">
  287. {block:Label}
  288. <b>{Label}</b>{/block:Label}
  289. &nbsp;{Line}
  290. </div>
  291. {/block:Lines}
  292. {/block:Chat}
  293.  
  294. {block:Video}
  295. <div class="media">{Video-400}</div>
  296. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  297. {/block:Video}
  298.  
  299. {block:Audio}
  300. <div class="media">
  301. {block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}
  302. {AudioPlayerWhite}
  303. {block:TrackName}{TrackName}<br>{/block:TrackName}
  304. {block:Artist}{Artist}<br>{/block:Artist}
  305. {block:Album}{Album}{/block:Album}
  306. </div>
  307. {block:Caption}{Caption}{/block:Caption}
  308. {/block:Audio}
  309.  
  310. {block:Answer}
  311. <div class="question">{Asker}: {Question}</div>
  312. <div class="caption">{Answer}</div>
  313. {/block:Answer}
  314.  
  315.  
  316. {block:Date}
  317. <div class="footer">
  318. <a href="{Permalink}">{TimeAgo}{block:NoteCount} ({NoteCount} <i class="fa fa-cloud-upload" aria-hidden="true"></i>){/block:NoteCount}</a>
  319. {block:HasTags}<br>{block:Tags}<a href="{TagURL}"><i class="fa fa-file-archive-o" aria-hidden="true"></i> {Tag}</a> {/block:Tags}{/block:HasTags}
  320. <div id="hide">
  321. {block:RebloggedFrom}<br><a href="{ReblogParentURL}">{lang:Reblogged from ReblogParentName}</a>{/block:RebloggedFrom}
  322. {block:ContentSource}<br><a href="{SourceURL}">{lang:Source}: {SourceTitle}</a>{/block:ContentSource}
  323. </div>
  324. </div>
  325.  
  326. {block:PermalinkPage}
  327. {block:NoteCount}
  328. {block:PostNotes}{PostNotes}{/block:PostNotes}
  329. {/block:NoteCount}
  330. {/block:PermalinkPage}
  331. {/block:Date}
  332.  
  333. </div>
  334. {/block:Posts}
  335.  
  336. {block:Pagination}
  337. <div id="nav">
  338. {block:NextPage}<a href="{NextPage}">fight?</a>{/block:NextPage}<br>
  339. {block:PreviousPage}<a href="{PreviousPage}">or flee?</a>{/block:PreviousPage}
  340. </div>
  341. {/block:Pagination}
  342. </div>
  343. </div>
  344.  
  345. </div>
  346.  
  347.  
  348. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  349. <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  350. </body>
  351. </html>
Advertisement
Add Comment
Please, Sign In to add comment