Advertisement
ancrestas

base code

Jul 11th, 2014
937
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.99 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <head><title>{Title}</title>
  4.  
  5. <link rel="shortcut icon" href="{Favicon}">
  6. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  7. {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
  8.  
  9.  
  10. <meta name="color:background" content="#ffffff"/>
  11. <meta name="color:text" content="#000000"/>
  12. <meta name="color:hover" content="#fe76b3"/>
  13. <meta name="color:border" content="#cccccc"/>
  14. <meta name="color:title" content="#000000"/>
  15. <meta name="color:titlebg" content="#d1d1d1">
  16. <meta name="color:link" content="#fe76b3"/>
  17. <meta name="color:bold" content="##d1d1d1"/>
  18. <meta name="color:italic" content="#fafafa"/>
  19. <meta name="color:linkhov" content="#ffffff"/>
  20. <meta name="color:tooltip" content="#ffffff"/>
  21. <meta name="color:quote" content="#ffffff"/>
  22. <meta name="color:quotebg" content="#d1d1d1"/>
  23. <meta name="color:ask border" content="#fafafa"/>
  24. <meta name="color:audio border" content="#d1d1d1"/>
  25.  
  26. <meta name="image:sidebar" content=""/>
  27.  
  28. <meta name="text:Link 1" content="" />
  29. <meta name="text:Link 1 Text" content="" />
  30. <meta name="text:Link 2" content="" />
  31. <meta name="text:Link 2 Text" content="" />
  32. <meta name="text:Link 3" content="" />
  33. <meta name="text:Link 3 Text" content="" />
  34. <meta name="text:Link 4" content="" />
  35. <meta name="text:Link 4 Text" content="" />
  36. <meta name="text:Link 5" content="" />
  37. <meta name="text:Link 5 Text" content="" />
  38. <meta name="text:Link 6" content="" />
  39. <meta name="text:Link 6 Text" content="" />
  40.  
  41.  
  42. <style type="text/css">
  43.  
  44. #s-m-t-tooltip {
  45. max-width:300px;
  46. padding:5px;
  47. margin:10px 0px 0px 10px;
  48. background-color:{color:titlebg};
  49. font-family:trebuchet ms;
  50. font-size:7px;
  51. letter-spacing:1px;
  52. font-style:none;
  53. text-transform:uppercase;
  54. padding-bottom:3px;
  55. color:#fff;
  56. z-index:999999999999999999999999999999999999;
  57. }
  58.  
  59. ::-webkit-scrollbar-thumb {
  60. height:auto;
  61. background-color: #555;
  62. border:1px solid #fff;
  63. }
  64.  
  65. ::-webkit-scrollbar {
  66. height:9px;
  67. width:5px;
  68. background-color: #ddd;
  69. border:2px solid #fff;
  70. }
  71.  
  72. body {
  73. font-family:arial;
  74. font-size:10px;
  75. line-height:100%;
  76. color:{color:text};
  77. background:{color:background};
  78. text-align:justify;
  79. }
  80.  
  81. a {
  82. text-decoration:none;
  83. color:{color:text};
  84. -moz-transition-duration:0.5s;
  85. -webkit-transition-duration:0.5s;
  86. -o-transition-duration:0.5s;
  87. }
  88.  
  89. a:hover {
  90. color:{color:hover};
  91. -moz-transition-duration:0.5s;
  92. -webkit-transition-duration:0.5s;
  93. -o-transition-duration:0.5s;
  94. }
  95.  
  96. img {
  97. border:none;
  98. }
  99.  
  100. blockquote {
  101. padding:3px;
  102. padding-left:10px;
  103. border-left:1px solid {color:border};
  104. }
  105.  
  106. h1 {
  107. font-size:18px;
  108. font-weight:bold;
  109. letter-spacing:-1px;
  110. text-transform:lowercase;
  111. }
  112.  
  113. h2 {
  114. font-size:17px;
  115. font-weight:bold;
  116. padding:20px;
  117. background:{color:quotebg};
  118. color:{color:quote};
  119. line-height:100%;
  120. letter-spacing:-1px;
  121. }
  122.  
  123.  
  124. b {color:{color:bold};}
  125. i {color:{color:italic};}
  126. p {margin-top:7px; margin-bottom:7px;}
  127.  
  128.  
  129. #container {
  130. padding:20px;
  131. width:700px;
  132.  
  133. }
  134.  
  135. #posts {
  136. padding:30px;
  137. width:500px;
  138. margin-left:526px;
  139. margin-top:40px;
  140. }
  141.  
  142.  
  143. #sidebar {
  144. position:fixed;
  145. width:245px;
  146. margin-left:180px;
  147. margin-top:200px;
  148. }
  149.  
  150. .sideimg {
  151. width:245px;
  152. height:auto;
  153. overflow:hidden;
  154. }
  155.  
  156. .links {
  157. width:250px;
  158. z-index:-1px;
  159. margin-top:0px;
  160. text-transform:lowercase;
  161. font-family:arial;
  162. font-size:10px;
  163. letter-spacing:0px;
  164. padding:4px;
  165. position:fixed;
  166. text-align:center;
  167. }
  168.  
  169. .links a {
  170. color:{color:link};
  171. padding:3px;
  172. -moz-transition-duration: 0.5s;
  173. -o-transition-duration: 0.5s;
  174. -webkit-transition-duration: 0.5s;
  175. transition-duration: 0.5s;
  176. }
  177.  
  178. .links a:hover {
  179. color:{color:hover};
  180. text-decoration:underline;
  181. -moz-transition-duration: 0.5s;
  182. -o-transition-duration: 0.5s;
  183. -webkit-transition-duration: 0.5s;
  184. transition-duration: 0.5s;
  185. }
  186.  
  187. .description {
  188. margin:5px 8px 0px 8px;
  189. text-align:justify;
  190. padding:5px;
  191. line-height:10px;
  192. border-bottom:1px solid #f0f0f0;
  193. }
  194.  
  195. #pagination {
  196. width:500px;
  197. bottom:20px;
  198. margin-left:360px;
  199. padding-bottom:30px;
  200. font-size:9px;
  201. font-family:helvetica;
  202. text-align:left;
  203. letter-spacing:1px;
  204. }
  205.  
  206. #pagination a {
  207. color:{color:link};
  208. }
  209. .jump_page {
  210. padding:10px;
  211. color:{color:link};
  212. border-top:0px dotted {color:hover};
  213. }
  214. .jump_page:hover {
  215. color:{color:link hover};
  216. border-top:0px dotted #000000;
  217. }
  218. .current_page {
  219. padding:10px 8px 10px 10px;
  220. color:{color:sidelink};
  221. border-top:0px dotted {color:hover};
  222. }
  223.  
  224.  
  225. #info {
  226. padding:5px;
  227. text-align:center;
  228. font-family:calibri;
  229. font-size:8px;
  230. text-transform:uppercase;
  231. margin-left:-5px;
  232. letter-spacing:1px;
  233. }
  234.  
  235. #info a {
  236. padding:3px;
  237. }
  238.  
  239. #tag {
  240. padding:2px;
  241. }
  242.  
  243. .source {
  244. text-align:right;
  245. padding:17px;
  246. margin-bottom:-25px;
  247. }
  248.  
  249. #question {
  250. z-index:10;
  251. padding:10px;
  252. text-align:justify;
  253. line-height:10px;
  254. min-height:46px;
  255. background-color:{color:question background};
  256. }
  257.  
  258. .portrait {
  259. position:absolute;
  260. height:48px;
  261. width:48px;
  262. }
  263.  
  264. .portrait img {
  265. border:3px solid {color:border};
  266. }
  267.  
  268. .asker {
  269. margin:5px 0px 4px 60px;
  270. font:12px cambria italic;
  271. }
  272.  
  273. .asker a {
  274. margin-left:-5px;
  275. }
  276.  
  277. .question {
  278. margin-left:55px;
  279. }
  280.  
  281. ul.chat, .chat ol, .chat li {
  282. list-style:none;
  283. margin:0px;
  284. padding:2px;
  285. }
  286.  
  287. .audio{
  288. height:25px;
  289. display:block}
  290.  
  291. .audioback {
  292. margin-left:5px;
  293. z-index:99;
  294. display:block;
  295. }
  296.  
  297. ol.notes {
  298. padding:30px;
  299. width:500px;
  300. margin-left:426px;
  301. list-style-type:none;
  302. margin-top:-20px;
  303. }
  304.  
  305. ol.notes li {
  306. padding:3px;
  307. }
  308.  
  309. ol.notes img.avatar {
  310. width:15px;
  311. height:15px;
  312. border-radius:100px;
  313. margin-right:10px;
  314. }
  315.  
  316. #credit {
  317. font-size:11px;
  318. bottom:0;
  319. right:0;
  320. position:fixed;
  321. text-transform:uppercase;
  322. padding:5px;
  323. }
  324.  
  325. </style></head><body>
  326.  
  327.  
  328. <div id="sidebar">
  329.  
  330. <center><div class="sideimg"><img src="{image:sidebar}" width="245"></div></center>
  331.  
  332. <div class="description">{Description}</div>
  333.  
  334. <div class="links">
  335.  
  336. <a href="{text:Link 1}">{text:Link 1 text}.</a>
  337. <a href="{text:Link 2}">{text:Link 2 text}.</a>
  338. <a href="{text:Link 3}">{text:Link 3 text}.</a>
  339. <a href="{text:Link 4}">{text:Link 4 text}.</a>
  340. <a href="{text:Link 5}">{text:Link 5 text}.</a>
  341. </div>
  342. </div>
  343.  
  344.  
  345. <div id="container">
  346. {block:posts}
  347. <div id="posts">
  348.  
  349. {block:Text}
  350. <h1>{block:Title}{Title}{/block:Title}</h1>
  351. {Body}
  352. {/block:Text}
  353.  
  354. {block:Photo}
  355. {LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}
  356. {block:Caption}{Caption}{/block:Caption}
  357. {/block:Photo}
  358.  
  359. {block:Photoset}
  360. {Photoset-500}
  361. {block:Caption}{Caption}{/block:Caption}
  362. {/block:Photoset}
  363.  
  364. {block:Video}
  365. {Video-500}
  366. {block:Caption}{Caption}{/block:Caption}
  367. {/block:Video}
  368.  
  369. {block:Quote}
  370. {block:Source}
  371. <div class="source">{Source}</div>
  372. {/block:Source}
  373. <h2>"{quote}"</h2>
  374. {/block:Quote}
  375.  
  376. {block:Link}
  377. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  378. {block:Description}<blockquote>{Description}</blockquote>{/block:Description}
  379. {/block:Link}
  380.  
  381. {block:Chat}
  382. {block:Title}
  383. <h1>{Title}</h1>
  384. {/block:Title}
  385. <div class="chat">
  386. <ol>{block:Lines}
  387. <li class="line {Alt}">
  388. {block:Label}
  389. <span class="label">
  390. {Label}</span>
  391. {/block:Label}{Line}</li>
  392. {/block:Lines}
  393. </ol></div>
  394. {/block:Chat}
  395.  
  396. {block:Audio}
  397. <div class="audio"><div class="audioback">{AudioPlayerWhite}</div></div>
  398. {block:PermalinkPage}
  399. {block:Caption}
  400. {Caption}
  401. {/block:Caption}
  402. {/block:PermalinkPage}
  403. {/block:Audio}
  404.  
  405. {block:Answer}
  406. <div id="question">
  407. <div class="portrait">
  408. <img src="{AskerPortraitURL-40}"></div>
  409. <div class="asker">{Asker}</div>
  410. <div class="question">{Question}</div>
  411. </div>{Answer}
  412. {/block:Answer}
  413.  
  414. <div id="info"><a href="{permalink}">{shortmonth} {DayOfMonth}{dayofmonthsuffix}</a>{block:RebloggedFrom}—<a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}{block:ContentSource}&<a href="{SourceURL}">cred</a>{/block:ContentSource}—<a href="{Permalink}">{NoteCount}</a>
  415.  
  416. {block:HasTags}
  417. <div id="tag">filed under:{block:Tags}<a href="/tagged/{Tag}">#{Tag}</a>{/block:Tags}</div>
  418. {block:HasTags}
  419. </div>
  420.  
  421.  
  422. </div>
  423. {/block:Posts}
  424. {block:PostNotes}{PostNotes}{/block:PostNotes}
  425. {/block:Posts}
  426. </div></div>
  427.  
  428. <div id="pagination">
  429. <CENTER>{block:IndexPage}
  430. {block:Pagination}
  431. {block:PreviousPage}
  432. <a href="{PreviousPage}">-</a>&nbsp;&nbsp;
  433. {/block:PreviousPage}
  434. {block:JumpPagination length="3"}
  435. {block:CurrentPage}<span class="current_page">{PageNumber}</span>{/block:CurrentPage}
  436. {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}
  437. {/block:JumpPagination}
  438. {block:NextPage}
  439. &nbsp;&nbsp;<a href="{NextPage}">+</a>
  440. {/block:NextPage}
  441. {/block:Pagination}
  442. {/block:IndexPage}</CENTER>
  443. </div>
  444.  
  445. <div id="credit"><a href="http://mathewsdaddario.tumblr.com/" title="thai's themes">thai</a></div>
  446.  
  447. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  448. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  449. <script>
  450. (function($){
  451. $(document).ready(function(){
  452. $("a[title]").style_my_tooltips({
  453. tip_follows_cursor:true,
  454. tip_delay_time:150,
  455. tip_fade_speed:700,
  456. attribute:"title"
  457. });
  458. });
  459. })(jQuery);
  460. </script>
  461.  
  462. </body>
  463. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement