dansmilth

Base Code

Aug 12th, 2015
4,566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.75 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!----------- BASE CODE by clumhood :> ------------>
  5.  
  6. <title>{Title}</title>
  7. <link rel="shortcut icon" href="{Favicon}">
  8. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  9. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  10.  
  11.  
  12. <!--------DEFAULT VARIABLES-------->
  13.  
  14. <meta name="color:background" content="#ffffff"/>
  15. <meta name="color:text" content="#000000"/>
  16. <meta name="color:links" content="#626262"/>
  17. <meta name="color:links hover" content="#a5a5a5"/>
  18. <meta name="color:question" content="#f8f8f8"/>
  19. <meta name="color:scrollbar" content="#000000"/>
  20. <meta name="color:scrollbar background" content="#ffffff"/>
  21.  
  22. <meta name="image:sidebar" content=""/>
  23.  
  24. <meta name="text:link 1 title" content="link 1"/>
  25. <meta name="text:link 1 url" content=""/>
  26. <meta name="text:link 2 title" content="link 2"/>
  27. <meta name="text:link 2 url" content=""/>
  28. <meta name="text:link 3 title" content="link 3"/>
  29. <meta name="text:link 3 url" content=""/>
  30.  
  31. <!----------------SCRIPTS---------------->
  32.  
  33. <link href="http://static.tumblr.com/5omyijl/bzrn2yg7i/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  34. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  35. <script src="http://static.tumblr.com/5omyijl/RZtn2yg9v/jquery.style-my-tooltips.js"></script>
  36. <script>
  37. (function($){
  38. $(document).ready(function(){
  39. $("[title]").style_my_tooltips({
  40. tip_follows_cursor:true,
  41. tip_delay_time:200,
  42. tip_fade_speed:300
  43. });
  44. });
  45. })(jQuery);
  46. </script>
  47.  
  48. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  49.  
  50. <style type="text/css">
  51.  
  52. /*----------SCROLLBAR---------*/
  53.  
  54. ::-webkit-scrollbar {
  55. background-color: {color:scrollbar bg};
  56. height:8px;
  57. width:5px;
  58. }
  59.  
  60. ::-webkit-scrollbar-thumb:vertical {
  61. background-color:{color:scrollbar};
  62. height:50px;
  63. }
  64.  
  65. ::-webkit-scrollbar-thumb:horizontal {
  66. background-color:{color:scrollbar bg};
  67. height:8px;
  68. }
  69.  
  70. /*----------TOOLTIPS---------*/
  71.  
  72. #s-m-t-tooltip {
  73. max-width:300px;
  74. margin:15px;
  75. padding:5px;
  76. border:1px solid #eeeeee;
  77. border-radius:0px;
  78. background:#ffffff;
  79. color:{color:text};
  80. z-index:999999;
  81. font-size:7px;
  82. font-style:none;
  83. letter-spacing:2px;
  84. font-family:arial;
  85. text-transform:uppercase;
  86. box-shadow:1px 1px 3px rgba(0,0,0,.0);
  87. }
  88.  
  89. /*----------BASICS---------*/
  90.  
  91. body {
  92. background:{color:background};
  93. color:{color:text};
  94. font-family:arial;
  95. font-size:11px;
  96. line-height:150%;
  97. margin:0;
  98. text-align:left;
  99. }
  100.  
  101.  
  102. a {
  103. color:{color:links};
  104. text-decoration:none;
  105. }
  106.  
  107. a:hover {
  108. color:{color:links hover};
  109. transition:1s;
  110. -webkit-transition:1s;
  111. -moz-transition:1s;
  112. -o-transition:1s;
  113. }
  114.  
  115. img {
  116. opacity:1;
  117. text-decoration:none;
  118. }
  119.  
  120. h1 {
  121. font-size:14px;
  122. font-weight:bold;
  123. font-family:arial;
  124. line-height:150%;
  125. text-transform:uppercase;
  126. }
  127.  
  128. blockquote {
  129. padding-left:10px;
  130. margin:10px;
  131. border-left:1px solid #eee;
  132. }
  133.  
  134. /*----------SIDEBAR---------*/
  135.  
  136. .sidebar {
  137. position:fixed;
  138. top:150px;
  139. width:200px;
  140. margin-left:250px;
  141. }
  142.  
  143. .sidebar img {
  144. width:80px;
  145. }
  146.  
  147. .title {
  148. font-size:15px;
  149. text-transform:uppercase;
  150. font-weight:bold;
  151. margin-top:10px;
  152. width:250px;
  153. }
  154.  
  155. .description {
  156. width:200px;
  157. text-align:justify;
  158. margin-top:10px;
  159. }
  160.  
  161. .links {
  162. margin-top:10px;
  163. }
  164.  
  165. .links a {
  166. display:block;
  167. padding:8px;
  168. letter-spacing:1px;
  169. border-bottom:1px solid #eee;
  170. }
  171.  
  172. /*----------PAGINATION---------*/
  173.  
  174. .pagination {
  175. padding:10px;
  176. margin-top:10px;
  177. text-align:center;
  178. letter-spacing:1px;
  179. }
  180.  
  181. /*----------POSTS---------*/
  182.  
  183. .entries {
  184. margin-left:600px;
  185. margin-top:50px;
  186. width:500px;
  187. }
  188.  
  189. .posts {
  190. width:500px;
  191. margin-bottom:70px;
  192. }
  193.  
  194.  
  195. /*----------QUOTE---------*/
  196.  
  197. .quote {
  198. padding:10px;
  199. font-size:15px;
  200. }
  201.  
  202. .quotesource {
  203. padding:10px;
  204. text-align:center;
  205. }
  206.  
  207. /*----------CHAT---------*/
  208.  
  209. .chat {
  210. line-height:150%;
  211. list-style:none;
  212. }
  213.  
  214. .line.odd {
  215. padding:10px;
  216. background:#f8f8f8;
  217. }
  218.  
  219. .line.even {
  220. padding:10px;
  221. }
  222.  
  223. .label {
  224. text-transform:uppercase;
  225. font-size:10px;
  226. letter-spacing:1px;
  227. font-weight:bold;
  228. }
  229.  
  230. /*----------AUDIO---------*/
  231.  
  232. .cover {
  233. position:relative;
  234. z-index:1;
  235. max-width:100px;
  236. padding:10px;
  237. float:left;
  238. }
  239.  
  240. .playbutton {
  241. width:20px;
  242. height:30px;
  243. overflow:hidden;
  244. position:relative;
  245. z-index:2;
  246.  
  247. }
  248.  
  249.  
  250. .playbox {
  251. background-color:#000;
  252. position:absolute;
  253. z-index:2;
  254. padding:15px 24px 13px 16px;
  255. margin-top:30px;
  256. margin-left:30px;
  257. opacity:0.5;
  258. }
  259.  
  260. .trackdetails {
  261. padding:10px;
  262. width:auto;
  263. height:100px;
  264. margin-top:10px;
  265. margin-left:100px;
  266. }
  267.  
  268. /*----------ASK---------*/
  269.  
  270. .question {
  271. padding:10px;
  272. background:{color:question};
  273. }
  274.  
  275.  
  276. .asker {
  277. text-transform:uppercase;
  278. }
  279.  
  280. .answer {
  281. margin:10px;
  282. }
  283.  
  284. /*----------INFO---------*/
  285.  
  286. .info {
  287. padding:10px;
  288. text-transform:uppercase;
  289. border-top:1px solid #eee;
  290. margin-top:25px;
  291. }
  292.  
  293.  
  294. .tags {
  295. margin-left:10px;
  296. margin-top:-5px;
  297. }
  298.  
  299. .tags a {
  300. margin-right:10px;
  301. letter-spacing:1px;
  302. }
  303.  
  304. /*----------POST NOTES---------*/
  305.  
  306. ol.notes {
  307. padding:0px;
  308. margin:25px 0px 0px -10px;
  309. list-style-type:none;
  310. }
  311.  
  312. ol.notes li.note {
  313. padding:10px;
  314. }
  315.  
  316. ol.notes li.note img.avatar {
  317. vertical-align:-4px;
  318. margin-right:10px;
  319. width:16px;
  320. height:16px;
  321. }
  322.  
  323. ol.notes li.note span.action {
  324. font-weight:none;
  325. }
  326.  
  327. ol.notes li.note .answer_content {
  328. font-weight:normal;
  329. }
  330.  
  331. ol.notes li.note blockquote {
  332. padding:4px 10px;
  333. margin:10px 0px 0px 25px;
  334. }
  335.  
  336. ol.notes li.note blockquote a {
  337. text-decoration:none;
  338. }
  339.  
  340. /*----------CREDIT---------*/
  341.  
  342. .credit {
  343. font-size:8px;
  344. position:fixed;
  345. font-weight:bold;
  346. bottom:5px;
  347. right:15px;
  348. z-index:10;
  349. text-align:right;
  350. letter-spacing:1px;
  351. padding:2px;
  352. }
  353.  
  354. .credit a {
  355. color:{color:links};
  356. text-decoration:none;
  357. }
  358.  
  359. .credit a:hover {
  360. color:{color:links hover};
  361. text-decoration:none;
  362. }
  363.  
  364. </style>
  365. </head>
  366.  
  367. <body>
  368.  
  369. <div class="credit">
  370. <a title="theme" href="http://clumhood.tumblr.com/" target="_blank">CH</a></div>
  371.  
  372. <div class="sidebar">
  373. <img src="{image:sidebar}"/>
  374. <div class="title">{Title}</div>
  375. <div class="description">{Description}</div>
  376.  
  377. <div class="links">
  378. <a href="/">home</a>
  379. <a href="/ask">inbox</a>
  380. <a href="{text:link 1 url}">{text:link 1 title}</a>
  381. <a href="{text:link 2 url}">{text:link 2 title}</a>
  382. <a href="{text:link 3 url}">{text:link 3 title}</a>
  383. </div>
  384.  
  385. <div class="pagination">
  386. {block:Pagination}
  387. {block:PreviousPage}
  388. <a href="{PreviousPage}">back</a>{/block:PreviousPage}&nbsp; &nbsp;&nbsp;
  389.  
  390. {block:NextPage}
  391. <a href="{NextPage}">next</a>
  392. {/block:NextPage}
  393. {/block:Pagination}
  394. </div>
  395. </div>
  396.  
  397. <div class="entries">
  398.  
  399. {block:Posts}
  400.  
  401. <div class="posts">
  402.  
  403. {block:Text}
  404. <h1>{block:Title}{Title}{/block:Title}</h1>
  405. {Body}{/block:Text}
  406.  
  407.  
  408. {block:Photo}
  409. {LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}
  410. {block:Caption}{Caption}{/block:Caption}
  411. {/block:Photo}
  412.  
  413.  
  414. {block:Photoset}
  415. {Photoset-500}
  416. {block:Caption}{Caption}{/block:Caption}
  417. {/block:Photoset}
  418.  
  419.  
  420. {block:Quote}
  421. <div class="quote">"{Quote}"</div>
  422. {block:Source}<div class="quotesource"> — {Source}</div>
  423. {/block:Source}{/block:Quote}
  424.  
  425.  
  426. {block:Link}
  427. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  428. {block:Description}{Description}{/block:Description}
  429. {/block:Link}
  430.  
  431.  
  432. {block:Chat}
  433. {block:Title}<h1>{Title}</h1>{/block:Title} <div class="chat"> {block:Lines} <li class="line {Alt}"> {block:Label} <span class="label"> {Label}</span> {/block:Label}{Line}</li> {/block:Lines}</div>
  434. {/block:Chat}
  435.  
  436.  
  437. {block:Audio}
  438.  
  439. <div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}</div></div>
  440.  
  441. {block:AlbumArt}
  442. <img src="{AlbumArtURL}" class="cover">
  443. {/block:AlbumArt}
  444.  
  445.  
  446. <div class="trackdetails"><br>
  447. {block:TrackName}<b>TRACK:</b> {TrackName}{/block:TrackName}<br>
  448.  
  449. {block:Artist}<b>ARTIST:</b> {Artist}{/block:Artist}<br>
  450.  
  451. <b>PLAYS:</b> {FormattedPlayCount}</div>
  452.  
  453.  
  454. {block:Caption}
  455. <div class="caption">{Caption}</div>
  456. {/block:Caption}
  457. {/block:Audio}
  458.  
  459.  
  460. {block:Video}
  461. {Video-500}
  462. {block:Caption}{Caption}{/block:Caption}
  463. {/block:Video}
  464.  
  465.  
  466. {block:Answer}
  467. <div class="question">
  468. <div class="asker"><b>{Asker} said:</b></div>
  469. {Question}</div>
  470. <div class="answer">
  471. {Answer}</div>
  472. {/block:Answer}
  473.  
  474.  
  475. <div class="info">
  476. {block:Date}
  477. <b><a href="{Permalink}" title="{TimeAgo}">{Month} {DayOfMonth}{DayOfMonthSuffix}</b></a>
  478. {/block:Date}
  479.  
  480. &nbsp;&nbsp;
  481. <a href="{Permalink}">{NoteCount}</a>
  482. &nbsp;&nbsp;
  483.  
  484. <a href="{ReblogURL}" target="_blank" class="details"><i class="fa fa-repeat"></i></a>
  485.  
  486. <font style="float:right">
  487. {block:RebloggedFrom}
  488. <a href="{ReblogParentURL}" title="{ReblogParentName}">via </a>
  489. {block:ContentSource}
  490. <a href="{ReblogRootURL}" "{ReblogRootName}" title="{ReblogRootName}">/ src</a>
  491. {/block:ContentSource}
  492. {/block:RebloggedFrom}
  493. </font style>
  494.  
  495.  
  496. </div>
  497.  
  498.  
  499. {block:HasTags}
  500. <div class="tags">
  501. {block:Tags}
  502. <a href="{TagURL}">{Tag}</a>
  503. {/block:Tags}
  504. </div>
  505. {/block:HasTags}
  506.  
  507. </div>
  508.  
  509.  
  510. {block:PostNotes}
  511. {PostNotes}
  512. {/block:PostNotes}
  513.  
  514. {/block:Posts}
  515.  
  516. {block:ContentSource}
  517. <!---{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  518. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  519. {/block:SourceLogo}
  520. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} --->
  521. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  522.  
  523. </body>
Advertisement
Add Comment
Please, Sign In to add comment