Advertisement
silvercybermen

Theme 02 REVAMP: Crisp Winter

Aug 19th, 2014
595
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.12 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. <!--
  4.  
  5. Theme 02 REVAMP: Crisp Winter by lunecerise aka sxriusblack
  6.  
  7. -keep credit intact
  8. -otherwise, you may edit as much as you want
  9. -do not steal any code
  10. -do not use as a basecode
  11.  
  12. -->
  13.  
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  15.  
  16. <head>
  17.  
  18. <title>{Title}</title>
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. {block:Description}<meta name="Description" content="">{/block:Description}
  22.  
  23. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  24. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  25. <script>
  26. (function($){
  27. $(document).ready(function(){
  28. $("[title]").style_my_tooltips({
  29. tip_follows_cursor:true,
  30. tip_delay_time:1,
  31. tip_fade_speed:100,
  32. attribute:"title"
  33. });
  34. });
  35. })(jQuery);
  36. </script>
  37.  
  38. <meta name="image:Sidebar" content=""/>
  39.  
  40. <meta name="color:Background" content="#fff">
  41. <meta name="color:Title" content="#aaa">
  42. <meta name="color:Text" content="#aaaaaa">
  43. <meta name="color:Link" content="#a3a3a3">
  44. <meta name="color:Hover" content="#A9BCF5">
  45. <meta name="color:Border" content="#f2f2f2">
  46. <meta name="color:Scrollbar" content="#f2f2f2">
  47.  
  48. <meta name="if:Grayscale" content="1">
  49. <meta name="if:Snow" content="1">
  50.  
  51. <meta name="text:Blog Title" content="">
  52.  
  53. <meta name="text:Amount of Snow" content="100" />
  54. <meta name="text:Link A" content="">
  55. <meta name="text:Link A URL" content="/">
  56. <meta name="text:Link B" content="">
  57. <meta name="text:Link B URL" content="/">
  58. <meta name="text:Link C" content="">
  59. <meta name="text:Link C URL" content="/">
  60. <meta name="text:Link D" content="">
  61. <meta name="text:Link D URL" content="/">
  62.  
  63. <style type="text/css">
  64.  
  65. *, body, a, a:hover {cursor: url(http://www.totallylayouts.com/cursors/random/tiny_cursor.png), auto;}
  66.  
  67. ::-webkit-scrollbar {width:5px; height:auto; background:{color:background};}
  68. ::-webkit-scrollbar-corner {background:{color:background};}
  69. ::-webkit-scrollbar-thumb:vertical {background:transparent; width:3px; border-left:2px solid {color:scrollbar};}
  70. ::-webkit-scrollbar-thumb:horizontal {background:{color:scrollbar};}
  71. ::-webkit-scrollbar-increment {width:5px; height:5px; background-color:#fff;}
  72.  
  73. iframe#tumblr_controls { white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%); opacity:.2;transition: .8s ease-in-out; -webkit-transition: .8s ease-in-out;-moz-transition: .8s ease-in-out;-o-transition: .8s ease-in-out; }
  74.  
  75. iframe#tumblr_controls:hover { white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%); opacity:1; }
  76.  
  77. body {
  78. background-color:{color:Background};
  79. font-family:times;
  80. font-weight:normal;
  81. line-height:110%;
  82. color:{color:text};
  83. }
  84.  
  85. a {
  86. text-decoration:none;
  87. -moz-outline-style:none;
  88. color:{color:link};
  89. transition:0.5s ease-in-out;
  90. -webkit-transition:0.5s ease-in-out;
  91. -moz-transition:0.5s ease-in-out;
  92. -ms-transition:0.5s ease-in-out;
  93. -o-transition:0.5s ease-in-out;
  94. }
  95.  
  96. a:hover {
  97. opacity:1;
  98. color:{color:hover};
  99. }
  100.  
  101. img {
  102. border:none;
  103. max-width:100%;
  104. }
  105.  
  106. h1 {
  107. font-size:12px;
  108. text-transform:uppercase;
  109. }
  110.  
  111. h2 {
  112. font-size:15px;
  113. line-height:123%;
  114. }
  115.  
  116. ol {
  117. list-style:upper-roman;
  118. }
  119.  
  120. li {
  121. list-style:square;
  122. }
  123.  
  124. blockquote {
  125. padding-left:5px;
  126. border-left:2px solid {color:text};
  127. }
  128.  
  129. blockquote blockquote {
  130. padding-left:5px;
  131. border-left:2px solid {color:text};
  132. }
  133.  
  134. pre {
  135. width:500px;
  136. white-space: pre-wrap;
  137. white-space: -moz-pre-wrap;
  138. white-space: -pre-wrap;
  139. white-space: -o-pre-wrap;
  140. word-wrap: break-word;
  141. }
  142.  
  143. #sidebar {
  144. width:150px;
  145. position:fixed;
  146. margin-top:150px;
  147. margin-left:200px;
  148. }
  149.  
  150. #sidebarimage {width:150px;opacity:1;}
  151. #sidebarimage img {width:150px;opacity:1;position:relative;z-index:1;transition:0.5s ease-in-out;-webkit-transition:0.5s ease-in-out;-moz-transition:0.5s ease-in-out;-ms-transition:0.5s ease-in-out;-o-transition:0.5s ease-in-out;}
  152. #sidebarimage:hover img {opacity:0.5;z-index:-2;}
  153. #sidebarimage:hover #title {opacity:1;}
  154.  
  155. .links {
  156. width:130px;
  157. padding:5px 10px;
  158. font-size:10px;
  159. margin-top:-13px;
  160. text-align:center;
  161. }
  162.  
  163. .links a {
  164. display:inline-block;
  165. padding:2px 8px;
  166. color:{color:links};
  167. background:{color:background};
  168. border-bottom:1px solid transparent;
  169. }
  170.  
  171. .links a:hover {
  172. border-bottom:1px solid {color:border};
  173. }
  174.  
  175. #desc {
  176. width:150px;
  177. text-align:justify;
  178. font-size:9px;
  179. color:{color:text};
  180. line-height:105%;
  181. margin-top:1px;
  182. }
  183.  
  184. #desc:first-letter {
  185. width:15px;
  186. height:15px;
  187. padding:5px 6px;
  188. margin-bottom:0px;
  189. margin-right:8px;
  190. float:left;
  191. font-size:20px;
  192. font-style:italic;
  193. line-height:15px;
  194. border:double {color:border};
  195. text-transform:uppercase;
  196. text-align:center;
  197. }
  198.  
  199. #title {
  200. width:150px;
  201. text-align:center;
  202. font-size:15px;
  203. margin-top:-50%;
  204. max-height:100%;
  205. margin-bottom:50%;
  206. opacity:0;
  207. z-index:-1;
  208. transition:0.5s ease-in-out;
  209. -webkit-transition:0.5s ease-in-out;
  210. -moz-transition:0.5s ease-in-out;
  211. -ms-transition:0.5s ease-in-out;
  212. -o-transition:0.5s ease-in-out;
  213. }
  214.  
  215. #title a {
  216. color:{color:title};
  217. letter-spacing:1px;
  218. }
  219.  
  220. #title a:hover {
  221. color:{color:title};
  222. letter-spacing:3px;
  223. }
  224.  
  225. /*Posts*/
  226.  
  227. #all {
  228. padding:10px;
  229. width:500px;
  230. margin-left:500px;
  231. margin-top:20px;
  232. font-size:9px;
  233. -ms-word-break: break-all;
  234. word-break: break-all;
  235. word-break: break-word;
  236. -webkit-hyphens: auto;
  237. -moz-hyphens: auto;
  238. -ms-hyphens: auto;
  239. hyphens: auto;
  240. }
  241.  
  242. #content {
  243. width:500px;
  244. padding-bottom:20px;
  245. padding:10px;
  246. margin-top:30px;
  247. background-color:{color:Post};
  248. {block:IfGrayscale}
  249. -webkit-filter:grayscale(100%);
  250. -webkit-transition: all 0.5s ease opacity .9s linear;
  251. -moz-transition: all 0.5s ease;
  252. -o-transition: all 0.5s ease;
  253. -webkit-transition-duration: 0.5s;
  254. -moz-transition-duration: 0.5s;
  255. -o-transition-duration: 0.5s;
  256. }
  257.  
  258. #content:hover {
  259. -webkit-transition: all 0.5s ease opacity .9s linear;
  260. -moz-transition: all 0.5s ease;
  261. -o-transition: all 0.5s ease;
  262. opacity: 1;
  263. -webkit-filter:none;
  264. -webkit-transition-duration: 0.5s;
  265. -moz-transition-duration: 0.5s;
  266. -o-transition-duration: 0.5s;
  267. {/block:IfGrayscale}
  268. }
  269.  
  270. #content:hover #tags {
  271. opacity:1;
  272. }
  273.  
  274. .tumblr_audio_player {width:300px}
  275.  
  276. #question {
  277. padding:10px;
  278. font-family:cambria;
  279. letter-spacing:2px;
  280. text-align:center;
  281. border:1px {color:border} dotted;
  282. color:{color:text};
  283. background-color:{color:background};
  284. }
  285.  
  286. #akport {
  287. width:500px;
  288. text-align:center;
  289. height:12px;
  290. padding:5px 0;
  291. color:#444;
  292. opacity:1;
  293. background-color:{color:background};
  294. z-index:99999;
  295. margin-bottom:3px;
  296. }
  297.  
  298. #akport a {
  299. background-color:{color:background};
  300. text-align:center;
  301. text-decoration:none;
  302. }
  303.  
  304. #akport a:hover {
  305. text-decoration:none;
  306. letter-spacing:0.8em;
  307. }
  308.  
  309. .chat li {
  310. list-style:none;
  311. line-height:110%;
  312. }
  313.  
  314. .line.odd {
  315. background-color:#f2f2f2;
  316. padding:3px 5px;
  317. }
  318.  
  319. .line.even {
  320. padding:0;
  321. }
  322.  
  323. #caption {
  324. width:500px;
  325. -ms-word-break: break-all;
  326. word-break: break-all;
  327. word-break: break-word;
  328. -webkit-hyphens: auto;
  329. -moz-hyphens: auto;
  330. -ms-hyphens: auto;
  331. hyphens: auto;
  332. }
  333.  
  334. #notecontain {
  335. width:400px;
  336. padding:20px 49px;
  337. text-align:center;
  338. border:dotted 1px {color:border};
  339. }
  340.  
  341. #notes {
  342. width:300px;
  343. height:150px;
  344. padding:5px 10px;
  345. overflow-y:scroll;
  346. overflow-x:hidden;
  347. text-align:justify;
  348. margin:0 40px 0px 30px;
  349. line-height:125%;
  350. }
  351.  
  352. #notes img {
  353. display:none;
  354. }
  355.  
  356. #notes ol, #notes li {
  357. list-style:circle;
  358. line-height:125%;
  359. }
  360.  
  361. #dets {
  362. text-align:center;
  363. font-family:times;
  364. text-transform:uppercase;
  365. margin-top:8px;
  366. color:{color:text};
  367. font-size:9px;
  368. border-top: solid 1px #f2f2f2;
  369. }
  370.  
  371. #tags {
  372. text-transform:lowercase;
  373. font-family:times;
  374. font-style:italic;
  375. font-size:9px;
  376. margin-top:-5px;
  377. text-align:center;
  378. color:{color:text};
  379. opacity:0;
  380. transition:0.5s ease-in-out;
  381. -webkit-transition:0.5s ease-in-out;
  382. -moz-transition:0.5s ease-in-out;
  383. -ms-transition:0.5s ease-in-out;
  384. -o-transition:0.5s ease-in-out;
  385. }
  386.  
  387. #tags a {
  388. display:inline-block;
  389. color:{color:link};
  390. -webkit-transition-duration:0.6s;
  391. -moz-transition-duration:0.6s;
  392. -o-transition-duration: 0.6s;
  393. }
  394.  
  395. #tags a:hover {
  396. font-size:9px;
  397. color:{color:hover};
  398. -webkit-transition-duration:0.6s;
  399. -moz-transition-duration:0.6s;
  400. -o-transition-duration: 0.6s;
  401. }
  402.  
  403. #tags .comma:last-child {
  404. display:none;
  405. }
  406.  
  407. #pagin {
  408. width:150px;
  409. margin:20px 0;
  410. text-align:center;
  411. font-size:10px;
  412. }
  413.  
  414. #pagin .current_page {
  415. width:15px;
  416. height:15px;
  417. padding:5px;
  418. text-align:Center;
  419. }
  420.  
  421. #pagin a {
  422. display:inline-block;
  423. }
  424.  
  425. #credit, #credit a {
  426. position:fixed;
  427. bottom:4px;
  428. right:4px;
  429. padding:3px 5px;
  430. font-family:helvetica;
  431. text-transform:uppercase;
  432. color:#777;
  433. background-color:#fff;
  434. font-size:10px;
  435. -moz-transition-duration:0.3s;
  436. -webkit-transition-duration:0.3s;
  437. -o-transition-duration:0.3s;
  438. -ms-transition-duration:0.3s;
  439. }
  440.  
  441. #credit:hover, #credit a:hover {
  442. font-family:helvetica;
  443. color:#000;
  444. background-color:#fff;
  445. text-shadow:#aaa 0.2em 0.2em;
  446. -moz-transition-duration:0.4s;
  447. -webkit-transition-duration:0.4s;
  448. -o-transition-duration:0.4s;
  449. -ms-transition-duration:0.4s;
  450. }
  451.  
  452. /*Tooltip*/
  453.  
  454. #s-m-t-tooltip {
  455. max-width:300px;
  456. padding:3px 6px;
  457. margin:20px 0px 0px 20px;
  458. height:auto;
  459. background-color:{color:background};
  460. font-family:times;
  461. border:double {color:border};
  462. font-size:9px;
  463. letter-spacing:1px;
  464. text-transform:lowercase;
  465. color:{color:text};
  466. z-index:999999999999999999999999999999999999;
  467.  
  468. }
  469.  
  470. {CustomCSS} </style></head>
  471. <body>
  472. <div id="sidebar">
  473. <div id="sidebarimage"><img src="{image:Sidebar}"><div id="title"><a href="/">{text:Blog Title}</a></div></div>
  474. <div class="links">
  475. <a href="{text:Link A URL}" title="{text:Link A}">i.</a>
  476. <a href="{text:Link B URL}" title="{text:Link B}">ii.</a>
  477. <a href="{text:Link C URL}" title="{text:Link C}">iii.</a>
  478. <a href="{text:Link D URL}" title="{text:Link D}">iv.</a>
  479. </div>
  480. <div id="desc">{Description}</div>
  481. {block:Pagination}<div id="pagin">
  482. {block:PreviousPage}<a href="{PreviousPage}">←</a>&nbsp;&nbsp;{/block:PreviousPage}
  483. {block:JumpPagination length="3"}
  484. {block:CurrentPage}<span class="current_page">{PageNumber}</span>&nbsp;&nbsp;{/block:CurrentPage}
  485. {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>&nbsp;&nbsp;{/block:JumpPage}
  486. {/block:JumpPagination}
  487. {block:NextPage}<a href="{NextPage}">→</a>{/block:NextPage}
  488. </div>{/block:Pagination}
  489. </div>
  490.  
  491. <div id="all">{block:Posts}<div id="content">
  492.  
  493. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  494.  
  495. {block:Photo}<center>{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}</center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  496.  
  497. {block:Link}<h1><a style="border-bottom:dotted 1px {color:text}; padding-bottom:2px" href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  498.  
  499. {block:Photoset}{Photoset-500}{block:Caption}<div id="caption">{Caption}</div>{/block:Caption}{/block:Photoset}
  500.  
  501. {block:Quote}<center><h2>“{Quote}”</h2><span style="font-size:10px; text-transform:none">{Source}</span><br></center>{/block:Quote}
  502.  
  503. {block:Audio}<div style="width:480px; padding:10px; border:dotted 1px {color:border}"><left>{block:AlbumArt}<img src="{AlbumArtURL}" width="80px" height="80px" align="left" style="margin-right:10px" />{/block:AlbumArt}<span class="audio">{AudioPlayerWhite}</left></span>
  504. {block:TrackName}<b>Title:</b> {TrackName}<br>{/block:TrackName}
  505. {block:Artist}<b>Artist:</b> {Artist}<br>{/block:Artist}
  506. {block:PlayCount}<b>Played:</b> {PlayCountwithLabel} {/block:PlayCount}</div>
  507. {block:Caption}<p><div id="caption">{Caption}</div></p>{/block:Caption}{/block:Audio}
  508.  
  509. {block:Video}{Video-500}{block:Caption}<div id="caption">{Caption}</div>{/block:Caption}{/block:Video}
  510.  
  511. {block:Chat}<div class="chat">{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}<li class="line {Alt}">{block:Label}<b>{Label}</b>{/block:Label} {Line}</li><br>{/block:Lines}</div>{/block:Chat}
  512.  
  513. {block:Answer}<div id="question"><span style="text-transform:uppercase;font-size:10px; padding-bottom:10px"><div id="akport">{Asker}</div></span>{Question}</div><left>{Answer}</left>{/block:Answer}
  514.  
  515. <div id="dets">
  516. {block:Date}<a href="{Permalink}">{ShortMonth} {DayOfMonthWithZero}</a>{/block:Date}{block:RebloggedFrom} | <a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{/block:RebloggedFrom}{block:ContentSource} | <a href="{SourceURL}" title="{SourceTitle}">src</a> {/block:ContentSource}{block:NoteCount} | <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}
  517. {block:HasTags}<div id="tags">{block:Tags}<a href="{TagURL}">{Tag}</a><span class="comma">,</span> {/block:Tags}</div>{/block:HasTags}</div></div>
  518. {/block:Posts}
  519. {block:PostNotes}<div id="notecontain"><div id="notes">{PostNotes}</div></div>{/block:PostNotes}
  520. {/block:Posts}</div></div>
  521.  
  522. <div id="credit" title="lunecerise"><a href="http://lunecerise.co.vu">LC</a></div>
  523.  
  524. {block:IfSnow}
  525.  
  526. <SCRIPT type="text/javascript">
  527.  
  528. /*Snow Fall*/
  529.  
  530. var snowmax={text:Amount of Snow}
  531. var snowcolor=new Array("#f2f2f2","#ddddff","#ccccdd","#f3f3f3","#f0ffff")
  532. var snowtype=new Array("Times","Arial","Times","Verdana")
  533. var snowletter="*"
  534. var sinkspeed=0.9
  535. var snowmaxsize=30
  536. var snowminsize=8
  537. var snowingzone=1
  538.  
  539. var snow=new Array()
  540. var marginbottom
  541. var marginright
  542. var timer
  543. var i_snow=0
  544. var x_mv=new Array();
  545. var crds=new Array();
  546. var lftrght=new Array();
  547. var browserinfos=navigator.userAgent
  548. var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)
  549. var ns6=document.getElementById&&!document.all
  550. var opera=browserinfos.match(/Opera/)
  551. var browserok=ie5||ns6||opera
  552. function randommaker(range) {
  553. rand=Math.floor(range*Math.random())
  554. return rand
  555. }
  556. function initsnow() {
  557.  
  558. if (ie5 || opera) {
  559. marginbottom = document.body.scrollHeight
  560. marginright = document.body.clientWidth-15
  561. }
  562.  
  563. else if (ns6) {
  564. marginbottom = document.body.scrollHeight
  565. marginright = window.innerWidth-15
  566. }
  567.  
  568. var snowsizerange=snowmaxsize-snowminsize
  569.  
  570. for (i=0;i<=snowmax;i++) {
  571. crds[i] = 0;
  572. lftrght[i] = Math.random()*15;
  573. x_mv[i] = 0.03 + Math.random()/10;
  574. snow[i]=document.getElementById("s"+i)
  575. snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)]
  576. snow[i].size=randommaker(snowsizerange)+snowminsize
  577. snow[i].style.fontSize=snow[i].size+'px';
  578. snow[i].style.color=snowcolor[randommaker(snowcolor.length)]
  579. snow[i].style.zIndex=1000
  580. snow[i].sink=sinkspeed*snow[i].size/5
  581. if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}
  582. if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}
  583. if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}
  584. if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}
  585. snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size)
  586. snow[i].style.left=snow[i].posx+'px';
  587. snow[i].style.top=snow[i].posy+'px';
  588. }
  589. movesnow()
  590. }
  591. function movesnow() {
  592. for (i=0;i<=snowmax;i++) {
  593. crds[i] += x_mv[i];
  594. snow[i].posy+=snow[i].sink
  595. snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i])+'px';
  596. snow[i].style.top=snow[i].posy+'px';
  597. if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){
  598. if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}
  599. if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}
  600. if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}
  601. if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}
  602. snow[i].posy=0
  603. }
  604. }
  605. var timer=setTimeout("movesnow()",50)
  606. }
  607. for (i=0;i<=snowmax;i++) {
  608. document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")
  609. }
  610. if (browserok) {
  611. window.onload=initsnow
  612. }
  613. </SCRIPT>
  614.  
  615. {/block:IfSnow}
  616.  
  617. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement