Advertisement
kstewlover3

#05 badshaws (blogroll)

Mar 4th, 2014
1,945
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.36 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <!--
  5. theme by badshaws
  6. please don't remove the credits
  7. and don't copy any code
  8. -->
  9.  
  10. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  11.  
  12. <title>{title}</title>
  13. <link rel="shortcut icon" href="{favicon}" />
  14.  
  15. <script type="text/javascript">
  16. function changeNavigation(id) {document.getElementById('liuc').innerHTML=document.getElementById(id).innerHTML}
  17. </script>
  18.  
  19. <link rel="stylesheet" href="http://static.tumblr.com/n66cz1n/Wzrm6wkzk/script.css" media="screen"/>
  20.  
  21. <link rel="stylesheet" href="http://static.tumblr.com/n66cz1n/Wzrm6wkzk/script.css" media="screen"/>
  22.  
  23. <script type="text/javascript">
  24.  
  25. /***********************************************
  26. * Cool DHTML tooltip script II- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  27. * This notice MUST stay intact for legal use
  28. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  29. ***********************************************/
  30.  
  31. var offsetfromcursorX=12 //Customize x offset of tooltip
  32. var offsetfromcursorY=10 //Customize y offset of tooltip
  33.  
  34. var offsetdivfrompointerX=10 //Customize x offset of tooltip DIV relative to pointer image
  35. var offsetdivfrompointerY=14 //Customize y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).
  36.  
  37. document.write('<div id="dhtmltooltip"></div>') //write out tooltip DIV
  38. document.write('<img id="dhtmlpointer" src="">') //write out pointer image
  39.  
  40. var ie=document.all
  41. var ns6=document.getElementById && !document.all
  42. var enabletip=false
  43. if (ie||ns6)
  44. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  45.  
  46. var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""
  47.  
  48. function ietruebody(){
  49. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  50. }
  51.  
  52. function ddrivetip(thetext, thewidth, thecolor){
  53. if (ns6||ie){
  54. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  55. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  56. tipobj.innerHTML=thetext
  57. enabletip=true
  58. return false
  59. }
  60. }
  61.  
  62. function positiontip(e){
  63. if (enabletip){
  64. var nondefaultpos=false
  65. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  66. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  67. //Find out how close the mouse is to the corner of the window
  68. var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
  69. var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20
  70.  
  71. var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
  72. var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY
  73.  
  74. var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
  75.  
  76. //if the horizontal distance isn't enough to accomodate the width of the context menu
  77. if (rightedge<tipobj.offsetWidth){
  78. //move the horizontal position of the menu to the left by it's width
  79. tipobj.style.left=curX-tipobj.offsetWidth+"px"
  80. nondefaultpos=true
  81. }
  82. else if (curX<leftedge)
  83. tipobj.style.left="5px"
  84. else{
  85. //position the horizontal position of the menu where the mouse is positioned
  86. tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
  87. pointerobj.style.left=curX+offsetfromcursorX+"px"
  88. }
  89.  
  90. //same concept with the vertical position
  91. if (bottomedge<tipobj.offsetHeight){
  92. tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
  93. nondefaultpos=true
  94. }
  95. else{
  96. tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
  97. pointerobj.style.top=curY+offsetfromcursorY+"px"
  98. }
  99. tipobj.style.visibility="visible"
  100. if (!nondefaultpos)
  101. pointerobj.style.visibility="visible"
  102. else
  103. pointerobj.style.visibility="hidden"
  104. }
  105. }
  106.  
  107. function hideddrivetip(){
  108. if (ns6||ie){
  109. enabletip=false
  110. tipobj.style.visibility="hidden"
  111. pointerobj.style.visibility="hidden"
  112. tipobj.style.left="-1000px"
  113. tipobj.style.backgroundColor=''
  114. tipobj.style.width=''
  115. }
  116. }
  117.  
  118. document.onmousemove=positiontip</script>
  119.  
  120. </head>
  121. <style>
  122.  
  123. body {background: #fafafa; padding: 4px; font-size: 11px; font-family: arial; color: #b0b0b0; text-align: justify; line-height: 100%;}
  124.  
  125. a {color: #990000; text-decoration: none}
  126. a:hover {color: #7f0000; text-decoration: none}
  127.  
  128. #page {overflow: hidden; width: 600px; margin-right: auto; margin-left: auto; margin-top: -10px; margin-bottom: -25px;}
  129.  
  130. #conteudo {width: 600px; margin-top: 40px; margin-bottom: 6px; float: right; display: block; overflow: hidden}
  131.  
  132. .title {text-align: right; color: #fff; background: #7f0000; display: block; font: normal 14px harabara; text-transform: uppercase; line-height: 12px; margin-bottom: 10px; padding: 13px; padding-left: 30px; margin-left: 49px; width: 460px; margin-top: -55px; overflow: hidden; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; height: 10px;}
  133.  
  134. .title a {margin-left: 20px; color: #fff;}
  135. .title a:hover {border-bottom: 4px solid #fafafa; -webkit-transition: all ease-out 0.1s 0.2s; -moz-transition: all ease-out 0.1s 0.2s; -o-transition: all ease-out 0.1s 0.2s; -ms-transition: all ease-out 0.1s 0.2s; transition: all ease-out 0.1s 0.2s}
  136.  
  137. .title dir {float: right; width: 230px; margin-top: 0px; margin-right: 6px;}
  138. .title esq {float: left; font-size: 16px}
  139.  
  140. .title2 {text-align: left; color: #a4a4a4; font: italic 12px courier new; line-height: 12px; padding: 5px; text-transform: lowercase}
  141.  
  142. .imagec {-webkit-border-radius: 64px; -moz-border-radius: 64px; border-radius: 64px; background: #7f0000; padding: 5px; width: 64px; margin-left: -10px; margin-top: -10px; -webkit-transition: all ease-out 0.1s 0.2s; -moz-transition: all ease-out 0.1s 0.2s; -o-transition: all ease-out 0.1s 0.2s; -ms-transition: all ease-out 0.1s 0.2s; transition: all ease-out 0.1s 0.2s;}
  143.  
  144. .imagec:hover {-webkit-filter: none; -webkit-transition: all ease-out 0.1s 0.2s; -moz-transition: all ease-out 0.1s 0.2s; -o-transition: all ease-out 0.1s 0.2s; -ms-transition: all ease-out 0.1s 0.2s; transition: all ease-out 0.1s 0.2s;}
  145.  
  146. .imageb {border: 3px solid #7f0000; opacity: 0.8; width: 50px; margin: 5px;
  147. -webkit-transition: all ease-out 0.1s 0.2s; -moz-transition: all ease-out 0.1s 0.2s; -o-transition: all ease-out 0.1s 0.2s; -ms-transition: all ease-out 0.1s 0.2s; transition: all ease-out 0.1s 0.2s;}
  148.  
  149. .imageb:hover {opacity: 1.0; -webkit-filter: none; -webkit-transition: all ease-out 0.1s 0.2s; -moz-transition: all ease-out 0.1s 0.2s; -o-transition: all ease-out 0.1s 0.2s; -ms-transition: all ease-out 0.1s 0.2s; transition: all ease-out 0.1s 0.2s;}
  150.  
  151. ::-webkit-scrollbar-thumb:vertical {
  152. background: #fafafa; border: 1px solid #fff;
  153. -webkit-border-top-right-radius: 5px; -moz-border-top-right-radius: 5px; border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;}
  154. ::-webkit-scrollbar-thumb:horizontal {
  155. background-color: #fafafa;}
  156. ::-webkit-scrollbar {
  157. -webkit-border-top-right-radius: 5px; -moz-border-top-right-radius: 5px; border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
  158. width: 10px;
  159. background: #fff;
  160. }
  161.  
  162. /*** CUSTOMIZAÇÃO DAS CAIXAS ***/
  163.  
  164. .caixa {width: 560px; background: #fff; padding: 20px; margin-top: 20px; display: block; font-family: arial; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; height: 479px; overflow-y: scroll; overflow-x: hidden; ;}
  165.  
  166. #dhtmltooltip{
  167. position: absolute;
  168. margin-left: 10px;
  169. padding: 3px;
  170. text-transform: uppercase;
  171. opacity: 0.8;
  172. background: #fcfbfc;
  173. font-family: calibri;
  174. font-size: 11px;
  175. color: #b0b0b0;
  176. z-index: 1000;
  177. text-align:center;
  178. }
  179.  
  180. /*** CUSTOMIZAÇÃO DO B, I, S, U, BLOCKQUOTE ***/
  181.  
  182. b {color: #a4a4a4}
  183. strong {color: #a4a4a4}
  184. i, em {color: #a4a4a4}
  185. s, strike {color: #a4a4a4}
  186. u, underline {color: #a4a4a4; border-bottom: 1px solid #a4a4a4; text-decoration:none;}
  187. uu {border-bottom: 1px solid #a4a4a4; margin-bottom: 2px}
  188. blockquote {border-left: 3px solid #a4a4a4; padding-left: 5px; margin: 10px; max-width: 400px!important;}
  189.  
  190. #linha {width: 600px; height: 1px; background: #fafafa; margin-top: 30px; margin-left: -20px; margin-bottom: 5px;}
  191.  
  192. </style>
  193.  
  194. <body>
  195.  
  196. <div id="page">
  197.  
  198. <div id="conteudo">
  199.  
  200. <div class="caixa">
  201.  
  202. <img src="{PortraitURL-64}" class="imagec">
  203.  
  204. <div class="title">
  205. <esq>YourURL blogroll</esq>
  206. <dir><a href="/" onMouseover="ddrivetip('first page')"; onMouseout="hideddrivetip()">Home</a>
  207. <a href="/ask" onMouseover="ddrivetip('ask me something')"; onMouseout="hideddrivetip()">askbox</a>
  208. <a href="/archive" onMouseover="ddrivetip('visit badshaws!')"; onMouseout="hideddrivetip()">theme</dir>
  209. </div>
  210.  
  211. <div id="linha"></div>
  212.  
  213. {block:Following}{block:Followed}
  214.  
  215. <a target="_blank" href="{FollowedURL}"><img src="{FollowedPortraitURL-64}" class="imageb" onMouseover="ddrivetip('{FollowedName}')"; onMouseout="hideddrivetip()"></a>
  216.  
  217. {/block:Followed}{/block:Following}
  218.  
  219. </div> </div>
  220. </div></div></div>
  221. </div></div></div>
  222. </div></div></div>
  223. </div></div></div>
  224. </div></div></div>
  225. </div></div></div>
  226. </div></div></div>
  227. </div></div></div>
  228.  
  229. </body>
  230. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement