BabeJeSuisParfait

personalblog29

Apr 28th, 2012
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.14 KB | None | 0 0
  1.  
  2.  
  3. <head>
  4.  
  5. <!-- DEFAULT VARIABLES -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <meta name="color:background" content="#A73D4F"/>
  8. <meta name="color:text" content="#000"/>
  9. <meta name="color:title" content="#000"/>
  10. <meta name="color:link" content="#777"/>
  11. <meta name="color:hover" content="#ccc"/>
  12. <meta name="image:sidebar" content="1"/>
  13. <meta name="if:show photo" content="1"/>
  14. <meta name="if:infinite scrolling" content="1"/>
  15. <meta name="if:show arrows" content="0"/">
  16. <meta name="if:show blog title" content="1"/>
  17. <meta name="if:tiny scrollbar" content="1"/>
  18. <meta name="if:rainbow links" content="1"/>
  19.  
  20.  
  21. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  22.  
  23. {block:ifinfinitescrolling}<script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>{/block:ifinfinitescrolling}
  24. <style type="text/css">
  25.  
  26. body {
  27. margin:0px;
  28. background-color: {color:Background};
  29. background-image:url({image:Background});
  30. background-attachment: fixed;
  31. background-repeat: repeat;}
  32. body, div, p, textarea, submit, input{
  33. font-family: cambria;
  34. font-size: 10px;
  35. line-height:10px;
  36. letter-spacing:0px;
  37. color:{color:Text};
  38. }
  39.  
  40. {block:iftinyscrollbar}
  41. ::-webkit-scrollbar-thumb:vertical {
  42. height:9px;
  43. background-color: #202020;
  44. }
  45.  
  46.  
  47. ::-webkit-scrollbar {
  48. width:8;
  49. height:10px;
  50. background:#ffffff;
  51. margin-right:5px;
  52. }
  53. {/block:iftinyscrollbar}
  54.  
  55. p {
  56. margin:0px;
  57. margin-top:0px;
  58. }
  59.  
  60.  
  61. a:link, a:active, a:visited{
  62. color: {color:Link};
  63. text-decoration: none;
  64. -webkit-transition: color 0.3s ease-out;
  65. -moz-transition: color 0.3s ease-out;
  66. transition: color 0.3s ease-out;
  67. }
  68.  
  69. a:hover {
  70. color:{color:Hover};
  71. text-decoration: none;
  72. font-style: none;
  73. }
  74.  
  75.  
  76. div#center{
  77. margin:auto;
  78. position:relative;
  79. width:840px;
  80. background-color:;
  81. overflow:auto;
  82. overflow-y:hidden;
  83. }
  84.  
  85. div#content{
  86. float:right;
  87. width:300px;
  88. margin-top: 20px;
  89. padding-left:2px;
  90. padding-right: 2px;
  91. padding-top: 2px;
  92. margin-right: 265px;
  93. background: #fff;
  94. -moz-box-shadow: 0 0 4em white;
  95. -webkit-box-shadow: 0 0 6em white;
  96. box-shadow: 0 0 4em white;
  97. }
  98. border: 1px solid black;
  99. }
  100.  
  101. div#entry{
  102. background-color:;
  103. margin-bottom: 0px;
  104. padding-top:0px;
  105. padding-bottom:2px;
  106. }
  107.  
  108. #entry .perma a{
  109. color:{Color:Links};}
  110.  
  111. #entry .perma{
  112. width:300px;
  113. position: absolute;
  114. font-family: cambria;
  115. font-size: 10px;
  116. line-height: 15px;
  117. text-align: center;
  118. overflow:hidden;
  119. opacity: 0.0;
  120. background-color:#fff;
  121. }
  122.  
  123. #entry:hover .perma{
  124. overflow:visible;
  125. -webkit-transition: opacity 0.2s linear; opacity: 0.8;
  126. -webkit-transition: all 0.2s linear;
  127. -moz-transition: all 0.2s linear;
  128. transition: all 0.2s linear;
  129. }
  130.  
  131. div#sidebar{
  132. position:fixed !important;
  133. width: 190px;
  134. height:auto;
  135. margin-top: 50px;
  136. margin-left: 20px;
  137. padding: 2px;
  138. line-height:11px;
  139. letter-spacing:0px;
  140. margin-bottom: 6px;
  141. background-color:white;
  142. border: 1px solid black;
  143. -moz-box-shadow: 0 0 4em white;
  144. -webkit-box-shadow: 0 0 6em white;
  145. box-shadow: 0 0 4em white;
  146. }
  147.  
  148.  
  149. #postnotes{
  150. text-align: justify;}
  151.  
  152. #postnotes blockquote{
  153. border: 0px;}
  154.  
  155. div#links{
  156. position:fixed !important;
  157. margin-left: 271px;
  158. margin-top: 0px;
  159. background-color: #fff;
  160. height: 14px;
  161. width: 304px;
  162. padding-top: 2px;
  163. padding-bottom: 2px;
  164. text-align: center;
  165. }
  166.  
  167. .title{
  168. font-family: cambria;
  169. font-size: 13px;
  170. line-height: 15px;
  171. color: {color:Title};
  172. letter-spacing: 0px;
  173. font-weight: normal;
  174. padding:0px 0px 0px 0px;
  175. }
  176.  
  177. .blogtitle{
  178. font-family: cambria;
  179. font-size: 13px;
  180. line-height: 15px;
  181. color: {color:Title};
  182. letter-spacing: 0px;
  183. font-weight: normal;
  184. padding:0px 0px 0px 0px;
  185. }
  186.  
  187. .video embed, .post div.video object {width:300px !important; height:180px !important;}
  188.  
  189. blockquote{
  190. padding:0px 0px 2px 5px;
  191. margin:0px 0px 2px 1px;
  192. border-left: 1px dotted #555555;
  193. }
  194.  
  195. blockquote p, ul{
  196. margin:0px;
  197. padding:0px;
  198. }
  199.  
  200.  
  201. a img{border: 0px;}
  202.  
  203. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  204.  
  205. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  206. .user_7 .label, .user_8 .label, .user_9 .label {color:#555555;}
  207.  
  208. .notes img{width:10px; position:relative; top:3px;}
  209.  
  210. .permalink{
  211. display: block;
  212. font-size: 10px;
  213. text-align: right;
  214. text-decoration: none;
  215. }
  216.  
  217.  
  218. small{font-size: 90%;}
  219.  
  220.  
  221. </style>
  222.  
  223.  
  224. <link rel="shortcut icon" href="{Favicon}">
  225. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  226. <meta name="viewport" content="width=820" />
  227.  
  228. {block:ifrainbowlinks}
  229. <script type='text/javascript'>
  230.  
  231. //<![CDATA[
  232.  
  233. var rate = 50;
  234.  
  235. if (document.getElementById)
  236.  
  237. window.onerror=new Function("return true")
  238.  
  239. var objActive; // The object which event occured in
  240.  
  241. var act = 0; // Flag during the action
  242.  
  243. var elmH = 0; // Hue
  244.  
  245. var elmS = 128; // Saturation
  246.  
  247. var elmV = 255; // Value
  248.  
  249. var clrOrg; // A color before the change
  250.  
  251. var TimerID; // Timer ID
  252.  
  253. if (document.all) {
  254.  
  255. document.onmouseover = doRainbowAnchor;
  256.  
  257. document.onmouseout = stopRainbowAnchor;
  258.  
  259. }
  260.  
  261. else if (document.getElementById) {
  262.  
  263. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  264.  
  265. document.onmouseover = Mozilla_doRainbowAnchor;
  266.  
  267. document.onmouseout = Mozilla_stopRainbowAnchor;
  268.  
  269. }
  270.  
  271. function doRainbow(obj)
  272.  
  273. {
  274.  
  275. if (act == 0) {
  276.  
  277. act = 1;
  278.  
  279. if (obj)
  280.  
  281. objActive = obj;
  282.  
  283. else
  284.  
  285. objActive = event.srcElement;
  286.  
  287. clrOrg = objActive.style.color;
  288.  
  289. TimerID = setInterval("ChangeColor()",100);
  290.  
  291. }
  292.  
  293. }
  294.  
  295.  
  296.  
  297. function stopRainbow()
  298.  
  299. {
  300.  
  301. if (act) {
  302.  
  303. objActive.style.color = clrOrg;
  304.  
  305. clearInterval(TimerID);
  306.  
  307. act = 0;
  308.  
  309. }
  310.  
  311. }
  312.  
  313.  
  314.  
  315. function doRainbowAnchor()
  316.  
  317. {
  318.  
  319. if (act == 0) {
  320.  
  321. var obj = event.srcElement;
  322.  
  323. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  324.  
  325. obj = obj.parentElement;
  326.  
  327. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  328.  
  329. break;
  330.  
  331. }
  332.  
  333. if (obj.tagName == 'A' && obj.href != '') {
  334.  
  335. objActive = obj;
  336.  
  337. act = 1;
  338.  
  339. clrOrg = objActive.style.color;
  340.  
  341. TimerID = setInterval("ChangeColor()",100);
  342.  
  343. }
  344.  
  345. }
  346.  
  347. }
  348.  
  349.  
  350.  
  351. function stopRainbowAnchor()
  352.  
  353. {
  354.  
  355. if (act) {
  356.  
  357. if (objActive.tagName == 'A') {
  358.  
  359. objActive.style.color = clrOrg;
  360.  
  361. clearInterval(TimerID);
  362.  
  363. act = 0;
  364.  
  365. }
  366.  
  367. }
  368.  
  369. }
  370.  
  371.  
  372.  
  373. function Mozilla_doRainbowAnchor(e)
  374.  
  375. {
  376.  
  377. if (act == 0) {
  378.  
  379. obj = e.target;
  380.  
  381. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  382.  
  383. obj = obj.parentNode;
  384.  
  385. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  386.  
  387. break;
  388.  
  389. }
  390.  
  391. if (obj.nodeName == 'A' && obj.href != '') {
  392.  
  393. objActive = obj;
  394.  
  395. act = 1;
  396.  
  397. clrOrg = obj.style.color;
  398.  
  399. TimerID = setInterval("ChangeColor()",100);
  400.  
  401. }
  402.  
  403. }
  404.  
  405. }
  406.  
  407.  
  408.  
  409. function Mozilla_stopRainbowAnchor(e)
  410.  
  411. {
  412.  
  413. if (act) {
  414.  
  415. if (objActive.nodeName == 'A') {
  416.  
  417. objActive.style.color = clrOrg;
  418.  
  419. clearInterval(TimerID);
  420.  
  421. act = 0;
  422.  
  423. }
  424.  
  425. }
  426.  
  427. }
  428.  
  429.  
  430.  
  431. function ChangeColor()
  432.  
  433. {
  434.  
  435. objActive.style.color = makeColor();
  436.  
  437. }
  438.  
  439.  
  440.  
  441. function makeColor()
  442.  
  443. {
  444.  
  445. // Don't you think Color Gamut to look like Rainbow?
  446.  
  447. // HSVtoRGB
  448.  
  449. if (elmS == 0) {
  450.  
  451. elmR = elmV; elmG = elmV; elmB = elmV;
  452.  
  453. }
  454.  
  455. else {
  456.  
  457. t1 = elmV;
  458.  
  459. t2 = (255 - elmS) * elmV / 255;
  460.  
  461. t3 = elmH % 60;
  462.  
  463. t3 = (t1 - t2) * t3 / 60;
  464.  
  465. if (elmH < 60) {
  466.  
  467. elmR = t1; elmB = t2; elmG = t2 + t3;
  468.  
  469. }
  470.  
  471. else if (elmH < 120) {
  472.  
  473. elmG = t1; elmB = t2; elmR = t1 - t3;
  474.  
  475. }
  476.  
  477. else if (elmH < 180) {
  478.  
  479. elmG = t1; elmR = t2; elmB = t2 + t3;
  480.  
  481. }
  482.  
  483. else if (elmH < 240) {
  484.  
  485. elmB = t1; elmR = t2; elmG = t1 - t3;
  486.  
  487. }
  488.  
  489. else if (elmH < 300) {
  490.  
  491. elmB = t1; elmG = t2; elmR = t2 + t3;
  492.  
  493. }
  494.  
  495. else if (elmH < 360) {
  496.  
  497. elmR = t1; elmG = t2; elmB = t1 - t3;
  498.  
  499. }
  500.  
  501. else {
  502.  
  503. elmR = 0; elmG = 0; elmB = 0;
  504.  
  505. }
  506.  
  507. }
  508.  
  509. elmR = Math.floor(elmR).toString(16);
  510.  
  511. elmG = Math.floor(elmG).toString(16);
  512.  
  513. elmB = Math.floor(elmB).toString(16);
  514.  
  515. if (elmR.length == 1) elmR = "0" + elmR;
  516.  
  517. if (elmG.length == 1) elmG = "0" + elmG;
  518.  
  519. if (elmB.length == 1) elmB = "0" + elmB
  520.  
  521. elmH = elmH + rate;
  522.  
  523. if (elmH >= 360)
  524.  
  525. elmH = 0;
  526.  
  527. return '#' + elmR + elmG + elmB;
  528.  
  529. }
  530.  
  531. //]]>
  532.  
  533. </script>
  534. {/block:ifrainbowlinks}
  535.  
  536. </head>
  537. <body>
  538.  
  539. <div id="cage">
  540. <div id="center">
  541. <div id="links">click <a href="http://freetexthost.com/0uhsiojhrs"><u>here</u></a> to learn how to customize these links
  542. </div>
  543. <div id="sidebar">
  544. <center>
  545. {block:ifshowblogtitle}<span class=blogtitle><a href="/">
  546. {Title}
  547. </a></span><br>{/block:ifshowblogtitle}
  548. {block:ifshowphoto}<a href="/"><img src="{image:sidebar}" width=190px></a>{/block:ifshowphoto}
  549. {Description}<br>
  550. <big><b><div style="float: left; position: fixed; bottom: 5px; left: 5px; text-transform:lowercase;"><a href="http://www.rev-rse.tumblr.com"><small> © theme</small></a></div></big></b>
  551. {block:ifshowarrows}
  552. <div align="center">
  553. <br>
  554. {block:PreviousPage}<a href="{PreviousPage}" title="newer entries"><img src="http://icons.primail.ch/arrows/right41.gif"></a>{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" title="older entries"><img src="http://icons.primail.ch/arrows/left41.gif"></a>{/block:NextPage}
  555. <br>
  556. </div>
  557.  
  558. {/block:ifshowarrows}
  559. {block:ifinfinitescrolling}{/block:ifinfinitescrolling}
  560. </div>
  561.  
  562.  
  563. <div id="content">
  564. {block:Posts}
  565. <div id="entry">
  566.  
  567. {block:IndexPage}
  568. <div class="perma">
  569. <a href="{permalink}">{NoteCountWithLabel}</a> & <a href="{ReblogURL}" target="_blank">reblog</a></span></div>
  570. {/block:IndexPage}
  571.  
  572. {block:Text}
  573. {block:Title}<span class="title">{Title}</span><br>{/block:Title}
  574. <span class="entrytext">{Body}</span>{/block:Text}
  575.  
  576. {block:Link}
  577. <a href="{URL}" class="title">{Name}</a><br>
  578. {block:Description}{Description}{/block:Description}
  579. {block:Link}
  580.  
  581. {block:Photo}
  582. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=300px/>{LinkCloseTag}
  583. {/block:Photo}
  584.  
  585. {block:Quote}
  586. {Quote}</span>
  587. {block:Source}<strong>{Source}</strong>{/block:Source}
  588. {/block:Quote}
  589.  
  590. {block:Chat}
  591. {block:Title}<span class="title">{Title}</span>{/block:Title}
  592. <ul class="chat">
  593. {block:Lines}
  594. <li class="user_{UserNumber}">
  595. {block:Label}
  596. <span class="label">{Label}</span>
  597. {/block:Label}
  598.  
  599. {Line}
  600. </li>
  601. {/block:Lines}
  602. {/block:Chat}
  603.  
  604.  
  605. {block:Audio}
  606. <center><div style="width:220px; height:28px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:10px; float:right;">
  607. {FormattedPlayCount} plays {block:ExternalAudio}{/block:ExternalAudio}</div></div></center><br>
  608. {/block:Audio}
  609.  
  610. {block:Video}<center>
  611. <div class="video">{Video-400}</div></center>
  612. {block:Video}
  613.  
  614. {block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="{TagURL}"> #{Tag}</a> {/block:Tags}{/block:hasTags}{/block:PermalinkPage}
  615.  
  616. {block:PostNotes}{PostNotes}
  617. {/block:PostNotes}
  618. </div>
  619.  
  620. {/block:Posts}
  621. {block:ifshowarrows}{/block:ifshowarrows}
  622. </center>
  623. </div></div>
  624.  
  625. </div>
  626. </center>
  627.  
  628. </body>
  629.  
  630.  
  631. </html>
Advertisement
Add Comment
Please, Sign In to add comment