farflunghopes

clockwork

Oct 5th, 2012
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.87 KB | None | 0 0
  1. <!--- Theme #5 'Clockwork' by Brianna @ farflunghopes.tumblr.com
  2.  
  3. Rules:
  4. 1. Do not remove the credit from the code or the theme. You may MOVE it, but leave it on the FIRST page of your blog, ie: it must be visible on the main page.
  5. 2. Do not redistribute this theme.
  6. 3. Do not steal this theme. Taking a portion of the code and adding it to your own theme/others' counts as stealing. If you want to learn how to do something, ask, and I will do my best to help you.
  7. 4. Do not use this theme as a base code.
  8. 5. If you have any problems, find glitches, or just need help, please ask me! That's not really a rule, but I'd love to help.
  9.  
  10. Help:
  11. - Theme looks best in Google Chrome.
  12. - SAVE and REFRESH the page before changing appearance options.
  13. - The background image REPEAT and POSITION can be changed under the appearance options. Select or deslect 'BackgroundImageRepeat' and enter the position in 'bgimgposition'.
  14. - The posts can either be 400px wide or 500px wide. The default is 400px. For 500px posts deselect '400pxPosts' under the appearance options.
  15. - There are FOUR extra links available. Add them under the appearance options.
  16. - The BODY font SIZE can be changed under the appearance options. DO NOT add 'px' after the number.
  17. - The 'highlight' and 'highlighttext' color options refer to the background and text color that appears when you click and drag the cursor.
  18. - The sidebar text alignment is JUSTIFIED (stretched across the row). You can change this in the '#description' css.
  19. - The sidebar image is the home link.
  20.  
  21. Enjoy!
  22.  
  23. --->
  24.  
  25. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  26. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  27. <head><title>{Title}</title>
  28. <link rel="shortcut icon" href="{Favicon}">
  29. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  30. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  31.  
  32. <link href='http://fonts.googleapis.com/css?family=Niconne' rel='stylesheet' type='text/css'>
  33.  
  34. <link href='http://fonts.googleapis.com/css?family=Allura' rel='stylesheet' type='text/css'>
  35.  
  36. <link href='http://fonts.googleapis.com/css?family=Love+Ya+Like+A+Sister' rel='stylesheet' type='text/css'>
  37.  
  38. <meta name="color:background" content="#FFFFFF" />
  39. <meta name="color:text" content="#999999" />
  40. <meta name="color:sidetext" content="#777777">
  41. <meta name="color:posts" content="#DDDDDD">
  42. <meta name="color:link" content="#777777">
  43. <meta name="color:linkhover" content="#CCCCCC">
  44. <meta name="color:infolink" content="#555555">
  45. <meta name="color:infolinkhover" content="#999999">
  46. <meta name="color:sidelink" content="#CCCCCC">
  47. <meta name="color:sidelinkhover" content="#888888">
  48. <meta name="color:borders" content="#CCCCCC">
  49. <meta name="color:postborder" content="#BBBBBB">
  50. <meta name="color:scrollbarbackground" content="#DDDDDD">
  51. <meta name="color:scrollbar" content="#999999">
  52. <meta name="color:highlight" content="#DDDDDD">
  53. <meta name="color:highlighttext" content="#111111">
  54.  
  55. <meta name="text:bodyfontsize" content="11">
  56. <meta name="text:bgimgposition" content="bottom right" />
  57. <meta name="text:link1" content="/">
  58. <meta name="text:link1name" content="link 1">
  59. <meta name="text:link2" content="/">
  60. <meta name="text:link2name" content="link 2">
  61. <meta name="text:link3" content="/">
  62. <meta name="text:link3name" content="link 3">
  63. <meta name="text:link4" content="/">
  64. <meta name="text:link4name" content="link 4">
  65.  
  66. <meta name="font:body" content="">
  67. <meta name="font:sidebar" content="">
  68.  
  69. <meta name="image:sidebar" content="">
  70. <meta name="image:background" content="">
  71.  
  72. <meta name="if:BackgroundImageRepeat" content="" />
  73. <meta name="if:400pxPosts" content="1">
  74.  
  75. <style type="text/css">
  76.  
  77. iframe#tumblr_controls {right:3px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.2;-webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  78. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  79.  
  80. ::-webkit-scrollbar {
  81. width: 7px;
  82. background-color:{color:scrollbarbackground};
  83. }
  84.  
  85. ::-webkit-scrollbar-thumb {
  86. width:7px;
  87. background-color:{color:scrollbar};
  88. }
  89.  
  90. ::selection {
  91. background: {color:highlight};
  92. color: {color:highlighttext};
  93. }
  94.  
  95. body {
  96. background-color:{color:background};
  97. color:{color:text};
  98. font-size:{text:bodyfontsize}px;
  99. font-family:{font:body};
  100. line-height:95%;
  101. background-image:url('{image:background}');
  102. background-attachment:fixed;
  103. background-position:{text:bgimgposition};
  104. {block:IfBackgroundImageRepeat}
  105. background-repeat:repeat;
  106. {/block:IfBackgroundImageRepeat}
  107. {block:IfNotBackgroundImageRepeat}
  108. background-repeat:no-repeat;
  109. {/block:IfNotBackgroundImageRepeat}
  110. }
  111.  
  112. a {
  113. color:{color:link};
  114. text-decoration:none;
  115. outline:none;
  116. -moz-outline-style:none;
  117. -webkit-transition: all 0.6s ease-out;
  118. -o-transition: all 0.6s ease-out;
  119. -webkit-transition: all 0.6s ease-out;
  120. -moz-transition: all 0.6s ease-out;
  121. }
  122.  
  123. a:hover {
  124. color:{color:linkhover};
  125. -webkit-transition: all 0.6s ease-out;
  126. -o-transition: all 0.6s ease-out;
  127. -webkit-transition: all 0.6s ease-out;
  128. -moz-transition: all 0.6s ease-out;
  129. }
  130.  
  131. blockquote {
  132. padding-left:5px;
  133. border-left:2px solid;
  134. }
  135.  
  136. blockquote blockquote {
  137. padding-left:5px;
  138. border-left:2px solid;
  139. }
  140.  
  141. h1 {
  142. font-size:17px;
  143. font-family: 'Niconne', cursive;
  144. }
  145.  
  146. #entries {
  147. padding:10px;
  148. {block:IfNot400pxPosts}
  149. width:540px;
  150. margin-left:360px;
  151. {/block:IfNot400pxPosts}
  152. {block:If400pxPosts}
  153. width:440px;
  154. margin-left:410px;
  155. {/block:If400pxPosts}
  156. margin-top:40px;
  157.  
  158. }
  159.  
  160. #post {
  161. padding:20px;
  162. overflow:hidden;
  163. background-color:{color:posts};
  164. border: 1px solid {color:postborder};
  165. {block:IfNot400pxPosts}
  166. width:500px;
  167. {/block:IfNot400pxPosts}
  168. {block:If400pxPosts}
  169. width:400px;
  170. {/block:If400pxPosts}
  171. }
  172.  
  173. #sidebar {
  174. {block:IfNot400pxPosts}
  175. margin-left:160px;
  176. {/block:IfNot400pxPosts}
  177. {block:If400pxPosts}
  178. margin-left:210px;
  179. {/block:If400pxPosts}
  180. position:fixed;
  181. width:160px;
  182. margin-top:200px;
  183. height:auto;
  184. border-right: 1px solid {color:borders};
  185. padding:10px;
  186. padding-top:30px;
  187. padding-bottom:30px;
  188. background-color:transparent;
  189. }
  190.  
  191. #title {
  192. font-family: 'Niconne', cursive;
  193. font-size:18px;
  194. border-bottom:1px solid {color:borders};
  195. padding-bottom:7px;
  196. text-align:right;
  197. }
  198.  
  199. #links {
  200. position:absolute;
  201. padding-bottom:5px;
  202. right:5px;
  203. margin-top:-6px;
  204. font-size:7px;
  205. }
  206.  
  207. #links a {
  208. font-family:georgia;
  209. margin-right:3px;
  210. text-transform:uppercase;
  211. color:{color:sidelink};
  212. -webkit-transition: all 0.6s ease-out;
  213. -o-transition: all 0.6s ease-out;
  214. -webkit-transition: all 0.6s ease-out;
  215. -moz-transition: all 0.6s ease-out;
  216. }
  217.  
  218. #links a:hover {
  219. color:{color:sidelinkhover};
  220. -webkit-transition: all 0.6s ease-out;
  221. -o-transition: all 0.6s ease-out;
  222. -webkit-transition: all 0.6s ease-out;
  223. -moz-transition: all 0.6s ease-out;
  224. }
  225.  
  226.  
  227. #sidebarimage {
  228. width:160px;
  229. margin-top:10px;
  230. border-top:1px solid {color:borders};
  231. padding-top:10px;
  232. padding-bottom:10px;
  233. -webkit-transition: all 0.6s ease-out;
  234. -o-transition: all 0.6s ease-out;
  235. -webkit-transition: all 0.6s ease-out;
  236. -moz-transition: all 0.6s ease-out;
  237. }
  238.  
  239. #sidebarimage:hover {
  240. opacity:0.8;
  241. -webkit-transition: all 0.6s ease-out;
  242. -o-transition: all 0.6s ease-out;
  243. -webkit-transition: all 0.6s ease-out;
  244. -moz-transition: all 0.6s ease-out;
  245.  
  246. }
  247.  
  248. #sidebarimage img {
  249. width:160px;
  250. }
  251.  
  252. #description {
  253. padding-top:10px;
  254. text-align:justify;
  255. color:{color:sidetext};
  256. width:160px;
  257. font-size:10px;
  258. font-family:{font:sidebar};
  259. border-top:1px solid {color:borders};
  260.  
  261. }
  262.  
  263. #pagination {
  264. font-family:georgia;
  265. font-size:8px;
  266. text-align:center;
  267. border-top:1px solid {color:borders};
  268. padding-top:10px;
  269. }
  270.  
  271.  
  272. #pagination a {
  273. font-size:16px;
  274. font-family: 'Niconne', cursive;
  275. }
  276.  
  277. #info {
  278. font-family:georgia;
  279. text-transform:uppercase;
  280. font-size:8px;
  281. text-align:center;
  282. border-top:1px solid {color:borders};
  283. padding-top:7px;
  284. margin-top:5px;
  285. }
  286.  
  287. #info a{
  288. color:{color:infolink};
  289. }
  290.  
  291. #info a:hover {
  292. color:{color:infolinkhover};
  293. }
  294.  
  295. #tags {
  296. font-size:8px;
  297. text-align:center;
  298. margin-top:-8px;
  299. font-style:italic;
  300. font-family:georgia;
  301. }
  302.  
  303. #asker {
  304. font-family: 'Niconne', cursive;
  305. font-size:15px;
  306. margin-top:-20px;
  307. margin-left:32px;
  308. }
  309.  
  310. #question {
  311. border-bottom:1px solid {color:borders};
  312. padding-bottom:7px;
  313. }
  314.  
  315. #credit {
  316. position:fixed;
  317. right:-1px;
  318. bottom:-1px;
  319. font-family: 'Allura', cursive;
  320. font-size:13px;
  321. background-color:#FFFFFF;
  322. padding:5px;
  323. }
  324.  
  325. .audio {
  326. margin-right:5px;
  327. width:70px;
  328. float:left;
  329. }
  330.  
  331. .hidden {
  332. width:70px;
  333. height:73px;
  334. }
  335.  
  336. .pull {
  337. margin-left:4px;
  338. margin-top:-6px;
  339. }
  340.  
  341. .tumblr_audio_player {
  342. margin:0px;
  343. padding:0px;
  344. width:500px;
  345. height:50px;
  346. }
  347.  
  348. .player {
  349. width:35px;
  350. height:37px;
  351. margin-left:10px;
  352. margin-top:10px;
  353. background-color:#999;
  354. overflow:hidden;
  355. position:absolute;
  356. opacity:0.7;
  357. background-color:#fff;
  358. border:7px solid #ECECEC;
  359. -webkit-transition: all 0.3s ease-out;
  360. -o-transition: all 0.3s ease-out;
  361. -webkit-transition: all 0.3s ease-out;
  362. -moz-transition: all 0.3s ease-out;
  363. }
  364. .player:hover {
  365. opacity:1;
  366. -webkit-transition: all 0.3s ease-out;
  367. -o-transition: all 0.3s ease-out;
  368. -webkit-transition: all 0.3s ease-out;
  369. -moz-transition: all 0.3s ease-out;
  370. }
  371.  
  372. .caption {
  373. margin-top:20px;
  374. }
  375.  
  376. .audio img{
  377. max-width: 70px;
  378. height: auto;
  379. }
  380.  
  381. .song {
  382. margin-left:70px;
  383. margin-top:-58px;
  384. font-family:geneva;
  385. line-height:15px;
  386. text-transform:uppercase;
  387. font-size:12px;
  388. padding-bottom:15px;
  389. }
  390.  
  391. .quotation {
  392. font-family: 'Love Ya Like A Sister', cursive;
  393. font-size:38px;
  394. margin-top:10px;
  395. }
  396.  
  397. .quote {
  398. margin-top:-15px;
  399. }
  400.  
  401. {CustomCSS}</style></head>
  402.  
  403. <body>
  404.  
  405. <div id="sidebar">
  406.  
  407. <div id ="title">{Title}</div><br>
  408.  
  409. <div id="links">
  410. <a href="/ask">ask</a>
  411. {block:IfLink1Name}
  412. <a href="{text:link1}">{text:link1name}</a>
  413. {/block:IfLink1Name}
  414. {block:IfLink2Name}
  415. <a href="{text:link2}">{text:link2name}</a>
  416. {/block:IfLink2Name}
  417. {block:IfLink3Name}
  418. <a href="{text:link3}">{text:link3name}</a>
  419. {/block:IfLink3Name}
  420. {block:IfLink4Name}
  421. <a href="{text:link4}">{text:link4name}</a>
  422. {/block:IfLink4Name}
  423. </div>
  424. <div id="sidebarimage"><a href="/"><img src="{image:sidebar}"></a></div>
  425. <div id="description">{Description}<p>
  426. <div id="pagination">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}&nbsp&nbsp{CurrentPage} | {TotalPages}&nbsp&nbsp{block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}{/block:Pagination}</div></div>
  427.  
  428. </div>
  429.  
  430. <div id="credit"><a href="http://farflunghopes.tumblr.com">theme</a></div>
  431.  
  432. <div id="entries">{block:Posts}<div id="post">
  433.  
  434. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  435.  
  436. {block:Photo}{LinkOpenTag}{block:IfNot400pxPosts}<img src="{PhotoURL-500}">{block:IfNot400pxPosts}{block:If400pxPosts}<img src="{PhotoURL-500}" width="400">{/block:If400pxPosts}{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  437.  
  438. {block:Photoset}{block:IfNot400pxPosts}{Photoset-500}{block:IfNot400pxPosts}{block:If400pxPosts}{Photoset-400}{/block:If400pxPosts}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  439.  
  440. {block:Quote}<div class="quotation">"</div><div class="quote">&nbsp&nbsp&nbsp&nbsp&nbsp{Quote}"</div>{block:Source}<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp—{Source}{/block:Source}{/block:Quote}
  441.  
  442. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  443.  
  444. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  445.  
  446. {block:Audio}
  447. {block:AlbumArt}<div class="audio"><img src="{AlbumArtURL}"></div>{/block:AlbumArt}
  448. <div class="hidden"><div class="player"><div class="pull">{AudioPlayerWhite}</div></div></div>
  449. <div class="song">{block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}<br>{PlayCountWithLabel}</div>
  450. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  451. {/block:Audio}
  452.  
  453. {block:Video}{block:IfNot400pxPosts}{Video-500}{/block:IfNot400pxPosts}{block:If400pxPosts}{Video-400}{/block:If400pxPosts}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  454.  
  455. {block:Answer}<img src="{AskerPortraitURL-24}"><div id="asker">{Asker}:</div><br><div id="question">{Question}</div><br>{Answer}{/block:Answer}
  456.  
  457. <div id="info">
  458. {block:Date}posted <a href="{Permalink}">{TimeAgo}</a>{/block:Date}
  459. with <a href="{Permalink}">{NoteCountWithLabel}</a>
  460. {block:RebloggedFrom}|{block:ContentSource} © <a href="{SourceURL}">{SourceLink}</a>,{/block:ContentSource} via <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} | <a href="{ReblogURL}"> reblog</a></div>
  461. <br>
  462. <div id="tags">
  463. {block:HasTags}{block:Tags}&nbsp&nbsp<em><a href="{TagURL}">{Tag}</a></em>&nbsp&nbsp{/block:Tags}{/block:HasTags}</div>
  464.  
  465. </div>
  466.  
  467. <BR><BR>
  468.  
  469. {block:PostNotes}{PostNotes}{/block:PostNotes}
  470. {/block:Posts}</div>
  471.  
  472. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment