Advertisement
southcodes

THEME #1: witness [updated]

Jan 7th, 2017
955
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 12.55 KB | None | 0 0
  1. <!--
  2.    
  3.     [updated 090117] theme #1 'witness' by sur southcodes.tumblr.com
  4.     - modify as you please but please do not touch the credit
  5.     - any errors? need help? have questions? let me know!
  6.     southcodes.tumblr.com/ask
  7.    
  8. -->
  9.  
  10. <!DOCTYPE html>
  11. <head>
  12.  
  13.     <title>{Title}</title>
  14.  
  15.     <link rel="shortcut icon" href="{favicon}">
  16.     <link rel="alternate" type="application/rss+xml" href="{RSS}">
  17.     {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  18.  
  19. <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  20. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  21. <link href="https://fonts.googleapis.com/css?family=Inconsolata|Open+Sans|Rasa|Roboto" rel="stylesheet">
  22.  
  23. <meta name="image:sidebar" content=""/>
  24. <meta name="image:Background" content=""/>
  25.  
  26. <meta name="color:background" content="#ffffff"/>
  27. <meta name="color:posts background" content="#ffffff"/>
  28. <meta name="color:text" content="#000000"/>
  29. <meta name="color:links" content="#84aa8e"/>
  30. <meta name="color:links hover" content="#4f7654"/>
  31.  
  32. <meta name="select:font" content="'Open Sans';" title="Open Sans">
  33. <meta name="select:font" content="'Roboto', sans-serif;" title="Roboto">
  34. <meta name="select:font" content="'Rasa', serif;" title="Rasa">
  35. <meta name="select:font" content="'Inconsolata', monospace;" title="Inconsolata">
  36.  
  37. <meta name="text:Link 1 URL" content="/" />
  38. <meta name="text:Link 1" content="home" />
  39. <meta name="text:Link 2 URL" content="/ask" />
  40. <meta name="text:Link 2" content="ask" />
  41. <meta name="text:Link 3 URL" content="" />
  42. <meta name="text:Link 3" content="" />
  43. <meta name="text:Link 4 URL" content="" />
  44. <meta name="text:Link 4" content="" />
  45. <meta name="text:Link 5 URL" content="" />
  46. <meta name="text:Link 5" content="" />
  47.  
  48. <meta name="text:text size" content="11" />
  49. <meta name="text:sidebar text size" content="10" />
  50. <meta name="text:title size" content="11" />
  51.  
  52. <meta name="if:show title" content="1" />
  53. <meta name="if:sidebar at the bottom" content="0" />
  54. <meta name="if:background" content="0" />
  55. <meta name="if:full background" content="0" />
  56.  
  57. <style type="text/css">
  58.  
  59. /*              basics              */
  60.  
  61. ::-webkit-scrollbar {
  62.     height:2px;
  63.     width:4px;
  64.     background:inherit;
  65. }
  66.  
  67. ::-webkit-scrollbar-thumb {
  68.     background:#ddd;
  69.     border-radius:2px;
  70.     -webkit-border-radius:2px;
  71. }
  72.    
  73. #s-m-t-tooltip{
  74.     max-width:300px;
  75.     margin-top:25px;
  76.     margin-left:15px;
  77.     z-index:999999;
  78.     letter-spacing:1px;
  79.     text-transform:uppercase;
  80.     font-size:8px;
  81.     border: solid 1px #ddd;
  82.     background-color:#fdfdfd;
  83.     color:#aaa;
  84.     padding:0px 2px;
  85.     border-radius:2px;
  86. }
  87.  
  88. body {
  89.     font-family: {select:font};
  90.     font-size:{text:text size}px;
  91.     letter-spacing:1px;
  92.     color:{color:text};
  93.     background:{color:background};
  94.     {block:IfBackground}
  95.     {block:IfFullBackground}
  96.     background: url({image:background});
  97.     background-attachment:fixed;
  98.     background-size: cover;
  99.     {/block:IfFullBackground}
  100.     {block:IfNotFullBackground}
  101.     background:{color:background} url({image:background});
  102.     background-attachment:fixed;
  103.     {/block:IfNotFullBackground}
  104.     {/block:IfBackground}
  105.     line-height:16px;
  106. }
  107.  
  108. a {
  109.     text-decoration:none;
  110.     color:{color:links};
  111.     -moz-transition-duration: 0.6s;
  112.     -o-transition-duration: 0.6s;
  113.     -webkit-transition-duration: 0.6s;q
  114.     transition-duration: 0.6s;
  115. }
  116.  
  117. a:hover {
  118.     color:{color:links hover};
  119.     letter-spacing:1.3px;
  120.     -moz-transition-duration: 0.6s;
  121.     -o-transition-duration: 0.6s;
  122.     -webkit-transition-duration: 0.6s;q
  123.     transition-duration: 0.6s;
  124. }
  125.  
  126. b, i {
  127.     color:{color:links};
  128. }
  129.  
  130. blockquote {
  131.     padding-left:8px;
  132.     border-left:1px solid #ddd;
  133.     margin:-5px 0 0 5px;
  134.     text-align:left;
  135. }
  136.  
  137. blockquote img {
  138.     max-width:100%;
  139. }
  140.  
  141. ul {
  142.     margin-left:-15px;
  143. }
  144.  
  145. .tmblr-iframe {
  146.     margin:10px;
  147.     opacity:.5;
  148.     -moz-transition-duration: 0.2s;
  149.     -o-transition-duration: 0.2s;
  150.     -webkit-transition-duration: 0.2s;q
  151.     transition-duration: 0.2s;
  152. }
  153.  
  154. .tmblr-iframe:hover{
  155.     opacity:.8;
  156.     -moz-transition-duration: 0.6s;
  157.     -o-transition-duration: 0.6s;
  158.     -webkit-transition-duration: 0.6s;q
  159.     transition-duration: 0.6s;
  160. }
  161.  
  162. .container {
  163.     margin-top:50px;
  164. }
  165.  
  166. .posts {
  167.     margin-bottom:80px;
  168.     background:{color:posts background};
  169.     padding:6px 8px;
  170.     width:400px;
  171.     border-radius:3px;
  172.     {block:IfBackground}
  173.     border: 1px solid #eee;
  174.     {/block:IfBackground}
  175. }
  176.  
  177.  
  178. .entries {
  179.     width:400px;
  180.     margin-left:30%;
  181. }
  182.  
  183. /*              sidebar              */
  184.  
  185. .sidebar {
  186.     position:fixed;
  187.     background:{color:posts background};
  188.     width:168px;
  189.     padding:3px 7px;
  190.     border-radius:3px;
  191.     {block:IfBackground}
  192.     border: 1px solid #eee;
  193.     {/block:IfBackground}
  194.     {block:ifnotsidebaratthebottom}
  195.     top:40px;
  196.     left:45px;
  197.     {/block:ifnotsidebaratthebottom}
  198.     {block:ifsidebaratthebottom}
  199.     bottom:40px;
  200.     left:45px;
  201.     {/block:ifsidebaratthebottom}
  202. }
  203.  
  204. .simage img{
  205.     display:inline-block;
  206.     float:left;
  207.     width:40px;
  208.     height:40px;
  209.     border-radius:5px;
  210.     margin:5px 10px 0 0;
  211. }
  212.  
  213. .btitle {
  214.     font-size:{text:title size}px;
  215.     color:{color:title};
  216.     letter-spacing:1.7px;
  217. }
  218.  
  219. .btitle a{
  220.     color:{color:text};
  221. }
  222.  
  223. .desc {
  224.     margin-top:7px;
  225.     font-size:{text:sidebar text size}px;
  226. }
  227.  
  228. .links {
  229.     margin-top:8px;
  230.     font-size:{text:sidebar text size}px;
  231. }
  232.  
  233. .links a{
  234.     padding-right:5px;
  235. }
  236.  
  237. /*              posts              */
  238.  
  239. .title {
  240.     text-transform:uppercase;
  241.     font-size:12px;
  242.     letter-spacing:1px;
  243.     font-size:calc({text:text size}px + 1px);
  244. }
  245.  
  246. .ctitle {
  247.     text-transform:uppercase;
  248.     font-size:12px;
  249.     letter-spacing:1px;
  250.     margin-bottom:5px;
  251.     font-size:calc({text:text size}px + 1px);
  252. }
  253.  
  254. .q {
  255.     border:1px solid #f1f1f1;
  256.     background:#fcfcfc;
  257.     padding:7px 10px 7px 10px;
  258. }
  259.  
  260. .an {
  261. }
  262.  
  263. .chat {
  264.     list-style-type:none;
  265.     padding:2px;
  266.     margin-bottom:2px;
  267. }
  268.  
  269. span.line {
  270.     font-size:calc({text:text size}px + 1px);
  271. }
  272.  
  273. .label {
  274.     color:{color:links};
  275.     font-weight:bold;
  276. }
  277.  
  278. .cline {
  279.     margin-bottom:5px;
  280. }
  281.  
  282. .quote{
  283.     font-size:calc({text:text size}px + 2px);
  284.     letter-spacing:.7px;
  285. }
  286.  
  287. .source {
  288.     margin:8px 0;
  289.     font-style:italic;
  290.     font-size:calc({text:text size}px - 1px);
  291. }
  292.  
  293. span.source {
  294.     font-size:calc({text:text size}px + 1px);
  295. }
  296.  
  297. .ainfo {
  298.     display:inline-block;
  299.     vertical-align:top;
  300.     margin:10px 0px 0px 10px;
  301.     font-size:10px;
  302. }
  303.  
  304. .cover {
  305.     position: relative;
  306.     z-index: 1;
  307. }
  308.  
  309. .playbox {
  310.     background-color:#000;
  311.     position:absolute;
  312.     margin-top:15px;
  313.     margin-left:15px;
  314.     opacity:0.5;
  315.     width:50px;
  316.     height:50px;
  317.     z-index:5;
  318. }
  319.  
  320. .playbutton {
  321.     width:27px;
  322.     height:30px;
  323.     overflow:hidden;
  324.     position:relative;
  325.     margin:10px auto 0 auto;
  326.     z-index:7;
  327. }
  328. /*              extras              */
  329.  
  330. .pag {
  331.     margin:-30px 0 50px;
  332. }
  333.  
  334. .date {
  335.     font-size:10px;
  336.     font-family:calibri;
  337. }
  338.  
  339. .tags {
  340.     margin-top:5px;
  341.     font-size:10px;
  342. }
  343.  
  344. .notes {
  345.     line-height:22px;
  346.     font-size:11px;
  347.     width:400px;
  348.     font-size:{text:text size}px;
  349. }
  350.  
  351. .notes ol.notes {
  352.     margin-top:20px;
  353.     list-style-type:none;
  354.     background:{color:posts background};
  355.     padding:6px;
  356.     border-radius:3px;
  357.     {block:IfBackground}
  358.     border: 1px solid #eee;
  359.     {/block:IfBackground}
  360. }
  361.  
  362. .notes img.avatar {
  363.     display:none;
  364. }
  365.  
  366. .cred {
  367.     position:fixed;
  368.     padding:0px 4px;
  369.     bottom:3px;
  370.     right:0;
  371.     background-color: #fff;
  372.     border:1px solid #ddd;
  373.     border-radius:50px;
  374.     font-size:10px;
  375. }
  376.  
  377.  
  378. </style>
  379. </head>  
  380.  
  381. <!--    tooltips    -->
  382. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  383. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  384. <script>
  385. (function($){
  386. $(document).ready(function(){
  387. $("a[title]").style_my_tooltips({
  388. tip_follows_cursor:true,
  389. tip_delay_time:30,
  390. tip_fade_speed:300,
  391. attribute:"title"
  392. });
  393. });
  394. })(jQuery);
  395. </script>
  396.  
  397.  
  398. <body>
  399.  
  400. <div class="container">
  401.  
  402. <div class="sidebar">
  403.     {block:IfShowTitle}<div class="btitle"><a href="/">{title}</a></div>{/block:IfShowTitle}
  404.     <div class="simage"><a href="/"><img src="{image:sidebar}"/></a></div>
  405.    
  406.     <div class="desc">{Description}</div>
  407.    
  408.     <div class="links">
  409. {block:iflink1}.<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:iflink1}
  410. {block:iflink2}.<a href="{text:link 2 URL}">{text:link 2}</a>{/block:iflink2}
  411. {block:iflink3}.<a href="{text:link 3 URL}">{text:link 3}</a>{/block:iflink3}
  412. {block:iflink4}.<a href="{text:link 4 URL}">{text:link 4}</a>{/block:iflink4}
  413. {block:iflink5}.<a href="{text:link 5 URL}">{text:link 5}</a>{/block:iflink5}
  414.     </div>
  415. </div>
  416.  
  417. <div class="entries">
  418.    
  419. {block:Posts}
  420.  
  421. <div class="posts">
  422. {block:Text}
  423. {block:Title}<div class="title">{Title}</div>{/block:Title}
  424. {Body}
  425. {/block:Text}
  426.  
  427. {block:Answer}
  428. <div class="q">{Asker} typed:<br>
  429. {Question}</div>
  430. <div class="an">{Answer}</div>
  431. {/block:Answer}
  432.  
  433. {block:Quote}
  434. <div class="quote">« {Quote} »</div>
  435. {block:Source}
  436. <div class="source"><span class="source">✐ </span>{Source}</div>
  437. {/block:Source}
  438. {/block:Quote}
  439.  
  440. {block:Link}
  441. <div class="title"><a href="{URL}"><b>{Name}</b></a></div>
  442. {block:Description}{Description}{/block:Description}
  443. {/block:Link}
  444.  
  445. {block:Chat}
  446. {block:Title}<div class="ctitle">{Title}</div>{/block:Title}
  447. {block:Lines}<div class="chat"><span class="line"><li class="line_{Alt}"></span>
  448. {block:Label}<span class="label">{Label}</span>
  449. {/block:Label}
  450. {Line}</li></div>
  451. {/block:Lines}</ul><div class="cline"></div>
  452. {/block:Chat}
  453.  
  454. {block:Photo}
  455. <img src="{PhotoURL-400}" alt="{PhotoAlt}">
  456. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  457. {/block:Photo}
  458.  
  459. {block:Photoset}
  460. {Photoset-400}
  461. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  462. {/block:Photoset}
  463.  
  464. {block:Audio}
  465. <div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerGrey}{/block:AudioPlayer}</div></div>
  466. {block:AlbumArt}<img src="{AlbumArtURL}" style="width:80px;" class="cover">{/block:AlbumArt}
  467. <div class="ainfo">
  468. {block:TrackName}
  469. {TrackName}
  470. {/block:TrackName}<br>
  471. {block:Artist}
  472. {Artist}
  473. {/block:Artist}<br>
  474. {block:Album}
  475. {Album}
  476. {/block:Album}<br>
  477. {block:Playcount}
  478. {PlayCountWithLabel}
  479. {/block:Playcount}</div>
  480. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  481. {/block:Audio}
  482.  
  483. {block:Video}
  484. {Video-400}
  485. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  486. {/block:Video}
  487.  
  488. {block:Date}<div class="date">
  489. {block:NoteCount}<a href="{Permalink}">{NoteCount}</a>&nbsp;&nbsp;&nbsp;{/block:NoteCount}<a href="{Permalink}" title="{TimeAgo}">{DayOfMonthWithZero}{MonthNumberWithZero}{ShortYear}</a>&nbsp;&nbsp;&nbsp;<a href="{ReblogURL}" title="reblog"><i class="fa fa-share-square-o" aria-hidden="true" style="font-size:10px; color:#ccc;"></i></a></div>{/block:Date}
  490.  
  491. {block:HasTags}<div class="tags"><i class="fa fa-tag" style="font-size:9px; color:#ddd"></i> {block:Tags}<a href="{TagURL}">{Tag}&nbsp;&nbsp;&nbsp;</a>{/block:Tags}</div>
  492. {/block:HasTags}
  493.  
  494. {block:PermalinkPage}
  495. {block:RebloggedFrom}
  496. <a title="{ReblogParentName}" href="{ReblogParentURL}">via.</a>
  497. &nbsp;&nbsp;&nbsp;<a title="{ReblogRootName}" href="{ReblogRootURL}">src.</a>
  498. {/block:RebloggedFrom}
  499. {/block:PermalinkPage}
  500.  
  501. {block:ContentSource}
  502. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  503. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  504. {/block:SourceLogo}
  505. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  506. {/block:ContentSource}
  507.  
  508. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  509.  
  510. </div><!--posts-->
  511.  
  512. {block:PostNotes}
  513. <div class="notes">{PostNotes}</div>
  514. {/block:PostNotes}
  515. {/block:Posts}
  516.  
  517. <div class="pag">{block:Pagination}
  518. {block:PreviousPage}<a href="{PreviousPage}" class="jump_page">look forward</a>{/block:PreviousPage} /
  519. {block:NextPage}<a href="{NextPage}" class="jump_page">look back</a>{/block:NextPage}
  520. {/block:Pagination}</div>
  521.  
  522. </div><!--entries-->
  523.  
  524. <!-- dont touch pls -->
  525. <div class="cred"><a href="http://southcodes.tumblr.com/" title="southcodes">×</a></div>
  526. </div> <!--container-->
  527. </body>
  528. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement