Advertisement
Guest User

drako theme html v2

a guest
May 23rd, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1.  
  2.  
  3. <!--Farahmir base code-->
  4.  
  5. <!DOCTYPE html>
  6. <head>
  7.  
  8.  
  9. <title>{Title}</title>
  10.  
  11. <link rel="shortcut icon" href="{Favicon}">
  12. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  13. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  14.  
  15. <!--Default Variables-->
  16.  
  17. <meta name="color:Background" content="#ffffff"/>
  18. <meta name="color:Text" content="#aaaaaa"/>
  19. <meta name="color:Link" content="#000000"/>
  20.  
  21. <meta name="image:Sidebar Image" content=""/>
  22.  
  23. <meta name="text:Link 1 URL" content="" />
  24. <meta name="text:Link 1" content="" />
  25. <meta name="text:Link 2 URL" content="" />
  26. <meta name="text:Link 2" content="" />
  27. <meta name="text:Link 3 URL" content="" />
  28. <meta name="text:Link 3" content="" />
  29.  
  30.  
  31. <!-- jquery for tooltips-->
  32.  
  33.  
  34. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  35.  
  36. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  37.  
  38. <script>
  39.  
  40. (function($){
  41.  
  42. $(document).ready(function(){
  43.  
  44. $("a[title]").style_my_tooltips({
  45.  
  46. tip_follows_cursor:true,
  47.  
  48. tip_delay_time:30,
  49.  
  50. tip_fade_speed:300,
  51.  
  52. attribute:"title"
  53.  
  54. });
  55.  
  56. });
  57.  
  58. })(jQuery);
  59.  
  60. </script>
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. <!--CSS customization here. -->
  68.  
  69. <style type="text/css">
  70.  
  71. #s-m-t-tooltip{
  72. position:absolute;
  73. margin-top: 15px;
  74. z-index:9999;
  75. background:{color:background};
  76. }
  77.  
  78.  
  79.  
  80. /*basics*/
  81. blockquote {padding:5px 0 5px 30px;
  82. border-left:1px solid {color:text};
  83. margin-left:30px;
  84. }
  85.  
  86. body {
  87. background:{color:background};
  88. color:{color:text};
  89. font-family:arial;
  90. font-size:11px;
  91. text-align:justify;
  92. margin:0;
  93. line-height:16px;}
  94.  
  95.  
  96. a {
  97. color:{color:link};
  98. text-decoration:none;
  99. }
  100.  
  101. a:hover {
  102. text-decoration:underline;}
  103.  
  104. img{opacity:1;
  105. border:none;
  106. text-decoration:none}
  107.  
  108.  
  109. small {
  110. font-size:9px;}
  111.  
  112. big {
  113. font-size:12px;}
  114.  
  115.  
  116. #title {font-size:12px;
  117. line-height:18px;
  118. font-weight:bold;
  119. margin-bottom:10px;
  120. text-transform:uppercase;
  121. text-align:left;}
  122.  
  123.  
  124. /*sidebar*/
  125. #sidebar {text-align:left;
  126. position:fixed;
  127. margin-left:-225px;
  128. margin-top:20px;
  129. width:125px;
  130. }
  131.  
  132. #sidebarim {margin-bottom:20px}
  133.  
  134. #sidebarim img {height:400px}
  135.  
  136. #blogt {font-size:18px;
  137. font-weight:bold;}
  138.  
  139. #links {
  140. line-height:16px;
  141. text-transform:lowercase;
  142. }
  143.  
  144.  
  145. #links a {
  146. margin-right:5px;
  147. display:inline-block;
  148. margin-bottom:5px;
  149. }
  150.  
  151. #description {
  152. margin:20px 0;
  153. }
  154.  
  155.  
  156. /*pagination*/
  157. #pagination {
  158. margin:50px 0;
  159. text-transform:lowercase;
  160. font-weight:bold;
  161. }
  162. #pagination a {
  163. padding:0 15px;
  164. }
  165.  
  166. /*container*/
  167. #con {
  168. left:50%;
  169. margin-left:-250px;
  170. position:absolute;
  171. }
  172.  
  173.  
  174.  
  175. /*posts*/
  176.  
  177. #entries {
  178. margin-top:75px;
  179. width:500px;
  180. }
  181.  
  182.  
  183.  
  184. #posts {
  185. width:541px;
  186. {block:IndexPage}
  187. margin-bottom:75px;
  188. {/block:IndexPage}
  189. {block:PermalinkPage}
  190. margin-bottom:50px;
  191. {/block:PermalinkPage}
  192.  
  193. }
  194. #posts img {
  195. max-width:100%;
  196. padding: 0px 0px 1px 1px;
  197. }
  198.  
  199. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  200. .caption {
  201. width:100%;
  202. margin-top:10px;
  203.  
  204. }
  205.  
  206. /*quote*/
  207.  
  208. #titlequote{text-align:left;
  209. font-size:14px;
  210. line-height:18px;
  211. font-weight:bold;
  212. }
  213. #source {
  214. margin-top:15px;
  215. margin-left:15px;}
  216.  
  217. /*audio*/
  218.  
  219. .player {
  220. width:25px;
  221. height:25px;
  222. overflow:hidden;
  223. position:absolute;
  224. background:white;}
  225.  
  226. .audioinfo {
  227. margin-left:50px;
  228. }
  229.  
  230.  
  231. /*asks*/
  232. .q {margin-bottom:10px;
  233. }
  234. .as {
  235. font-weight:bold;}
  236.  
  237. .a {
  238. margin-top:10px;
  239. }
  240.  
  241.  
  242. /*chat*/
  243.  
  244. .chat ol {
  245. padding:0;
  246. list-style:none;
  247. }
  248. .line {padding:5px 0;}
  249.  
  250. .label {font-weight:bold;
  251. }
  252.  
  253.  
  254.  
  255.  
  256.  
  257. /*permalink and notes*/
  258.  
  259. #permalink {
  260. margin-top:15px;
  261. font-size:10px;
  262. text-transform:
  263. }
  264. #permalink a {margin-right:10px;
  265. }
  266.  
  267.  
  268. .tags {
  269. word-break:break-all;
  270. font-size:10px;
  271. }
  272.  
  273. .pagenotes {
  274. {block:IndexPage}
  275. display: none!important;
  276. {/block:IndexPage}
  277. width:400px;
  278. text-align:left;
  279.  
  280. }
  281. .pagenotes img {
  282. display:none!important;}
  283. .pagenotes li {
  284. list-style-type:none;
  285. padding:5px 0px;
  286. text-align:left;
  287. margin:0 0 0 -40px;
  288. }
  289.  
  290.  
  291.  
  292.  
  293. {CustomCSS}
  294.  
  295.  
  296. </style>
  297.  
  298.  
  299.  
  300. </head>
  301.  
  302. <body>
  303.  
  304.  
  305.  
  306. <div id="con">
  307.  
  308. <div id="sidebar">
  309. <div id="sidebarim"><img src="http://i.imgur.com/j62D7xx.png?1"></div>
  310. <div id="blogt">{Title}</div>
  311. <div id="description">{Description}</div>
  312. <div id="links">
  313. <a href="/">home</a>
  314. <a href="/ask">ask</a>
  315. {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
  316. {block:ifLink2}<a href="{text:Link 2 URL}" >{text:Link 2}</a>{/block:ifLink2}
  317. {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a> {/block:ifLink3}
  318. </div>
  319.  
  320.  
  321.  
  322.  
  323. </div>
  324.  
  325.  
  326.  
  327.  
  328. <div id="entries">
  329.  
  330. {block:Posts}
  331. <div id="posts">
  332.  
  333.  
  334. {block:Quote}
  335.  
  336.  
  337. <div id="titlequote">“{Quote}”</div>
  338. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  339. {/block:Quote}
  340.  
  341.  
  342.  
  343. {block:Text}
  344.  
  345. {block:Title}
  346. <div id="title">{Title}</div>{/block:Title}
  347. {Body}
  348. {/block:Text}
  349.  
  350. {block:Link}
  351. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  352. {/block:Link}
  353.  
  354. {block:Chat}
  355. {block:Title}
  356. <h1>{Title}</h1>
  357. {/block:Title}
  358. <div class="chat">
  359. <ol>{block:Lines}
  360. <li class="line {Alt}">
  361. {block:Label}
  362. <span class="label">
  363. {Label}</span>
  364. {/block:Label}{Line}</li>
  365. {/block:Lines}
  366. </ol></div>
  367. {/block:Chat}
  368.  
  369. {block:Photo}
  370. <center>
  371. <img src="{PhotoURL-HighRes}" style="">
  372. </center>
  373. {block:Caption}
  374. <div class="caption">{Caption}</div>
  375. {/block:Caption}
  376. {/block:Photo}
  377.  
  378. {block:Photoset}
  379. <center>
  380. {block:Photos}
  381. <img src="{PhotoURL-HighRes}" style="">
  382. {/block:Photos}
  383. </center>
  384. {block:Caption}
  385. <div class="caption">{Caption}</div>
  386. {/block:Caption}
  387. {/block:Photoset}
  388.  
  389. {block:Video}
  390. {Video-500}
  391. {/block:Video}
  392.  
  393. {block:Audio}
  394. <div class="player">{AudioPlayerWhite}</div>
  395. <div class="audioinfo">
  396. {block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  397. </div>
  398. {/block:Audio}
  399.  
  400. {block:Answer}
  401. <div class="q">
  402. <div class="as">{Asker} said: </div>
  403. {Question}</div>
  404. <div class="a">{Answer}</div>
  405. {/block:Answer}
  406.  
  407. {block:Date}
  408. <div id="permalink">
  409. <a href="{Permalink}" >{12Hour}:{Minutes} {AmPm}, {ShortMonth} {DayOfMonthWithZero}, {Year}</a>{block:NoteCount}<a href="{Permalink}">Notes: {NoteCount}</a>{/block:NoteCount}{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}
  410. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  411. </div>
  412. {/block:Date}
  413.  
  414.  
  415.  
  416. </div>
  417.  
  418.  
  419. {block:PostNotes}
  420. <div class="pagenotes">
  421. {PostNotes}
  422. </div>
  423. {/block:PostNotes}
  424.  
  425.  
  426.  
  427. {/block:Posts}
  428.  
  429. <div id="pagination">
  430. {block:Pagination}
  431. {block:PreviousPage}
  432. <a href="{PreviousPage}">&larr; previous </a>
  433. {/block:PreviousPage}
  434.  
  435.  
  436. {block:NextPage}
  437. <a href="{NextPage}">next &rarr;</a>
  438. {/block:NextPage}
  439. {/block:Pagination}
  440. </div>
  441.  
  442.  
  443.  
  444. </div>
  445.  
  446. </div>
  447.  
  448.  
  449. {block:ContentSource}
  450. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  451. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  452. {/block:SourceLogo}
  453. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  454. {/block:ContentSource}
  455.  
  456.  
  457. <img src="http://media.giphy.com/media/CmjjuirIo0psk/giphy.gif" height=200 style='position:fixed;bottom:0px;right:0px;z-index:999’/>
  458.  
  459. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement