Advertisement
Patttir

top bar 222

Feb 4th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. <html>
  2. <head>
  3. <!--
  4. Don't use this theme or you catch these hands
  5.  
  6. -->
  7. <title>{Title}</title>
  8. <link rel="shortcut icon" href="{Favicon}">
  9. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  10. {block:Description}
  11. <meta name="description" content="{MetaDescription}">
  12. {/block:Description}
  13. <meta name="image:bg" content=""/>
  14. <meta name="image:Sidebar" content=""/>
  15. <meta name="color:Background" content="#a7abdd">
  16. <meta name="color:Text" content="#82868A">
  17. <meta name="color:Link" content="#a7abdd">
  18. <meta name="color:Link background" content="#a7abdd">
  19. <meta name="color:Posts" content="#a7abdd">
  20. <meta name="color:borders" content="#">
  21. <meta name="text:Post width" content="400px">
  22. <meta name="text:Font size" content="80%">
  23. <meta name="text:Link 1" content="Link 1">
  24. <meta name="text:URL 1" content="">
  25.  
  26. <meta name="text:Link 2" content="Link 2">
  27. <meta name="text:URL 2" content="">
  28.  
  29. <meta name="text:Link 3" content="Link 2">
  30. <meta name="text:URL 3" content="">
  31.  
  32. <meta name="text:Link 4" content="Link 2">
  33. <meta name="text:URL 4" content="">
  34.  
  35. <meta name="text:Link 5" content="Link 2">
  36. <meta name="text:URL 5" content="">
  37.  
  38.  
  39. <meta name="text:Icon size" content="100" />
  40. <meta name="if:Round icon" content="1"/>
  41. <meta name="if:Repeating bg" content="1"/>
  42.  
  43. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
  44.  
  45. <style>
  46.  
  47. html {
  48. font-size: {text:Font size};
  49. }
  50.  
  51. body {
  52. font-family: 'Open Sans', sans-serif;
  53. font-size:14px;
  54. color: {color:Text};
  55. background-color: {color:Background};
  56. background:url({image:bg});
  57. {block:ifnotrepeatingbg}
  58. background-size: cover;
  59. {/block:ifnotrepeatingbg}
  60. background-attachment: fixed;
  61. background-color: {color:Background};
  62. }
  63.  
  64. /* Link styles */
  65.  
  66. a {
  67. color: {color:Link};
  68. text-decoration:none;
  69. transition: all 0.2s ease;
  70. }
  71.  
  72. a:hover {
  73.  
  74. }
  75.  
  76. /* Container and posts */
  77.  
  78.  
  79. .entry {
  80. margin-bottom: 3rem;
  81. }
  82.  
  83. /* Navigation styles */
  84.  
  85. header,
  86. .pagination {
  87. width: {text:Post width};
  88. margin: 0 auto;
  89. }
  90.  
  91.  
  92. /* Elements */
  93.  
  94. img,
  95. iframe {
  96. max-width: 100%;
  97. }
  98.  
  99. blockquote {
  100. padding-left: 1rem;
  101. border-left: 1px solid {color:link};
  102. margin-left: .3rem;
  103. }
  104.  
  105. pre {
  106. overflow: auto;
  107. }
  108.  
  109. /* Audio styles */
  110.  
  111. .tumblr_audio_player {
  112. height: 100px;
  113. }
  114.  
  115. /* Post notes */
  116.  
  117. ol.notes {
  118. list-style: none;
  119. padding: 0;
  120. margin: 0;
  121. }
  122.  
  123. ol.notes li.note img.avatar {
  124. display: none;
  125. }
  126. #container {
  127. width: {text:Post width};
  128. border:4px solid {color:borders};
  129. margin: 0 auto;
  130. margin-top:100px;
  131. background:{color:background};
  132. padding:10px;
  133. border-radius:3px;
  134. }
  135. #top {
  136. background-color:{color:posts};
  137. overflow: auto;
  138. z-index:1;
  139. position:fixed;
  140. top:-0px;
  141. width:100%;
  142. border-bottom:4px solid {color:borders};
  143. margin-left:-7px;
  144. padding:15px;
  145.  
  146. }
  147. #icon {
  148. width:130px;
  149. height:130px;
  150. background:{color:posts};
  151. border:4px solid{color:borders};
  152. position:fixed;
  153. left:15px;
  154. top:5px;
  155. border-radius:100%;
  156. z-index:2;
  157. }
  158. #icon img {
  159. border-radius:100%;
  160. }
  161.  
  162. #links
  163. {
  164. margin-left:160px;
  165. }
  166. #top a{
  167. display: inline-block;
  168. color: {color:link};
  169. text-align: center;
  170. padding: 8px;
  171. text-decoration: none;
  172. background:{color:link background};
  173. border-radius:3px;
  174. transition:0.5s;
  175. margin-left:8px;
  176.  
  177. }
  178. #top a:hover {
  179. background-color: {color:background};
  180. color:{color:link background};
  181. transition:0.5s;
  182. }
  183.  
  184. #top img {
  185. width:{text:icon size}px;
  186. {block:ifroundicon}
  187. border-radius:80px;
  188. {/block:ifroundicon}
  189. padding:5px;
  190. vertical-align:center;
  191. }
  192. #notes
  193. {
  194. margin-left:-10px;
  195. background:{color:link background};
  196. margin-right:-10px;
  197. padding:10px;
  198. }
  199. #notes2
  200. {
  201. margin-left:20px;
  202. }
  203.  
  204.  
  205. </style>
  206. </head>
  207. <body>
  208. <div id="icon"><img src="{image:sidebar}"></div>
  209. <div id="top">
  210. <div id="links">
  211. <a href="/{text:URL 1}">{text:Link 1}</a>
  212. <a href="/{text:URL 2}">{text:Link 2}</a>
  213. <a href="/{text:URL 3}">{text:Link 3}</a>
  214. <a href="/{text:URL 4}">{text:Link 4}</a>
  215. <a href="/{text:URL 5}">{text:Link 5}</a>
  216. </div>
  217. </div>
  218.  
  219.  
  220. <div id="container">
  221. {block:Posts}
  222. <article class="entry">
  223. {block:Text}
  224. <section class="text">
  225. {block:Title}
  226. <h2>{Title}</h2>
  227. {/block:Title}
  228. {Body}
  229. {/block:Text}
  230.  
  231. {block:Audio}
  232. <section class="audio">
  233. {block:AudioEmbed}
  234. {AudioEmbed}
  235. {/block:AudioEmbed}
  236. {/block:Audio}
  237.  
  238. {block:Video}
  239. <section class="video">
  240. {Video-500}
  241. {/block:Video}
  242.  
  243. {block:Photo}
  244. <section class="photo">
  245. <img src="{PhotoURL-HighRes}">
  246. {/block:Photo}
  247.  
  248. <!-- ... Other post types -->
  249.  
  250. {block:Caption}
  251. {Caption}
  252. {/block:Caption}
  253. <div id="notes">
  254. <div id="notes2">
  255. {block:Date}<a href="{Permalink}">{ShortDayOfWeek}, {DayOfMonth}{DayOfMonthSuffix} {Month}, {Year}</a><br>{/block:Date}<a href="{ReblogURL}">Reblog</a>
  256. <br>{block:HasTags}Tags:{block:tags} <a href="{TagURL}"> {tag},</a>{block:tags}{/block:HasTags}
  257. </div>
  258. </div>
  259. </section> <!-- end post section -->
  260. </article>
  261.  
  262. {block:PostNotes}
  263. {PostNotes}
  264. {/block:PostNotes}
  265. {/block:Posts}
  266. </div> <!-- end container -->
  267.  
  268. {block:Pagination}
  269. <div class="pagination">
  270. {block:PreviousPage}
  271. <a href="{PreviousPage}">Previous</a>
  272. {/block:PreviousPage}
  273. {block:NextPage}
  274. <a href="{NextPage}">Next</a>
  275. {/block:NextPage}
  276. </div>
  277. {/block:Pagination}
  278. {block:PermalinkPage}
  279. {block:RebloggedFrom}<br><a href="{ReblogParentURL}" title="{ReblogParentName}">via</a> | {block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">src</a><br>{/block:ContentSource}{/block:RebloggedFrom}
  280. {/block:PermalinkPage}
  281. </body>
  282. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement