Advertisement
maryaciolli

theme twolf (random sidebar)

Jan 17th, 2014
939
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 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.  
  3. <!-- theme by oficinadehtml | @stilesflop -->
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6.  
  7.  
  8. <head>
  9.  
  10. <title>{Title}</title>
  11.  
  12. {block:Description}<meta name="description" content="{MetaDescription}"/>
  13. {/block:Description}
  14.  
  15. <link rel="shortcut icon" href="{Favicon}" />
  16.  
  17. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  18.  
  19. <meta name="color:bg" content="#ffffff">
  20. <meta name="color:link" content="#bbb8b8">
  21. <meta name="color:text" content="#9a9a9a">
  22. <meta name="color:tags" content="#b9b7b7">
  23. <meta name="color:ask" content="#fcfcfc">
  24. <meta name="color:hover" content="##b9b7b7">
  25. <meta name="color:border" content="#e7e7e7">
  26. <meta name="color:menu" content="#4F4F4F">
  27. <meta name="color:scrollbar" content="#d6d5d5">
  28. <meta name="color:sidebar title" content="#efeff3">
  29.  
  30.  
  31. <meta name="image:sidebar image 1" content="https://24.media.tumblr.com/c8c7acf0c78367d464a36cb3d9d2df1e/tumblr_mzeg6ohcX41qgfx04o2_250.gif"/>
  32. <meta name="image:sidebar image 2" content="https://24.media.tumblr.com/6a171e9ee49b2c4c5a79938e60b14c63/tumblr_mzeg6ohcX41qgfx04o6_250.gif"/>
  33. <meta name="image:sidebar image 3" content="https://31.media.tumblr.com/50eb1dd4597ac9167da3afb472550f15/tumblr_mzeg6ohcX41qgfx04o3_250.gif"/>
  34. <meta name="image:sidebar image 4" content="https://24.media.tumblr.com/95dc78460f19e366d3dc8269bc65b079/tumblr_mzeg6ohcX41qgfx04o7_250.gif"/>
  35.  
  36.  
  37.  
  38.  
  39.  
  40. <meta name="text:link 1" content="">
  41. <meta name="text:link 1 url" content="/">
  42. <meta name="text:link 2" content="">
  43. <meta name="text:link 2 url" content="/">
  44. <meta name="text:link 3" content="">
  45. <meta name="text:link 3 url" content="/">
  46. <meta name="text:link 4" content="">
  47. <meta name="text:link 4 url" content="/">
  48.  
  49.  
  50.  
  51. <style type="text/css">
  52.  
  53.  
  54.  
  55. /*--scrollbar--*/
  56.  
  57. ::-webkit-scrollbar-thumb:vertical {border:3px solid #fff;height:12px; background-color:{color:scrollbar};}
  58. ::-webkit-scrollbar-thumb:horizontal {background-color:#fff;}
  59. ::-webkit-scrollbar {background-color:{color:scrollbar};height:7px;width:12px;border:5px solid #fff;}
  60. ::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment{background-color:{color:scrollbar};display:block;height:8px;border-right:2px solid #fff;border-left:2px solid #fff;
  61. }
  62. /*--body--*/
  63.  
  64.  
  65. body {
  66. font-style:none;
  67. background-color:{color:bg};
  68. font-family:calibri;
  69. color:{color:text};
  70. font-size:9px;
  71. margin-left:auto;
  72. margin-right:auto;
  73. width:700px;
  74. }
  75.  
  76.  
  77. a {
  78. color:{color:link};
  79. text-decoration:none;
  80. -webkit-transition: all 0.5s ease-out;
  81. -moz-transition: all 0.5s ease-out;
  82. transition: all 0.5s ease-out;
  83. }
  84.  
  85. a:hover {
  86. color:{color:hover};
  87. text-decoration:none;
  88. -webkit-transition: all 0.8s ease-out;
  89. -moz-transition: all 0.8s ease-out;
  90. transition: all 0.8s ease-out;
  91. }
  92.  
  93. img {
  94. border:none;
  95. }
  96.  
  97. blockquote {
  98. padding-left:5px;
  99. border-left:2px solid {color:border};
  100. }
  101.  
  102. h1 {
  103. font-size:10px;
  104. }
  105.  
  106.  
  107. *, body, a, a:hover {cursor: url("http://www.totallylayouts.com/cursors/random/tiny_cursor.png"), auto }
  108.  
  109.  
  110.  
  111. /*--sidebar--*/
  112.  
  113. #sidebar {
  114. position:fixed;
  115. width:180px;
  116. margin-top:200px;
  117. }
  118.  
  119. #sidebarimage {
  120. width:180px;
  121. }
  122.  
  123. #sidebarimage img {
  124. width:70px;
  125. padding:3px;
  126. margin-bottom:5px;
  127. }
  128.  
  129. /*--links--*/
  130.  
  131. .links {
  132. width:180px;
  133. font-family:'calibri';
  134. text-transform:uppercase;
  135. text-align:center;
  136. padding:3px;
  137. padding-top:10px;
  138. font-size:8px;
  139. }
  140.  
  141. .links a {
  142. font-size:8px;
  143. }
  144.  
  145. .links a:hover {
  146. color:{color:hover};
  147. }
  148.  
  149.  
  150.  
  151. .linkss {background:{color:menu}; padding-top:3px; padding-bottom:3px;}
  152.  
  153.  
  154.  
  155. /*--description--*/
  156.  
  157. #description {
  158. margin-top:-2px;
  159. width:170px;
  160. font-family:calibri;
  161. font-size:10px;
  162. text-align:justify;
  163. padding:5px;
  164. background:#efeff3;
  165. }
  166.  
  167. /*--pagination--*/
  168.  
  169. #pagination {
  170. margin-top:15px;
  171. margin-left:5px;
  172. font-style:italic;
  173. text-align:center;
  174. font-size:10px;
  175. font-family:calibri;
  176. color:{color:link};
  177. }
  178.  
  179. #pagination a{
  180. color:{color:link};
  181. }
  182.  
  183. #pagination a:hover {
  184. color:{color:hover};
  185. }
  186.  
  187. /*--posts--*/
  188.  
  189. #posts {
  190. width:500px;
  191. margin-bottom:10px;
  192. padding:1px;
  193. font-size:11px;
  194. color:{color:text};
  195. line-height:90%;
  196. text-align:justify;
  197. }
  198.  
  199. #postscontainer {
  200. margin-bottom:20px;
  201. padding:1px;
  202. margin-left:200px;
  203. margin-top:55px;
  204. }
  205.  
  206.  
  207. #info {
  208. margin-bottom:10px;
  209. font-size:8px;
  210. margin-top:10px;
  211. text-align:right;
  212. padding:5px;
  213. color:{color:link};
  214. border-top:1px solid #e7e7e7;
  215. border-bottom:1px solid #e7e7e7;
  216. }
  217.  
  218.  
  219. #reblog {
  220. text-transform:uppercase;
  221. font-family:trebuchet ms;
  222. margin-left:-5px;
  223. margin-top:-5px;
  224. text-align:right;
  225. color:{color:tags};
  226. background-color:#eee;
  227. width:495px;
  228. padding:3px;
  229. }
  230.  
  231. #reblog a {
  232. color:{color:tags};
  233. }
  234.  
  235. #notes {
  236. margin-left:40px;
  237. margin-top:-12px;
  238. }
  239.  
  240. #rightinfo {
  241. text-transform:uppercase;
  242. font-family:trebuchet ms;
  243. margin-left:370px;
  244. text-align:justify;
  245. float:right;
  246. background-color:#cfcece;
  247. padding:3px;
  248. margin-top:-12px;
  249. color:white;
  250. }
  251.  
  252. #rightinfo a {
  253. color:white;
  254. }
  255.  
  256. /*--tags--*/
  257.  
  258. #tags {
  259. width:490px;
  260. margin-left:-4px;
  261. margin-top:7px;
  262. font-size:10px;
  263. color:{color:tags}:
  264. text-align:right;
  265. }
  266.  
  267. #tags a {
  268. color:{color:tags};
  269. text-align:right;
  270. }
  271.  
  272. #tags a:hover {
  273. color:{color:hover}
  274. }
  275.  
  276. /*--asks--*/
  277.  
  278. #askbg {
  279. padding:12px;
  280. background-color:{color:ask};
  281. }
  282.  
  283. #ask {
  284. margin-top:-10px;
  285. font-family:calibri;
  286. text-align:left;
  287. }
  288.  
  289. #ask img {
  290. margin-top:30px;
  291. width:50px;
  292. }
  293.  
  294. /*--credit--*/
  295.  
  296. #credit {
  297. right:3px;
  298. bottom:6px;
  299. font-size:9px;
  300. padding:5px;
  301. color:{color:text};
  302. background-color:#fafafa;
  303. text-transform:uppercase;
  304. border:1px solid {color:border};
  305. position:fixed;
  306. -webkit-transition: all 0.5s ease-out;
  307. -moz-transition: all 0.5s ease-out;
  308. transition: all 0.5s ease-out;
  309. }
  310.  
  311. #credit:hover {
  312. background-color:black;
  313. color:white;
  314. }
  315.  
  316. .tiele {font-size:11px; margin-bottom:0px; background-color:{color:sidebar title}; padding-top:3px; padding-bottom:3px; text-align:center; text-transform:uppercase;}
  317.  
  318. .sidm {width:180px; }
  319.  
  320. heart {color:#CD5C5C; font-size:8px;}
  321.  
  322.  
  323. {CustomCSS}
  324.  
  325. </style></head>
  326.  
  327.  
  328. <body>
  329.  
  330. <div id="sidebar">
  331.  
  332. <div class="sidm">
  333. <Script Language="JavaScript">
  334. hoje = new Date()
  335. numero_de_imagens = 4
  336. segundos = hoje.getSeconds()
  337. numero = segundos % numero_de_imagens
  338. if (numero == 0){
  339. banner = "{image:sidebar image 1}"
  340. }
  341. if (numero == 1){
  342. banner = "{image:sidebar image 2}"
  343. }
  344. if (numero == 2){
  345. banner = "{image:sidebar image 3}"
  346. }
  347.  
  348. if (numero == 3){
  349. banner = "{image:sidebar image 4}"
  350. }
  351.  
  352. document.write('<img src="' + banner + '" width="180">') </script>
  353. </script>
  354. </div>
  355.  
  356. <div id="description">
  357. {description}</div>
  358.  
  359. <div class="linkss"><center>
  360. <a href="/" class="links">home</a>
  361. <a href="{text:link 1 url}" class="links">{text:link 1}</a>
  362. <a href="{text:link 2 url}" class="links">{text:link 2}</a>
  363. <a href="{text:link 3 url}" class="links">{text:link 3}</a>
  364. <a href="{text:link 4 url}" class="links">{text:link 4}</a>
  365. </center>
  366. </div>
  367.  
  368.  
  369. {block:Pagination}
  370. <div id="pagination">
  371.  
  372. {block:PreviousPage}<a href="{PreviousPage}">←</a>{/block:PreviousPage}
  373. {block:NextPage}<a href="{NextPage}">→</a>{/block:NextPage}
  374. </div>{/block:Pagination}
  375.  
  376. </div></div>
  377.  
  378.  
  379. <div id="postscontainer">
  380.  
  381. {block:Posts}
  382.  
  383. <div id="posts">
  384.  
  385.  
  386. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  387.  
  388.  
  389. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  390.  
  391. {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  392.  
  393. {block:Quote}{Quote}{block:Source} &#8212;{Source}{/block:Source}{/block:Quote}
  394.  
  395. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  396.  
  397. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  398.  
  399. {block:Audio}{AudioPlayerWhite}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  400.  
  401. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  402.  
  403. {block:Answer}<div id="askbg"><div id="ask"></div><br><img src="{AskerPortraitURL-24}"> {Asker} said: {Question}</div> {Answer}{/block:Answer}
  404.  
  405. <div id="info"><div id="reblog"><a href="{ReblogURL}" target="_blank" >Reblog</a> <heart>♥</heart> <a href="{Permalink}">
  406. {NoteCountWithLabel}</a> <heart>♥</heart> {block:Date}<a href="{Permalink}">
  407. {TimeAgo}</a></a>{/block:Date} </div>
  408.  
  409. {block:HasTags} <div id="tags">{block:Tags} #<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}</div>
  410.  
  411.  
  412. </div>
  413.  
  414. {/block:Posts}
  415.  
  416. {block:PostNotes}{PostNotes}</div>{/block:PostNotes}
  417. {/block:Posts}
  418.  
  419. </div>
  420.  
  421.  
  422. <div id="credit"><a href="http://oficinadehtml.tumblr.com/" title="(c) @stilesflop">♡</a>
  423. </body>
  424. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement