Advertisement
Cliffedgeoftheworld

Theme Alyssa

Apr 14th, 2013
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.50 KB | None | 0 0
  1. <!--
  2.  
  3. Theme Alyssa
  4. Created by Cliffedgeoftheworld (cliffedgeoftheworld.tumblr.com)
  5. Please do not delete the credit link and do not delete this box.
  6.  
  7. Theme is best viewed on Google Chrome, with a resolution of 1280x800.
  8.  
  9. *~*~HOW TO INSTALL~*~*
  10. 1) Copy this entire code.
  11. 2) Open up the customise.
  12. 3) Click on Edit HTML
  13. 4) Delete the code already in there.
  14. 5) Replace it with this code.
  15. 6) Hit Update Preview, and then Save.
  16. 7) Refresh the page, and press Save again.
  17. 8) If it wont let you paste in the box, or if it still does not work, use classic customize. (http://tumblr.com/customize-classic/)
  18.  
  19. If you are experiencing any problems with this theme, please message me. (http://cliffedgeoftheworld.tumblr.com/ask)
  20. Thank you for using my theme ilyyyy<3!
  21.  
  22. -->
  23.  
  24. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  25.  
  26. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  27.  
  28. <head>
  29.  
  30. <title>{Title}</title>
  31. <link rel="shortcut icon" href="{Favicon}">
  32. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  33.  
  34. <meta name="text:Title Margin" content="40px" />
  35. <meta name="text:Sidebar Width" content="250px" />
  36. <meta name="text:Ask Link" content="idk" />
  37. <meta name="text:Extra" content="eekd" />
  38. <meta name="text:Extra Title" content="updates" />
  39. <meta name="if:sidepic" content="0" />
  40. <meta name="if:rainbowlinks" content="0" />
  41. <meta name="if:border" content="0">
  42. <meta name="font:title" content="Trebuchet MS" />
  43. <meta name="font:body" content="Trebuchet MS" />
  44. <meta name="font:description" content="Trebuchet MS" />
  45. <meta name="color:background" content="#f0f8fc" />
  46. <meta name="color:linkz" content="#ffffff" />
  47. <meta name="color:post" content="#e3eff5" />
  48. <meta name="color:sidebar" content="#e3eff5" />
  49. <meta name="color:description" content="#6783a2" />
  50. <meta name="color:text" content="#6783a2" />
  51. <meta name="color:scrollbar" content="#6783a2" />
  52. <meta name="color:question" content="#6783a2" />
  53. <meta name="image:sidebar img" content="" />
  54. <meta name="image:background" content="" />
  55. <meta name="image:sidepic2" content="" />
  56. <meta name="if:Extratab" content="1" />
  57. <meta name="if:CustomLink5" content="0">
  58. <meta name="if:CustomLink1" content="0">
  59. <meta name="if:CustomLink2" content="0">
  60. <meta name="if:CustomLink3" content="0">
  61. <meta name="if:CustomLink4" content="0">
  62. <meta name="if:CustomLink5" content="0">
  63. <meta name="text:Link 1 Title" content="custom link">
  64. <meta name="text:Link 1" content="http://">
  65. <meta name="text:Link 2 Title" content="custom link">
  66. <meta name="text:Link 2" content="http://">
  67. <meta name="text:Link 3 Title" content="custom link">
  68. <meta name="text:Link 3" content="http://">
  69. <meta name="text:Link 4 Title" content="custom link">
  70. <meta name="text:Link 4" content="http://">
  71. <meta name="text:Link 5 Title" content="custom link">
  72. <meta name="text:Link 5" content="http://">
  73. <style type="text/css">
  74. ::-webkit-scrollbar {width: 9px; height: 3px; background: #FFFFFF;}
  75.  
  76. ::-webkit-scrollbar-thumb {background-color:{color:scrollbar} ; }
  77. * {
  78. font-family: {font:body};
  79. {block:ifanimation}
  80. -webkit-transition: all 0.3s ease;
  81. -moz-transition: all 0.3s ease;
  82. transition: all 0.3s ease;
  83. -o-transition: all 0.3s ease;
  84. {/block:ifanimation}
  85. }
  86. body {
  87. background: {color:background};
  88. background-image: url('{image:background}');
  89. margin: 0;
  90. padding: 0;
  91. font-family: {font:Body};
  92. background-attachment:fixed;
  93. }
  94.  
  95. a{text-decoration:none; color:{color:linkz}}
  96. #title {
  97. font-family:{font:title};
  98. color:{color:text};
  99. font-size:18px;
  100. font-style:bold;
  101. text-align:center;
  102. text-decoration:none;
  103. margin-top:{text:Title Margin};
  104. }
  105.  
  106. #hover{
  107. color:{color:linkz}
  108. }
  109. #sidebar {
  110. position:fixed;
  111. margin-left:900px;
  112. width:{text:sidebar width};
  113. height:100%;
  114. padding:5px;
  115. background-color:{color:sidebar};
  116. background-image: url('{image:sidepic2}');
  117. background-position: center;
  118.  
  119.  
  120. }
  121.  
  122. {block:ifsidepic}
  123. #sidebarpic img {
  124.  
  125. margin-bottom:20px;
  126. max-width:250px;
  127. height:auto;
  128. text-align:center;
  129. }
  130. {/block:ifsidepic}
  131. #description {
  132. margin-top:2px;
  133. width: 250px;
  134. font-size:11px;
  135. text-align:justify;
  136. color:{color:description};
  137. font-family:{font:description};
  138. }
  139.  
  140. #entry {
  141. font-size:20px;
  142. margin-left: 290px;
  143. margin-top:10px;
  144. float: left;
  145. text-align: justify;
  146. }
  147.  
  148. #post {
  149. font-size:10px;
  150. padding: 5px;
  151. width: 500px;
  152. background-color:{color:post};
  153. color:{color:text};
  154. text-align: justify;
  155. {block:ifborder}border: 4px double #000000;{/block:ifborder}
  156. }
  157. #eeps {
  158. font-size:13px;
  159. background-color:{color:question};
  160. }
  161.  
  162. {CustomCSS}
  163. {block:IfExtratab}
  164. #updates {
  165. text-align: center;
  166. font-size: 11px;
  167. position:fixed;
  168. left:5px;
  169. top:-155px;
  170. -webkit-transition: all .5s ease-in-out;
  171. -moz-transition: all .5s ease-in-out;
  172. -o-transition: all .5s ease-in-out;
  173. z-index:999;
  174. }
  175.  
  176. #updates:hover {top:0px;}
  177.  
  178. #update {
  179. border-right-style:solid;
  180. border-bottom-style:solid;
  181. border-left-style:solid;
  182. border-width:1px;
  183. border-color:#E0E0E0;
  184. padding: 5px 0 5px 0;
  185. background: #fff;
  186. width:115px;
  187. height:145px;
  188. border-bottom-right-radius: 4px;
  189. -moz-border-radius-bottomright: 4px;
  190. -webkit-border-bottom-right-radius: 4px;
  191. z-index: 9999;
  192. }
  193.  
  194. #updatestab {
  195. border-top-style:none;
  196. border-right-style:solid;
  197. border-bottom-style:solid;
  198. border-left-style:solid;
  199. border-width:1px;
  200. border-color:#E0E0E0;
  201. text-align: center;
  202. height:8px;
  203. padding: 2px 0 8px 0;
  204. background:#fff;
  205. border-bottom-left-radius: 4px;
  206. -moz-border-radius-bottomleft: 4px;
  207. -webkit-border-bottom-left-radius: 4px;
  208. border-bottom-right-radius: 4px;
  209. -moz-border-radius-bottomright: 4px;
  210. -webkit-border-bottom-right-radius: 4px;
  211. width: 60px;
  212. }
  213. {/block:IfExtratab}
  214. </style>
  215. {block:ifrainbowlinks}
  216. <script type='text/javascript'>
  217. //<![CDATA[
  218. var rate = 50;
  219. if (document.getElementById)
  220. window.onerror=new Function("return true")
  221.  
  222. var objActive; // The object which event occured in
  223. var act = 0; // Flag during the action
  224. var elmH = 0; // Hue
  225. var elmS = 128; // Saturation
  226. var elmV = 255; // Value
  227. var clrOrg; // A color before the change
  228. var TimerID; // Timer ID
  229. if (document.all) {
  230. document.onmouseover = doRainbowAnchor;
  231. document.onmouseout = stopRainbowAnchor;
  232. }
  233. else if (document.getElementById) {
  234. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  235. document.onmouseover = Mozilla_doRainbowAnchor;
  236. document.onmouseout = Mozilla_stopRainbowAnchor;
  237. }
  238. function doRainbow(obj)
  239. {
  240. if (act == 0) {
  241. act = 1;
  242. if (obj)
  243. objActive = obj;
  244. else
  245. objActive = event.srcElement;
  246. clrOrg = objActive.style.color;
  247. TimerID = setInterval("ChangeColor()",100);
  248. }
  249. }
  250. function stopRainbow()
  251. {
  252. if (act) {
  253. objActive.style.color = clrOrg;
  254. clearInterval(TimerID);
  255. act = 0;
  256. }
  257. }
  258. function doRainbowAnchor()
  259. {
  260. if (act == 0) {
  261. var obj = event.srcElement;
  262. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  263. obj = obj.parentElement;
  264. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  265. break;
  266. }
  267. if (obj.tagName == 'A' && obj.href != '') {
  268. objActive = obj;
  269. act = 1;
  270. clrOrg = objActive.style.color;
  271. TimerID = setInterval("ChangeColor()",100);
  272. }
  273. }
  274. }
  275. function stopRainbowAnchor()
  276. {
  277. if (act) {
  278. if (objActive.tagName == 'A') {
  279. objActive.style.color = clrOrg;
  280. clearInterval(TimerID);
  281. act = 0;
  282. }
  283. }
  284. }
  285. function Mozilla_doRainbowAnchor(e)
  286. {
  287. if (act == 0) {
  288. obj = e.target;
  289. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  290. obj = obj.parentNode;
  291. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  292. break;
  293. }
  294. if (obj.nodeName == 'A' && obj.href != '') {
  295. objActive = obj;
  296. act = 1;
  297. clrOrg = obj.style.color;
  298. TimerID = setInterval("ChangeColor()",100);
  299. }
  300. }
  301. }
  302. function Mozilla_stopRainbowAnchor(e)
  303. {
  304. if (act) {
  305. if (objActive.nodeName == 'A') {
  306. objActive.style.color = clrOrg;
  307. clearInterval(TimerID);
  308. act = 0;
  309. }
  310. }
  311. }
  312. function ChangeColor()
  313. {
  314. objActive.style.color = makeColor();
  315. }
  316. function makeColor()
  317. {
  318. // Don't you think Color Gamut to look like Rainbow?
  319. // HSVtoRGB
  320. if (elmS == 0) {
  321. elmR = elmV; elmG = elmV; elmB = elmV;
  322. }
  323. else {
  324. t1 = elmV;
  325. t2 = (255 - elmS) * elmV / 255;
  326. t3 = elmH % 60;
  327. t3 = (t1 - t2) * t3 / 60;
  328. if (elmH < 60) {
  329. elmR = t1; elmB = t2; elmG = t2 + t3;
  330. }
  331. else if (elmH < 120) {
  332. elmG = t1; elmB = t2; elmR = t1 - t3;
  333. }
  334. else if (elmH < 180) {
  335. elmG = t1; elmR = t2; elmB = t2 + t3;
  336. }
  337. else if (elmH < 240) {
  338. elmB = t1; elmR = t2; elmG = t1 - t3;
  339. }
  340. else if (elmH < 300) {
  341. elmB = t1; elmG = t2; elmR = t2 + t3;
  342. }
  343. else if (elmH < 360) {
  344. elmR = t1; elmG = t2; elmB = t1 - t3;
  345. }
  346. else {
  347. elmR = 0; elmG = 0; elmB = 0;
  348. }
  349. }
  350. elmR = Math.floor(elmR).toString(16);
  351. elmG = Math.floor(elmG).toString(16);
  352. elmB = Math.floor(elmB).toString(16);
  353. if (elmR.length == 1) elmR = "0" + elmR;
  354. if (elmG.length == 1) elmG = "0" + elmG;
  355. if (elmB.length == 1) elmB = "0" + elmB
  356. elmH = elmH + rate;
  357. if (elmH >= 360)
  358. elmH = 0;
  359. return '#' + elmR + elmG + elmB;
  360. }
  361. //]]>
  362. </script>
  363. {/block:ifrainbowlinks}
  364. </head>
  365.  
  366. <body>
  367. {block:IfExtratab}
  368. <div id="updates">
  369. <div id="update">
  370.  
  371. <center>{text:Extra}</center>
  372.  
  373. </center></div>
  374. <div id="updatestab">{text:Extra Title}</div>
  375. </div>
  376. {/block:IfExtratab}
  377. <div id="sidebar">
  378. <center>
  379. <div id="title"><a href="/">{Title}</a></div></center>
  380. {block:ifsidepic}<div id="sidebarpic"><a href="/"><img src="{image:sidebar img}"/></a></div>{/block:ifsidepic}
  381. <div id="description">{block:Description}<center>{Description}</center>{/block:Description}</div>
  382. <br>
  383. <center>
  384. <small>
  385. <a href="/">home</a>
  386. <p><a href="/ask">{text:Ask Link}</a></p>
  387. {block:IfCustomLink1}
  388. <p><a href="{text:Link 1}">{text:Link 1 Title}</a></p>
  389. {/block:IfCustomLink1}
  390. {block:IfCustomLink2}
  391. <a href="{text:Link 2}">{text:Link 2 Title}</a>
  392. {/block:IfCustomLink2}
  393. {block:IfCustomLink3}
  394. <p><a href="{text:Link 3}">{text:Link 3 Title}</a></p>
  395. {/block:IfCustomLink3}
  396. {block:IfCustomLink4}
  397. <a href="{text:Link 4}">{text:Link 4 Title}</a>
  398. {/block:IfCustomLink4}
  399. {block:IfCustomLink5}
  400. <p><a href="{text:Link 5}">{text:Link 5 Title}</a></p>
  401. {/block:IfCustomLink5} {block:HasPages}
  402. {block:Pages}
  403. <p><a href="{URL}">{Label}</a></p>
  404. {/block:Pages}
  405. {/block:HasPages}
  406. <a href="http://modernise.us">theme</a><br>
  407. </small>
  408. </center>
  409. <br></br>
  410. <center>
  411. </div>
  412.  
  413.  
  414. <div id="entry">
  415. {block:Posts}
  416. <div id="post">
  417.  
  418. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  419.  
  420. {block:Quote}<h2>“{Quote}” — {Source}</h2>{/block:Quote}
  421.  
  422. {block:Link}<div id="links"><a href="{URL}" class="link" {Target}> <h2>{Name}</h2></a></div>
  423. {block:Description}<P>{Description}</p>{/block:Description}{/block:Link}
  424.  
  425. {block:Photo}<center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  426. {block:Photoset}<center>{Photoset-500}</center>{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  427.  
  428. {block:Chat}{block:Title}<t>{Title}</t><br>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  429. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  430.  
  431. {block:Answer}
  432. <div id="eeps">
  433. <div class="question">
  434. <b>{Asker}</b> asked:<br>
  435. {Question}</div></div>{Answer}
  436. {/block:Answer}
  437.  
  438.  
  439.  
  440. {block:Audio}<span class="audio"><center>{AudioPlayerBlack}</center></span>{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  441.  
  442. <div id="info">posted <a href="{Permalink}">{TimeAgo}</a>{/block:Date}{block:NoteCount} • <a href="{Permalink}">{NoteCount}</a> notes{/block:NoteCount}{block:RebloggedFrom} (<a href="{ReblogParentURL}">{ReblogParentName}</a>
  443. {block:ContentSource} source <a href="{SourceURL}">{SourceLink}</a>){block:ContentSource}{/block:RebloggedFrom}<br>
  444. {block:IfTags}{block:HasTags}{block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}{/block:IfTags}</div></div><br>
  445.  
  446. {/block:Posts}
  447.  
  448. {block:PostNotes}{PostNotes}{/block:PostNotes}
  449. {block:PreviousPage}<a href="{PreviousPage}"><font-size="10">Newer</font></a>{/block:PreviousPage} {block:NextPage} <a href="{NextPage}"><font-size="10">Older</font></a>{/block:NextPage}
  450. </center>
  451. </div>
  452. <div style="bottom:5px;right:5px;display:block;position:fixed;font-size:15px;"><a href="http://cliffedgeoftheworld.tumblr.com">CREDIT</a></div>
  453. </body>
  454.  
  455. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement