yileo

base code

Jun 18th, 2015
11,373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4. <!-------
  5. base code by rnirae. feel free to remove this part, but please like/reblog post.
  6. if you're using this as a normal theme, then please credit. thank you.
  7. <!------>
  8.  
  9. <head>
  10. <title>{Title}</title>
  11. <link rel="shortcut icon" href="{FavIcon}" />
  12. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  13.  
  14. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  15.  
  16. <meta name="color:Background" content="#fff" />
  17. <meta name="color:Text" content="#bbb"/>
  18. <meta name="image:Background" content=""/>
  19.  
  20. <meta name="color:Scrollbar" content="#000"/>
  21.  
  22. <meta name="color:Light Accents" content="#eee"/>
  23. <meta name="color:Link" content="#aaa"/>
  24. <meta name="color:Link Hover" content="#7bd7c2"/>
  25.  
  26. <meta name="color:Title" content="#888"/>
  27.  
  28. <meta name="color:Sidebar Link" content="#aaa"/>
  29. <meta name="color:Sidebar Link Border" content="#eee"/>
  30. <meta name="color:Sidebar Link Hover" content="#78c9a1"/>
  31.  
  32. <meta name="text:Link 1" content="index"/>
  33. <meta name="text:Link 1 url" content="/"/>
  34. <meta name="text:Link 2" content="ask"/>
  35. <meta name="text:Link 2 url" content="/ask"/>
  36. <meta name="text:link 3" content="archive"/>
  37. <meta name="text:Link 3 url" content="/archive"/>
  38. <meta name="text:Link 4" content="link 4"/>
  39. <meta name="text:Link 4 url" content="/"/>
  40. <meta name="text:Link 5" content="link 5"/>
  41. <meta name="text:Link 5 url" content="/"/>
  42.  
  43. <!--post width options-->
  44. <meta name="if:250px" content="1"/>
  45. <meta name="if:400px" content="0"/>
  46. <meta name="if:500px" content="0"/>
  47.  
  48.  
  49. <style type="text/css">
  50.  
  51. /* follow/dashboard buttons */
  52. iframe#tumblr_controls {
  53. right:2px !important;
  54. position: fixed !important;
  55. -webkit-transition: opacity 0.7s linear;
  56. opacity: 0.16;
  57. -webkit-transition: all 0.8s ease-out;
  58. -moz-transition: all 0.8s ease-out;
  59. transition: all 0.8s ease-out;
  60. -webkit-filter: invert(100%);
  61. }
  62. iframe#tumblr_controls:hover {
  63. -webkit-transition: opacity 0.7s linear;
  64. opacity: 0.16;
  65. -webkit-transition: all 0.4s ease-out;
  66. -moz-transition: all 0.4s ease-out;
  67. transition: all 0.4s ease-out;
  68. -webkit-filter: invert(100%);
  69. }
  70.  
  71. /* basic styles */
  72. body {
  73. color: {color:Text};
  74. background-color: {color:Background};
  75. background-image: url({image:Background});
  76. font: 10px consolas;
  77. line-height: 16px;
  78. }
  79. a {
  80. text-decoration: none;
  81. color: {color:Link};
  82. }
  83. a:hover {
  84. color:{color:Link Hover};
  85. cursor: help;
  86. }
  87. h1 {
  88. font-size: 12px;
  89. color: {color:Title};
  90. }
  91. /* scrollbar */
  92. ::-webkit-scrollbar {
  93. width: 3px;
  94. height: 5px;
  95. background: {color:Background};
  96. }
  97. ::-webkit-scrollbar-thumb {
  98. background: {color:Scrollbar};
  99. border-radius: 16px;
  100. border-top: 5px solid {color:Background};
  101. }
  102. /* post customizations */
  103. #content { /* for the whole column of posts */
  104. {block:IndexPage}
  105. {block:if250px} /* post widths */
  106. width: 250px;
  107. {/block:if250px}
  108. {block:if400px}
  109. width: 400px;
  110. {/block:if400px}
  111. {block:if500px}
  112. width: 500px;
  113. {/block:if500px}
  114. {/block:IndexPage}
  115. {block:PermalinkPage}
  116. width: 400px;
  117. {/block:PermalinkPage}
  118. position: relative;
  119. margin-left: 300px;
  120. margin-top: 60px;
  121. }
  122. .entry { /* for individual posts */
  123. margin-bottom: 60px;
  124. }
  125.  
  126. /* permalinks */
  127. #perma {
  128. position: absolute;
  129. right: -75px;
  130. letter-spacing: .5px;
  131. text-transform: lowercase;
  132. }
  133. /* sidebar */
  134. #side {
  135. top: 60px;
  136. left: 26px;
  137. position: fixed;
  138. width: 180px;
  139. }
  140. #side a{
  141. border-bottom: 1px solid {color:Sidebar Link Border};
  142. color: {color:Sidebar Link};
  143. }
  144. #side a:hover {
  145. border-bottom: 1px solid transparent;
  146. color: {color:Sidebar Link Hover};
  147. }
  148. .head {
  149. font-size: 12px;
  150. margin-bottom: 10px;
  151. margin-left: 10px;
  152. color: {color:Title};
  153. letter-spacing: .5px;
  154. }
  155. blockquote {
  156. border-left: 1px solid {color:Light Accents};
  157. margin-left: 6px;
  158. padding-left: 10px;
  159. }
  160. /* permalink page */
  161. img.avatar {display:none; }
  162. ol.notes {
  163. margin-top: 20px;
  164. }
  165. </style>
  166.  
  167. <!---infinite scroll---><script type="text/javascript" src="http://static.tumblr.com/q0etgkr/EIBmz7s0p/infinitescrolling.js"></script>
  168.  
  169. </head>
  170.  
  171. <body>
  172.  
  173. <!--sidebar-->
  174. <div id="side"><div class="head">{Title}</div>{Description}<p><a href="{text:Link 1 url}">{text:Link 1}</a> <a href="{text:Link 2 url}">{text:Link 2}</a> <a href="{text:Link 3 url}">{text:Link 3}</a> <a href="{text:Link 4 url}">{text:Link 4}</a> <a href="{text:Link 5 url}">{text:Link 5}</a></div>
  175. <!----->
  176.  
  177. <div id="content">
  178. {block:Posts}
  179.  
  180. <!-- {block:NoRebloggedFrom}
  181. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  182. {/block:NoRebloggedFrom} -->
  183. <div class="entry">
  184. <!--permalink-->
  185. {block:IndexPage}<div id="perma"><a href="{Permalink}">{MonthNumberwithZero}.{DayofMonthwithZero}.{Year}</a><br><a href="{Permalink}">{DayofWeek}</a><br><a href="{ReblogURL}">reblog</a></div>{/block:IndexPage}
  186.  
  187.  
  188. {block:Photo}<a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a> {block:IndexPage}{block:Caption}{Caption}{/block:Caption}{/block:IndexPage}{block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage}{/block:Photo}
  189.  
  190. {block:Photoset}{block:IndexPage}{block:if250px}{Photoset-250}{/block:if250px}{block:if400px}{Photoset-400}{/block:if400px}{block:if500px}{Photoset-500}{/block:if500px}{/block:IndexPage}{block:PermalinkPage}{Photoset-400}{/block:PermalinkPage} {block:IndexPage}{block:Caption}{Caption}{/block:Caption}{/block:IndexPage}{block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage}{/block:Photoset}
  191.  
  192. {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body} {/block:Text}
  193.  
  194. {block:Link}<h1><a href="{URL}">{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  195.  
  196. {block:Quote}"{Quote}"{block:Source}<br>- {Source}{/block:Source}{/block:Quote}
  197.  
  198. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label} </b>{/block:Label}<span><i>{Line}</i><br></span>{/block:Lines}{/block:Chat}
  199.  
  200. {block:Audio}{AudioPlayerWhite}{block:IndexPage}<p>{block:TrackName}Track: {TrackName}<br>{/block:TrackName}{block:Artist}Artist: {Artist}<br>{/block:Artist}{block:Album}Album: {Album}<br>{/block:Album}{block:PlayCount}Played: {PlayCount}{/block:PlayCount}{/block:IndexPage}{block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage}{/block:Audio}
  201.  
  202. {block:Video}{block:IndexPage}{block:if250px}{Video-250}{/block:if250px}{block:if400px}{Video-400}{/block:if400px}{block:if500px}{Video-500}{/block:if500px}{/block:IndexPage}{block:PermalinkPage}{Video-400}{/block:PermalinkPage} {block:IndexPage}{block:Caption}{Caption}{/block:Caption}{/block:IndexPage}{block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage}{block:Video}
  203.  
  204. {block:Answer}<b>{Asker}</b> asked: <br><center><i>{Question}</i></center><p>{Answer}{/block:Answer}
  205.  
  206. <!--permalink page-->
  207. {block:PermalinkPage}
  208. <center>{block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}{/block:HasTags}<p>{NoteCountwithLabel}</center>
  209. {block:PostNotes}{PostNotes}{/block:PostNotes}
  210. {/block:PermalinkPage}
  211. </div> <!---entry div--->
  212. {/block:Posts}
  213.  
  214. {block:ContentSource}<!-- {SourceURL}
  215. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  216. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  217. {/block:ContentSource}
  218. </div><!---content div--->
  219.  
  220.  
  221. </body>
  222.  
  223. </html>
Advertisement
Add Comment
Please, Sign In to add comment