Advertisement
uwuhell

theme 5

Jun 21st, 2015
4,894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.72 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5. theme by amy @chagnki
  6. if there's any problem, feel free to contact me or something
  7.  
  8. base code by animecharacter.tumblr.com!
  9.  
  10. for help visit:
  11. tumblr.com/docs/en/custom_themes
  12. tumblr.com/docs/en/localizing_themes
  13. w3schools.com
  14. (please dont send me customization asks)
  15.  
  16. please don't disturb the credit! Have a nice day :^)
  17.  
  18. ----->
  19.  
  20. <meta charset="utf-8">
  21. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  22. {block:Description}
  23. <meta name="description" content="{MetaDescription}" />
  24. {/block:Description}
  25.  
  26. <title>{Title}</title>
  27.  
  28. <link rel="shortcut icon" href="{image:Favicon}">
  29. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  30. <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  31.  
  32. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  33.  
  34. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  35.  
  36. <script>
  37. (function($){
  38. $(document).ready(function(){
  39. $("a[title]").style_my_tooltips({
  40. tip_follows_cursor:true,
  41. tip_delay_time:1,
  42. tip_fade_speed:100,
  43. attribute:"title"
  44. });
  45. });
  46. })(jQuery);
  47. </script>
  48.  
  49. <meta name="image:Background" content="">
  50. <meta name="image:Sidebar" content="">
  51. <meta name="image:Favicon" content="">
  52. <meta name="image:Right image" content="">
  53. <meta name="image:Left image" content="">
  54.  
  55. <meta name="color:Background" content="fff">
  56. <meta name="color:Sidebar bg" content="fff">
  57. <meta name="color:Post bg" content="fff">
  58. <meta name="color:Border" content="fff">
  59. <meta name="color:Link" content="fff">
  60. <meta name="color:Link bg" content="fff">
  61. <meta name="color:Link hover" content="fff">
  62. <meta name="color:Link hover bg" content="fff">
  63. <meta name="color:Text" content="fff">
  64. <meta name="color:Title color" content="fff">
  65. <meta name="color:Scrollbar" content="fff">
  66. <meta name="color:Footer" content="fff">
  67. <meta name="color:Dropdown" content="fff">
  68. <meta name="color:Dropdown text" content="fff">
  69. <meta name="color:Highlight" content="fff">
  70. <meta name="color:Highlight text" content="fff">
  71.  
  72. <meta name="if:400px" content="1"/>
  73. <meta name="if:250px" content=""/>
  74. <meta name="if:Sidebar img border" content=""/>
  75. <meta name="if:Sidebar img float" content=""/>
  76. <meta name="if:Link bgs" content=""/>
  77. <meta name="if:Small cursor" content=""/>
  78. <meta name="if:Transparent" content=""/>
  79. <meta name="if:Double border" content=""/>
  80. <meta name="if:Shadow" content=""/>
  81. <meta name="if:Custom scrollbar" content=""/>
  82. <meta name="if:Dropdown navi" content=""/>
  83. <meta name="if:Rounded corners" content=""/>
  84. <meta name="if:Rounded sidebar img" content=""/>
  85. <meta name="if:Full bg" content=""/>
  86. <meta name="if:Footer bg" content=""/>
  87.  
  88. <meta name="if:Link 1" content=""/>
  89. <meta name="if:Link 2" content=""/>
  90. <meta name="if:Link 3" content=""/>
  91.  
  92. <meta name="select:Font family" content="arial">
  93. <meta name="select:Font family" content="courier">
  94. <meta name="select:Font family" content="consolas">
  95. <meta name="select:Font family" content="verdana">
  96. <meta name="select:Font family" content="ms pgothic">
  97. <meta name="select:Font family" content="lucida sans">
  98.  
  99. <meta name="select:Border type" content="solid">
  100. <meta name="select:Border type" content="dashed">
  101. <meta name="select:Border type" content="dotted">
  102. <meta name="select:Border type" content="none">
  103.  
  104. <meta name="select:Footer text" content="left">
  105. <meta name="select:Footer text" content="center">
  106. <meta name="select:Footer text" content="right">
  107.  
  108. <meta name="text:Font size" content="12">
  109. <meta name="text:Link divider" content="//">
  110. <meta name="text:Tag symbol" content="#:">
  111.  
  112. <meta name="text:Link 1" content="">
  113. <meta name="text:Link 1 url" content="">
  114. <meta name="text:Link 2" content="">
  115. <meta name="text:Link 2 url" content="">
  116. <meta name="text:Link 3" content="">
  117. <meta name="text:Link 3 url" content="">
  118.  
  119. <meta name="text:Right image width" content=""/>
  120. <meta name="text:Left image width" content=""/>
  121. <meta name="text:Right image margin left" content="0"/>
  122. <meta name="text:Right image margin bottom" content="0"/>
  123. <meta name="text:Left image margin left" content="0"/>
  124. <meta name="text:Left image margin bottom" content="0"/>
  125.  
  126. <style type="text/css">
  127.  
  128. ::selection {
  129. background: {color:Highlight};
  130. color: {color:Highlight text};
  131. }
  132.  
  133. ::-moz-selection {
  134. background: {color:Highlight};
  135. color: {color:Highlight text};
  136. }
  137.  
  138. {block:ifsmallcursor} *, body {cursor: url(http://i.imgur.com/2qleX.jpg), auto;} a, a:link,a:active,a:visited, a:hover {cursor: url(http://i.imgur.com/IepP2.jpg), auto;} {/block:ifsmallcursor}
  139.  
  140. #s-m-t-tooltip {max-width:300px;background-color: #fff;border:1px dotted #000000;font-size:10px;color: #000000;letter-spacing:1px;text-transform:normal;padding:3px;margin:15px 0px 0px 15px;z-index:999;}
  141.  
  142. /*
  143. general text styles, fonts and colours
  144. */
  145.  
  146. body {
  147. margin:0px;
  148. background:{color:Background} url({image:Background});
  149. background-attachment:fixed;
  150. text:{color:Text};
  151. font-family: {select:Font family};
  152. font-size:{text:Font size}px;
  153. line-height:140%;
  154. color: {color:Text};
  155.  
  156. {block:ifFullbg}background: {color:Background} url('{image:Background}') no-repeat center center fixed;
  157. -webkit-background-size: cover;
  158. -moz-background-size: cover;
  159. -o-background-size: cover;
  160. background-size: cover;
  161. {/block:ifFullbg}
  162. }
  163.  
  164. p{
  165. margin:0 0 10px 0;
  166. padding:0;
  167. }
  168.  
  169. pre {
  170. white-space: pre-wrap;
  171. white-space: -moz-pre-wrap;
  172. white-space: -pre-wrap;
  173. white-space: -o-pre-wrap;
  174. word-wrap: break-word;
  175. }
  176.  
  177. a{
  178. color:{color:Link};
  179. text-decoration:none;
  180. {block:ifLinkbgs}background:{color:Link bg};{/block:ifLinkbgs}
  181. }
  182.  
  183. a:hover{
  184. color:{color:Link hover};
  185. -webkit-transition: color 0.2s ease-out;
  186. -moz-transition: color 0.2s ease-out;
  187. transition: color 0.2s ease-out;
  188. {block:ifLinkbgs}background:{color:Link hover bg};{/block:ifLinkbgs}
  189. }
  190.  
  191. li{
  192. margin-left:-15px;
  193. }
  194.  
  195. {block:ifCustomscrollbar}
  196. .com:last-child{display:none;}
  197.  
  198. ::-webkit-scrollbar {
  199. width:9px;
  200. height:0;
  201. background:{color:Scrollbar};
  202. border-left:4px solid {color:Background};
  203. border-right:4px solid {color:Background};
  204. border-bottom:2px solid {color:Background};
  205. border-top:2px solid {color:Background};
  206. }
  207.  
  208. ::-webkit-scrollbar-thumb {
  209. background:{color:Scrollbar};
  210. border:1px solid {color:Background};
  211. }
  212.  
  213. div.notebox::-webkit-scrollbar {
  214. width:9px;
  215. height:0;
  216. background:{color:Text};
  217. border-left:4px solid {color:Footer bg};
  218. border-right:4px solid {color:Footer bg};
  219. border-bottom:2px solid {color:Footer bg};
  220. border-top:2px solid {color:Footer bg};
  221. }
  222.  
  223. div.notebox::-webkit-scrollbar-thumb {
  224. background:{color:Scrollbar};
  225. border:1px solid {color:Footer bg};
  226. }{/block:ifCustomscrollbar}
  227.  
  228. /*
  229. containers etc
  230. */
  231. #wrapper{
  232. width:600px;
  233. margin:50px auto;
  234. }
  235.  
  236.  
  237. #sidebar{
  238. width:120px;
  239. position:fixed;
  240. text-align:center;
  241. margin-top:100px;
  242. margin-left:-50px;
  243. {block:ifRoundedcorners}-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; {/block:ifRoundedcorners}
  244. {block:ifnotTransparent}
  245. border: 1px {select:Border type} {color:Border};
  246. background: {color:Sidebar bg};
  247. {block:ifDoubleborder}border:4px double {color:Border};{/block:ifDoubleborder}
  248. {block:ifShadow}-webkit-box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.15);
  249. -moz-box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.15);
  250. box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.15);{/block:ifShadow}
  251. padding:10px;
  252. {/block:ifnotTransparent}
  253. }
  254.  
  255. #content{
  256. width:{block:if250px}270px{/block:if250px} {block:if400px}420px{/block:if400px};
  257. margin-left:200px;
  258. overflow:hidden;
  259. padding:10px;
  260. }
  261.  
  262. .post{
  263. width:{block:if250px}250px{/block:if250px} {block:if400px}400px{/block:if400px};
  264. margin:0 0 50px 0;
  265. overflow:hidden;
  266. text-align:justify;
  267. padding:10px;
  268. {block:ifnotTransparent} background:{color:Post bg}; border: 1px {select:Border type} {color:Border}; padding:10px; {block:ifDoubleborder}border:4px double {color:Border}; {/block:ifDoubleborder}
  269. {block:ifShadow}-webkit-box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.15);
  270. -moz-box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.15);
  271. box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.15);{/block:ifShadow}{/block:ifnotTransparent}
  272. {block:ifRoundedcorners}-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; {/block:ifRoundedcorners}
  273. }
  274.  
  275. #sidebar img, .post img{
  276. max-width:100%;
  277. }
  278.  
  279. #sidebar img{
  280. {block:ifSidebarimgfloat}
  281. margin-top:-50px;
  282. {/block:ifSidebarimgfloat}
  283. width:100px;
  284. margin-right:3px;
  285. height:100px;
  286. {block:ifSidebarimgborder}
  287. border:1px solid {color:Border};
  288. {/block:ifSidebarimgborder}
  289. {block:ifRoundedsidebarimg}
  290. border-radius:80px;
  291. {/block:ifRoundedsidebarimg}
  292. }
  293.  
  294. #nav{
  295. margin:50px 0 0 0;
  296. {block:ifnotTransparent}background:{color:Post bg};border:1px {select:Border type} {color:Border};
  297. padding:5px;text-align:center;{/block:ifnotTransparent}text-align:center;
  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. .title{
  309. font-weight:bold;
  310. font-size:18px;
  311. margin:0 0 10px 0;
  312. text-align:center;
  313. border-bottom:1px solid {color:Border};
  314. padding:5px;
  315. color:{color:Title color};
  316. }
  317.  
  318. .quote{
  319. font-weight:normal;
  320. font-size:16px;
  321. font-style:italic;
  322. margin:0 0 10px 0;
  323. }
  324.  
  325. .question{
  326. margin-bottom:10px;
  327. }
  328.  
  329. blockquote{
  330. margin:0 0 10px 10px;
  331. padding:0 0 0 10px;
  332. border-left:solid 1px {color:Text};
  333. }
  334.  
  335. /*
  336. post footers - date, tags, via and source
  337. */
  338. .post .footer{
  339. margin:0;
  340. text-align:{select:Footer text};
  341. {block:ifFooterbg}
  342. background:{color:Footer};{/block:ifFooterbg}
  343. padding:5px;
  344. }
  345.  
  346. /*
  347. post notes
  348. */
  349. ol.notes{
  350. list-style-type:none;
  351. padding:0;
  352. margin:0;
  353. }
  354.  
  355. ol.notes li.note img{
  356. width:16px;
  357. height:16px;
  358. }
  359.  
  360. ol.notes li.note{
  361. margin:0px;
  362. }
  363.  
  364. {CustomCSS}
  365. </style>
  366. </head>
  367.  
  368. <body>
  369. <div id="wrapper">
  370.  
  371.  
  372. <div id="sidebar">
  373. <img src="{image:Sidebar}">
  374. {block:Description}
  375. <p>{Description}</p>
  376. {/block:Description}
  377.  
  378. {block:ifDropdownnavi}
  379. <center>
  380. <select onchange='location=this.options[this.selectedIndex].value;' style='width:100px; border-radius:none;background:{color:Dropdown};border:1px solid {color:Border};color:{color:Dropdown text};'>
  381.  
  382. <option>navigation</option>
  383.  
  384. <option value="/">index</option>
  385.  
  386. <option value="/ask">mail</option>
  387.  
  388. {block:ifLink1}<option value="{text:Link 1 URL}">{text:Link 1}</option>
  389. {/block:ifLink1}
  390.  
  391. {block:ifLink2}<option value="{text:Link 2 URL}">{text:Link 2}</option>
  392. {/block:ifLink2}
  393.  
  394. {block:ifLink3}<option value="{text:Link 3 URL}">{text:Link 3}</option>
  395. {/block:ifLink3}
  396.  
  397. </select>
  398. {/block:ifDropdownnavi}
  399.  
  400. {block:ifnotDropdownnavi}
  401. <a href="/">index</a> {text:Link divider}
  402. <a href="/ask">mail</a>
  403. {block:ifLink1}{text:Link divider} <a href="{text:Link 1 url}">{text:Link 1}</a> {/block:ifLink1}
  404. {block:ifLink2}{text:Link divider} <a href="{text:Link 2 url}">{text:Link 2}</a> {/block:ifLink2}
  405. {block:ifLink3}{text:Link divider} <a href="{text:Link 3 url}">{text:Link 3}</a> {/block:ifLink3}
  406. {/block:ifnotDropdownnavi}
  407. </div>
  408.  
  409.  
  410.  
  411. <div id="content">
  412. {block:Posts}
  413.  
  414. <div class="post">
  415.  
  416. {block:Text}
  417. {block:Title}
  418. <div class="title">{Title}</div>
  419. {/block:Title}
  420. {Body}
  421. {/block:Text}
  422.  
  423. {block:Photo}
  424. <div class="media"><img src="{PhotoURL-HighRes}" width="{block:if250px}250{/block:if250px} {block:if400px}400{/block:if400px}"/></div>
  425. {block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
  426. {/block:Photo}
  427.  
  428. {block:Photoset}
  429. <div class="media">{block:if250px}{Photoset-250}{/block:if250px} {block:if400px}{Photoset-400}{/block:if400px}</div>
  430. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:indexpage}
  431. {/block:Photoset}
  432.  
  433. {block:Quote}
  434. <div class="quote">"{Quote}"</div>
  435. {block:Source}
  436. <div class="quotesource">{Source}</div>
  437. {/block:Source}
  438. {/block:Quote}
  439.  
  440. {block:Link}
  441. <div class="title"><a href="{URL}">{Name}</a></div>
  442. {block:Description}
  443. <div class="description">{Description}</div>
  444. {/block:Description}
  445. {/block:Link}
  446.  
  447. {block:Chat}
  448. {block:Title}
  449. <div class="title">{Title}</div>
  450. {/block:Title}
  451.  
  452. {block:Lines}
  453. <div class="{Alt} user_{UserNumber}">
  454. {block:Label}
  455. <b>{Label}</b>{/block:Label}
  456. &nbsp;{Line}
  457. </div>
  458. {/block:Lines}
  459. {/block:Chat}
  460.  
  461. {block:Video}
  462. <div class="media">{block:if250px}{Video-250}{/block:if250px} {block:if400px}{Video-400}{/block:if400px}</div>
  463. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  464. {/block:Video}
  465.  
  466. {block:Audio}
  467. <div class="media">
  468. {block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}
  469. {AudioPlayerWhite}
  470. {block:TrackName}{TrackName}<br>{/block:TrackName}
  471. {block:Artist}{Artist}<br>{/block:Artist}
  472. {block:Album}{Album}{/block:Album}
  473. </div>
  474. {block:Caption}{Caption}{/block:Caption}
  475. {/block:Audio}
  476.  
  477. {block:Answer}
  478. <div class="question">{Asker}: {Question}</div>
  479. <div class="caption">{Answer}</div>
  480. {/block:Answer}
  481.  
  482.  
  483. {block:Date}
  484. <div class="footer">
  485. <a href="{Permalink}">{TimeAgo}{block:NoteCount}</a> ({NoteCountWithLabel}){/block:NoteCount}
  486. {block:RebloggedFrom}<br> <a href="{ReblogParentURL}">via </a>•{/block:RebloggedFrom}
  487. {block:ContentSource} <a href="{SourceURL}">source </a>•{/block:ContentSource} <a href="{ReblogURL}" target="_blank" class="details">reblog</a>
  488. {block:HasTags}<br>{block:Tags} {text:Tag symbol} <a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}
  489. </div>
  490.  
  491. {block:PermalinkPage}
  492. {block:NoteCount}
  493. {block:PostNotes}{PostNotes}{/block:PostNotes}
  494. {/block:NoteCount}
  495. {/block:PermalinkPage}
  496. {/block:Date}
  497.  
  498. </div>
  499. {/block:Posts}
  500.  
  501. {block:Pagination}
  502. <div id="nav">
  503. {block:PreviousPage} <a href="{PreviousPage}" title="earlier posts">←prev</a>
  504. {/block:PreviousPage}
  505. {block:NextPage} <a href="{NextPage}" title="later posts">next→</a> {/block:NextPage} </div>
  506. {/block:Pagination}
  507.  
  508. <!--again, DON'T REMOVE/EDIT THE CREDIT. So uhm pls ignore this section and good day!-->
  509.  
  510. <a style="bottom:2px;right:2px;background:none;none;position:fixed;padding:2px;font-size:15px;color:{color:Link};text-decoration:none;" href="http://chagnki.tumblr.com/" title="theme">★</a>
  511.  
  512. </div>
  513. </div>
  514.  
  515. <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>
  516.  
  517. <div id="imageleft" style="position:fixed; bottom:{text:left image margin bottom}px; z-index:-1; left:{text:left image margin left}px;"><img src="{image:Left Image}"width="{text:left image width}"></div>
  518.  
  519. </div>
  520.  
  521. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  522. <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  523.  
  524. </body>
  525. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement