Advertisement
lennonthemes

all in one

May 27th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. <!--all in one theme by lmb themes (bonivur) leave al credit-->
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6.  
  7. <head>
  8.  
  9. <title>{Title}</title>
  10. <link rel="shortcut icon" href="{Favicon}">
  11. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  12.  
  13. <meta name="description" content="" />
  14.  
  15. <meta http-equiv="x-dns-prefetch-control" content="off"/>
  16.  
  17. <link href='http://fonts.googleapis.com/css?family=Old+Standard+TT:400,400italic' rel='stylesheet' type='text/css'>
  18. <link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,400,700' rel='stylesheet' type='text/css'>
  19.  
  20. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  21.  
  22. <style type="text/css">
  23.  
  24. body,div,dl,dt,dd,ol,ul,li,pre,form,fieldset,input,textarea,p,th,td {margin:0;padding:0;}
  25.  
  26. ::-webkit-scrollbar {width: 10px;}
  27. ::-webkit-scrollbar-track {background: #FFF;}
  28. ::-webkit-scrollbar-thumb {background: #000;}
  29.  
  30. ::selection {background: #000; color:#FFF;}
  31. ::-moz-selection {background: #000; color:#FFF;}
  32. ::-webkit-selection {background: #000; color:#FFF;}
  33.  
  34. body {
  35. background: #fff;
  36. font-family: 'Roboto Condensed', Arial, sans-serif;
  37. font-size: 12px;
  38. }
  39.  
  40. a:link, a:active, a:visited {
  41. color: #1C140D;
  42. text-decoration: none;
  43. }
  44.  
  45. a:hover {
  46. color: #CCC;
  47. text-decoration: none;
  48. }
  49.  
  50. b {
  51. color: #CCC;
  52. }
  53.  
  54. p {
  55. margin: 0px 0px 8px;
  56. }
  57.  
  58. #tabs {
  59. width: 460px;
  60. margin: 10px 0px 10px 282px;
  61. list-style: none;
  62. text-align: center;
  63. z-index: 9999;
  64. overflow: hidden;
  65. }
  66.  
  67. #tabs li {
  68. float: left;
  69. margin: 2px 10px;
  70. width: 110px;
  71. padding: 6px 10px;
  72. font-family: 'Old Standard TT', Georgia, serif;
  73. text-transform: lowercase;
  74. font-size: 16px;
  75. letter-spacing: 1px;
  76. background: #000;
  77. text-align: center;
  78. }
  79.  
  80. #tabs a {
  81. font-style: italic;
  82. color: #ffffff;
  83. padding: 10px 25px;
  84. transition: all 0.6s ease;
  85. moz-transition: all 0.6s ease;
  86. -webkit-transition: all 0.6s ease;
  87. }
  88.  
  89. #tabs a:hover {
  90. color: #000000;
  91. background: #ffffff;
  92. }
  93.  
  94. #tabs #current {
  95. z-index: 3;
  96. }
  97.  
  98. #container {
  99. width: 750px;
  100. height: 560px;
  101. position: fixed;
  102. top: 50%;
  103. margin-top: -320px;
  104. left: 50%;
  105. margin-left: -375px;
  106. text-align: center;
  107. }
  108.  
  109. .image {
  110. float: left;
  111. width: 250px;
  112. height: 500px;
  113. background: #fff;
  114. background-image: url('https://sphotos-b.xx.fbcdn.net/hphotos-prn2/960293_260525087427700_1947510982_n.jpg');
  115. background-repeat: no-repeat;
  116. background-position: right;
  117.  
  118. }
  119.  
  120. .profile {
  121. bottom: 10px;
  122. position: absolute;
  123. opacity: 0;
  124. -webkit-transition: all 1s ease-in-out;
  125. -moz-transition: all 1s ease-in-out;
  126. -o-transition: all 1s ease-in-out;
  127. transition: all 1s ease-in-out;
  128. }
  129.  
  130. .profile a {
  131. display: block;
  132. width: 180px;
  133. padding: 5px 10px;
  134. margin: 3px 25px;
  135. font-size: 10px;
  136. text-transform: uppercase;
  137. background: #000;
  138. color: #FAFAFA;
  139. }
  140.  
  141. .image:hover .profile {
  142. opacity: 1;
  143. }
  144.  
  145. #content {
  146. float: right;
  147. width: 410px;
  148. height: 440px;
  149. padding: 30px;
  150. background: #FAFAFA;
  151. text-align: justify;
  152. overflow-y: auto;
  153. position: relative;
  154. }
  155.  
  156. h1 {
  157. margin: 10px 0px;
  158. }
  159.  
  160. .bonivur {
  161. width: 80%;
  162. height: 1px;
  163. margin: 20px auto;
  164. text-align: center;
  165. border-top: 1px solid #1C140D;
  166. border-bottom: 1px solid #1C140D;
  167. position: relative;
  168. }
  169.  
  170. .arvin {
  171. font-family: 'Old Standard TT', sans-serif;
  172. font-size: 16px;
  173. text-align: center;
  174. font-style: italic;
  175. line-height: 115%;
  176. margin: 20px;
  177. }
  178.  
  179. #lb {
  180. position:fixed;
  181. bottom:10px;
  182. right:10px;
  183. font: 14px times;
  184. color: {color:#c9c9c9};
  185. border: 1px solid #e8e8e8;
  186. background-color: #FAFAFA;
  187. letter-spacing:0.5px;
  188. padding: 4px;}
  189.  
  190. #lb a {
  191. color:{color:link}; opacity:0.8;
  192. background-color: #fafafa;}
  193.  
  194. #lb a:hover {
  195. color:{color:link hover}; opacity:0.8;
  196. background-color: #FAFAFA; opacity:0.8;}
  197.  
  198. </style>
  199. </head>
  200.  
  201. <body>
  202.  
  203. <div id="container">
  204.  
  205. <ul id="tabs">
  206. <li><a href="#" name="#tab1">about</a></li>
  207. <li><a href="#" name="#tab2">blogroll</a></li>
  208. <li><a href="#" name="#tab3">more</a></li>
  209. </ul>
  210.  
  211. <div class="image">
  212. <div class="profile">
  213. <a href="/">back</a>
  214. <a href="">link</a>
  215. <a href="">link</a>
  216. <a href="">link</a>
  217. <a href="http://bonivur.tumblr.com/">credit</a>
  218. </div>
  219. </div>
  220.  
  221. <div id="content">
  222.  
  223. <div id="tab1">
  224. <div class="bonivur"></div>
  225. <div class="arvin">about me</div>
  226. <div class="bonivur"></div>
  227. write about your self here make as long ask you want it has scroll!
  228. </div>
  229.  
  230. <div id="tab2">
  231. {block:Following}
  232. <table id="blogroll" cellspacing="0px" cellpadding="0px">
  233. <tr><td class="spacer"></td></tr>
  234. <tr><td><div id="follow"><div>
  235. {block:Followed}<a href="{FollowedURL}" title="{FollowedName}"><img class="blog" src="{FollowedPortraitURL-64}"/></a>{/block:Followed}
  236. </div></div></td></tr>
  237. </table>
  238. {/block:Following}
  239. </div>
  240.  
  241. <div id="tab3">
  242. put crap here ok i dont care what just whatever you feel! leave all theme credit or else :p
  243. <div class="bonivur"></div>
  244. wright more, even put links <a href="url">link</a>
  245. </div>
  246.  
  247. </div>
  248. </div>
  249.  
  250.  
  251.  
  252. <script>
  253. function resetTabs(){
  254. $("#content > div").hide(); //Hide all content
  255. $("#tabs a").attr("id",""); //Reset id's
  256. }
  257.  
  258. var myUrl = window.location.href; //get URL
  259. var myUrlTab = myUrl.substring(myUrl.indexOf("#")); // For localhost/tabs.html#tab2, myUrlTab = #tab2
  260. var myUrlTabName = myUrlTab.substring(0,4); // For the above example, myUrlTabName = #tab
  261.  
  262. (function(){
  263. $("#content > div").hide(); // Initially hide all content
  264. $("#tabs li:first a").attr("id","current"); // Activate first tab
  265. $("#content > div:first").fadeIn(); // Show first tab content
  266.  
  267. $("#tabs a").on("click",function(e) {
  268. e.preventDefault();
  269. if ($(this).attr("id") == "current"){ //detection for current tab
  270. return
  271. }
  272. else{
  273. resetTabs();
  274. $(this).attr("id","current"); // Activate this
  275. $($(this).attr('name')).fadeIn(); // Show content for current tab
  276. }
  277. });
  278.  
  279. for (i = 1; i <= $("#tabs li").length; i++) {
  280. if (myUrlTab == myUrlTabName + i) {
  281. resetTabs();
  282. $("a[name='"+myUrlTab+"']").attr("id","current"); // Activate url tab
  283. $(myUrlTab).fadeIn(); // Show url tab content
  284. }
  285. }
  286. })()
  287. </script>
  288.  
  289. </body>
  290. <div id="lb">
  291. <a title=credit a href="http://bonivur.tumblr.com">ℒℳℬ</a>
  292. </div>
  293. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement