uwuhell

theme 4

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