ptsdnick

cochise theme

Jun 28th, 2016
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.91 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5. base code by animecharacter.tumblr.com
  6.  
  7. this is my until dawn-esque theme.
  8.  
  9. i havent made a theme in a while so i hope you all enjoy it. editing the code is okay but do not remove the credit or repost. thank you!
  10.  
  11. - shockjockeys / eddie
  12.  
  13. ----->
  14.  
  15. {text:statcounter code}
  16.  
  17. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  18.  
  19. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  20.  
  21. <script>
  22.  
  23.  
  24. (function($){
  25.  
  26. $(document).ready(function(){
  27.  
  28. $("a[title]").style_my_tooltips({
  29.  
  30. tip_follows_cursor:true,
  31.  
  32. tip_delay_time:30,
  33.  
  34. tip_fade_speed:300,
  35.  
  36. attribute:"title"
  37.  
  38. });
  39.  
  40. });
  41.  
  42. })(jQuery);
  43.  
  44. </script>
  45.  
  46. <meta charset="utf-8">
  47. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  48. {block:Description}
  49. <meta name="description" content="{MetaDescription}" />
  50. {/block:Description}
  51.  
  52. <title>{Title}</title>
  53.  
  54. <link rel="shortcut icon" href="{Favicon}">
  55. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  56. <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  57.  
  58. <meta name="image:sidebar" content="">
  59. <meta name="image:background" content="">
  60. <meta name="image:right image" content="">
  61. <meta name="image:cursor" content=""/>
  62.  
  63. <meta name="color:background" content="">
  64. <meta name="color:post bg" content="fff">
  65. <meta name="color:sidebar bg" content="fff">
  66. <meta name="color:blockquote" content="">
  67. <meta name="color:border" content="">
  68. <meta name="color:text" content="">
  69. <meta name="color:link" content="fff">
  70. <meta name="color:link hover" content="fff">
  71. <meta name="color:dropdown txt" content="fff">
  72. <meta name="color:dropdown" content="fff">
  73. <meta name="color:footer" content="">
  74. <meta name="color:footer txt" content="">
  75. <meta name="color:tooltip text" content="#fff">
  76. <meta name="color:tooltip bg" content="#fff">
  77. <meta name="color:scrollbar" content="fff">
  78. <meta name="color:scrollbar bg" content="fff">
  79.  
  80. <meta name="select:post width" content="250">
  81. <meta name="select:post width" content="300">
  82. <meta name="select:post width" content="325">
  83. <meta name="select:post width" content="350">
  84.  
  85. <meta name="select:border type" content="solid">
  86. <meta name="select:border type" content="dotted">
  87. <meta name="select:border type" content="dashed">
  88. <meta name="select:border type" content="none">
  89.  
  90. <meta name="select:font size" content="11">
  91. <meta name="select:font size" content="12">
  92. <meta name="select:font size" content="13">
  93.  
  94. <meta name="select:font" content="lucida sans">
  95. <meta name="select:font" content="helevetica">
  96. <meta name="select:font" content="tahoma">
  97. <meta name="select:font" content="verdana">
  98. <meta name="select:font" content="courier">
  99. <meta name="select:font" content="arial">
  100. <meta name="select:font" content="ms pgothic">
  101. <meta name="select:font" content="ms gothic">
  102.  
  103. <meta name="text:menu txt" content="MENU"/>
  104. <meta name="text:statcounter code" content="">
  105.  
  106. <meta name="if:custom cursor" content="" />
  107. <meta name="if:show footer" content=""/>
  108.  
  109. <meta name="if:dropdown links" content=""/>
  110. <meta name="if:side links" content=""/>
  111.  
  112. <meta name="if:max bg" content="" />
  113. <meta name="if:tiled bg" content="" />
  114. <meta name="if:transparent" content="">
  115. <meta name="if:round corners" content="">
  116. <meta name="if:circle sidebar img" content=""/>
  117.  
  118. <meta name="text:link emoji" content="📎">
  119.  
  120. <meta name="text:Link 1" content="">
  121. <meta name="text:Link 1 url" content="/">
  122. <meta name="text:Link 2" content="">
  123. <meta name="text:Link 2 url" content="/">
  124.  
  125. <meta name="text:right image width" content=""/>
  126. <meta name="text:right image margin left" content="0"/>
  127. <meta name="text:right image margin bottom" content="0"/>
  128.  
  129. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  130.  
  131. <style type="text/css">
  132.  
  133.  
  134. /*
  135. general text styles, fonts and colours
  136. */
  137.  
  138. ::-webkit-scrollbar {
  139. width:15px;
  140. height:0;
  141. background:{color:Scrollbar bg};
  142. border:1px solid {color:Scrollbar};
  143. }
  144. ::-webkit-scrollbar-thumb {background:{color:Scrollbar};border:1px solid {color:Scrollbar};}
  145.  
  146. div.songtitle::-webkit-scrollbar {
  147. width:7px;
  148. height:0;
  149. background:{color:Scrollbar bg};
  150. border:1px solid {color:Scrollbar};
  151. }
  152. div.songtitle::-webkit-scrollbar-thumb {background:{color:Scrollbar};border:1px solid {color:Scrollbar};}
  153.  
  154. div.notebox::-webkit-scrollbar {
  155. width:7px;
  156. height:0;
  157. background:{color:Scrollbar bg};
  158. border:1px solid {color:Scrollbar};
  159. }
  160. div.notebox::-webkit-scrollbar-thumb {background:{color:Scrollbar};border:1px solid {color:Scrollbar};}
  161.  
  162. #s-m-t-tooltip {max-width:300px;background-color:{color:tooltip bg};border:1px solid {color:border};font-size:11px;color:{color:tooltip text};letter-spacing:1px;text-transform:normal;padding:3px;margin:15px 0px 0px 15px;z-index:999;-webkit-box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);
  163. -moz-box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);
  164. box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);}
  165.  
  166. #s-m-t-tooltip {max-width:300px;background-color:{color:tooltip bg};border:1px solid {color:border};font-size:11px;color:{color:tooltip text};letter-spacing:1px;text-transform:normal;padding:3px;margin:15px 0px 0px 15px;z-index:999;-webkit-box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);
  167. -moz-box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);
  168. box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.3);}
  169.  
  170. {block:ifcustomcursor} *, body {cursor: url('{image:cursor}'), auto;} a, a:link,a:active,a:visited, a:hover {cursor: url('{image:cursor}'), auto;} {/block:ifcustomcursor}
  171.  
  172. body {
  173. margin:0px;
  174. background:{color:background};
  175. font-family:{select:font};
  176. font-size:{select:font size}px;
  177. line-height:140%;
  178. color:{color:text};
  179. {block:iftiledbg}background: {color:Background} url('{image:Background}') top left fixed repeat;{/block:iftiledbg}
  180. {block:ifmaxbg}background: {color:Background} url('{image:Background}') no-repeat center center fixed;
  181. -webkit-background-size: cover;
  182. -moz-background-size: cover;
  183. -o-background-size: cover;
  184. background-size: cover;
  185. {/block:ifmaxbg}
  186. }
  187.  
  188. p{
  189. margin:0 0 10px 0;
  190. padding:0;
  191. }
  192.  
  193. pre {
  194. white-space: pre-wrap;
  195. white-space: -moz-pre-wrap;
  196. white-space: -pre-wrap;
  197. white-space: -o-pre-wrap;
  198. word-wrap: break-word;
  199. }
  200.  
  201. a{
  202. color:{color:link};
  203. text-decoration:none;
  204. }
  205.  
  206. a:hover{
  207. color:{color:link hover};
  208. text-decoration:underline;
  209. }
  210.  
  211. li{
  212. margin-left:-15px;
  213. }
  214.  
  215. /*
  216. containers etc
  217. */
  218. #wrapper{
  219. width:600px;
  220. margin:50px auto;
  221. }
  222.  
  223. #sidebar{
  224. width:130px;
  225. margin-top:60px;
  226. margin-left:-70px;
  227. position:fixed;
  228. background-color:{color:sidebar bg};
  229. {block:ifroundcorners}
  230. border-radius:5px;{/block:ifroundcorners}
  231. border:{color:border} 1px {select:border type};
  232. padding:10px;
  233. {block:iftransparent}
  234. background:{color:background};
  235. {block:iftiledbg}background: {color:background} url('{image:Background}') top left fixed repeat;{/block:iftiledbg}
  236. {block:ifmaxbg}background: {color:background} url('{image:Background}') no-repeat center center fixed;
  237. -webkit-background-size: cover;
  238. -moz-background-size: cover;
  239. -o-background-size: cover;
  240. background-size: cover;
  241. {/block:ifmaxbg}
  242. {/block:iftransparent}
  243. }
  244.  
  245. #sidebar img{
  246. margin-top:0px;
  247. margin-right:3px;
  248. border-radius:5px;
  249. {block:ifcirclesidebarimg}
  250. border-radius:80px;{/block:ifcirclesidebarimg}
  251. }
  252.  
  253. #content{
  254. width:700px;
  255. margin-left:250px;
  256. overflow:hidden;
  257. }
  258.  
  259. .post{
  260. width:{select:post width}px;
  261. margin:0 0 50px 0;
  262. overflow:hidden;
  263. background-color:{color:post bg};
  264. {block:ifroundcorners}
  265. border-radius:5px;{/block:ifroundcorners}
  266. border:{color:border} 1px {select:border type};
  267. padding:20px;
  268. {block:iftransparent}
  269. background:{color:background};
  270. {block:iftiledbg}background: {color:Background} url('{image:Background}') top left fixed repeat;{/block:iftiledbg}
  271. {block:ifmaxbg}background: {color:Background} url('{image:Background}') no-repeat center center fixed;
  272. -webkit-background-size: cover;
  273. -moz-background-size: cover;
  274. -o-background-size: cover;
  275. background-size: cover;
  276. {/block:ifmaxbg}
  277. {/block:iftransparent}
  278. }
  279.  
  280. #sidebar img, .post img{
  281. max-width:100%;
  282. }
  283.  
  284. #nav{
  285. margin:-2px 0 5px 0;
  286. text-align:center;
  287. }
  288.  
  289. #default{
  290. text-align:left;
  291. text-transform:uppercase;
  292. }
  293.  
  294. #description{
  295. border-left:solid 2px {color:border};
  296. padding-left:1px;
  297. }
  298.  
  299.  
  300. /*
  301. content in the body of the posts - quotes, asks, etc
  302. "media" contains photos, photosets, videos, audio posts
  303. */
  304. .media{
  305. margin:0 0 10px 0;
  306. }
  307.  
  308. #audio .player{background:#FFF;height:25px;width:25px;padding:2px;overflow:hidden;position:absolute;margin-top:8px;margin-left:8px;border:2px solid #fff;opacity:0.8;z-index:2;}
  309.  
  310. .art{width:55px;height:55px; position:absolute;display:block;z-index:1;}
  311. .art img{width:50px;height:50px;}
  312.  
  313. .songtitle{margin-left:60px;height:40px;padding:5px 10px;line-height:13px;overflow:auto;font-size:13px;}
  314.  
  315. .video-container {
  316. position: center;
  317. overflow: hidden;
  318. }
  319.  
  320. .video-container iframe,
  321. .video-container object,
  322. .video-container embed {
  323. position: center;
  324. max-width:{select:Postwidth} ;
  325. max-height:{select:Postwidth} ;
  326. }
  327.  
  328. .video-wrapper {
  329. max-width:{select:Postwidth} ;
  330. max-height:{select:Postwidth} ;
  331. }
  332.  
  333. .title{
  334. font-weight:bold;
  335. font-size:18px;
  336. margin:0 0 10px 0;
  337. padding-bottom:5px
  338. }
  339.  
  340. .quote{
  341. font-weight:normal;
  342. font-size:16px;
  343. font-style:italic;
  344. margin:0 0 10px 0;
  345. }
  346.  
  347. .question{
  348. margin-bottom:10px;
  349. border-bottom:{select:border type} {color:border} 1px;
  350. padding-bottom:5px;
  351. }
  352.  
  353. blockquote{
  354. margin:0 0 10px 10px;
  355. padding:0 0 0 10px;
  356. border-left:solid 1px {color:blockquote};
  357. }
  358.  
  359. /*
  360. post footers - date, tags, via and source
  361. */
  362. .post .footer{
  363. margin:15px 5px 0 5px;
  364. text-align:left;
  365. background-color:{color:footer};
  366. color:{color:footer txt};
  367. padding:5px;
  368. border-radius:5px;
  369. }
  370.  
  371. /*
  372. post notes
  373. */
  374. ol.notes{
  375. list-style-type:none;
  376. padding:0;
  377. margin:0;
  378. }
  379.  
  380. ol.notes li.note img{
  381. width:16px;
  382. height:16px;
  383. }
  384.  
  385. ol.notes li.note{
  386. margin:0px;
  387. }
  388.  
  389. {CustomCSS}
  390. </style>
  391. </head>
  392.  
  393. <body>
  394. <div id="wrapper">
  395.  
  396.  
  397. <div id="sidebar">
  398. {block:Pagination}
  399. <div id="nav">
  400. {block:PreviousPage}<a href="{PreviousPage}">prev</a>{/block:PreviousPage}
  401. /
  402. {block:NextPage} <a href="{NextPage}">next</a>{/block:NextPage}
  403. </div>
  404. {/block:Pagination}
  405. <center><a href="/" title="refresh"><img src="{image:Sidebar}"></a></center>
  406. <center>{block:Description}<div id="description">
  407. <p>{Description}</p>
  408. </div>{/block:Description}</center>
  409.  
  410. {block:ifsidelinks}
  411. <div id="default">
  412. {text:link emoji}<a href="/">home</a><br>
  413. {text:link emoji}<a href="/ask">ask</a><br>
  414. {block:ifLink1}{text:link emoji}<a href="{text:Link 1 URL}">{text:Link 1}</a><br>{/block:ifLink1}
  415. {block:ifLink2}{text:link emoji}<a href="{text:Link 2 URL}">{text:Link 2}</a><br>{/block:ifLink2}
  416. {block:ifLink3}{text:link emoji}<a href="{text:Link 3 URL}">{text:Link 3}</a> {/block:ifLink3}
  417. </div>
  418. {/block:ifsidelinks}
  419.  
  420. {block:ifDropdownlinks}
  421. <center>
  422. <select style="width: 110px; text-transform: uppercase; border: 1px solid {color:border}; padding: 5px; background-color: {color:dropdown}; color:{color:dropdown txt}; font-family: {select:font}; font-size:12px;" onChange="location.href=this.options[this.selectedIndex].value;">
  423.  
  424. <option>{text:menu txt}</option>
  425.  
  426. <option value="/">home</option>
  427.  
  428. <option value="/ask">ask</option>
  429.  
  430. {block:ifLink1}<option value="{text:Link 1 URL}">{text:Link 1}</option>{block:ifLink1}
  431.  
  432. {block:ifLink2}<option value="{text:Link 2 URL}">{text:Link 2}</option>{block:ifLink2}
  433.  
  434. </select>
  435. {/block:ifDropdownlinks}
  436. </div>
  437.  
  438.  
  439.  
  440. <div id="content">
  441. {block:Posts}
  442.  
  443. {block:ContentSource}
  444. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  445. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  446. {/block:SourceLogo}
  447. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  448. {/block:ContentSource}
  449. {block:NoRebloggedFrom}
  450. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  451. {/block:NoRebloggedFrom}
  452.  
  453. <div class="post">
  454.  
  455. {block:Text}
  456. {block:Title}
  457. <div class="title">{Title}</div>
  458. {/block:Title}
  459. {Body}
  460. {/block:Text}
  461.  
  462. {block:Photo}
  463. <div class="media">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
  464. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  465. {/block:Photo}
  466.  
  467. {block:Photoset}
  468. <div class="media">{Photoset}</div>
  469. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  470. {/block:Photoset}
  471.  
  472. {block:Quote}
  473. <div class="quote">"{Quote}"</div>
  474. {block:Source}
  475. <div class="quotesource">{Source}</div>
  476. {/block:Source}
  477. {/block:Quote}
  478.  
  479. {block:Link}
  480. <div class="title"><a href="{URL}">{Name}</a></div>
  481. {block:Description}
  482. <div class="description">{Description}</div>
  483. {/block:Description}
  484. {/block:Link}
  485.  
  486. {block:Chat}
  487. {block:Title}
  488. <div class="title">{Title}</div>
  489. {/block:Title}
  490.  
  491. {block:Lines}
  492. <div class="{Alt} user_{UserNumber}">
  493. {block:Label}
  494. <b>{Label}</b>{/block:Label}
  495. &nbsp;{Line}
  496. </div>
  497. {/block:Lines}
  498. {/block:Chat}
  499.  
  500. {block:Video}
  501. <div class="media">
  502. <div class="video-wrapper">
  503. <div class="video-container">{Video-400}</div>
  504. </div>
  505. </div>
  506. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  507. {/block:Video}
  508.  
  509. {block:Audio}
  510. <div id="audio">
  511. <div class="art">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
  512. <div class="player">{AudioPlayerWhite}</div>
  513. <div class="songtitle">
  514. {block:TrackName}<i>{TrackName}</i>{/block:TrackName}<br>
  515. {block:Artist}{Artist}{/block:Artist}<br>
  516. {block:Album}{Album}{/block:Album}</div></div>
  517. {block:Caption}{Caption}{/block:Caption}
  518. {/block:Audio}
  519.  
  520. {block:Answer}
  521. <div class="question"><b>{Asker} asked</b>: {Question}</div>
  522. <div class="caption">{Answer}</div>
  523. {/block:Answer}
  524.  
  525.  
  526. {block:Date}
  527. {block:ifshowfooter}
  528. <div class="footer">
  529. <a href="{Permalink}" title="posted {Month} {DayOfMonth} {Year}"> {MonthNumberWithZero}.{DayofMonthWithZero}.{ShortYear}</a> + {NoteCount} N
  530. <br>{block:HasTags}{block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}{/block:HasTags}
  531. </div>
  532. {/block:ifshowfooter}
  533.  
  534.  
  535. {block:PermalinkPage}
  536. {block:NoteCount}
  537. {block:PostNotes}{PostNotes}{/block:PostNotes}
  538. {/block:NoteCount}
  539. {/block:PermalinkPage}
  540. {/block:Date}
  541.  
  542. </div>
  543. {/block:Posts}
  544.  
  545. </div>
  546.  
  547. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  548. <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  549.  
  550. <div id="imageright" style="position:fixed; bottom:{text:right image margin bottom}px; right:{text:right image margin left}px; z-index:-1;"><img src="{image:right Image}"width="{text:right image width}"></div>
  551.  
  552. <a style="bottom:2px;right:2px;background:none;none;position:fixed;padding:2px;font-size:17px;font-family: arial;font-weight:bold;color:{color:Link};text-decoration:none;" href="http://www.shockjockeys.tumblr.com" title="credit">CREDIT</a>
  553.  
  554. </body>
  555. </html>
Advertisement
Add Comment
Please, Sign In to add comment