Advertisement
basilone

Theme 2

Oct 2nd, 2012
2,524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.88 KB | None | 0 0
  1. <!---
  2.  
  3. theme by mcpoyles
  4.  
  5. ---!>
  6.  
  7. <style>
  8. .my-like {
  9. background-image: url("http://media.tumblr.com/tumblr_m488ldoFtz1r62h7q.png") !important;
  10. height:13px;
  11. width:13px;
  12. cursor:pointer;
  13. display:inline-block;
  14. vertical-align:top;
  15. }
  16. .my-liked, .my-like:hover {
  17. background-image: url("http://media.tumblr.com/tumblr_m488lithCo1r62h7q.png") !important;
  18. height:13px;
  19. width:13px;
  20. cursor:pointer;
  21. display:inline-block;
  22. vertical-align:top;
  23. }
  24. </style>
  25. <script>
  26. window.onload = function () {
  27. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  28. document.addEventListener( 'click', function ( event ) {
  29. var myLike = event.target;
  30. if( myLike.className.indexOf( 'my-like' ) > -1 ) {
  31. var frame = document.getElementById( 'my-like-frame' ),
  32. liked = ( myLike.className == 'my-liked' ),
  33. command = liked ? 'unlike' : 'like',
  34. reblog = myLike.getAttribute( 'data-reblog' ),
  35. id = myLike.getAttribute( 'data-id' ),
  36. oauth = reblog.slice( -8 );
  37. frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
  38. liked ? myLike.className = 'my-like' : myLike.className = 'my-liked';
  39. };
  40. }, false );
  41. };
  42. </script>
  43. <html>
  44. <head>
  45.  
  46. <!-- DEFAULT VARIABLES -->
  47. <meta name="color:background" content="#ffffff" />
  48. <meta name="color:sidebar" content="#ffffff" />
  49. <meta name="color:entry" content="#ffffff" />
  50.  
  51. <meta name="font:title" content="arial" />
  52. <meta name="font:body" content="arial" />
  53. <meta name="font:tags" content="arial" />
  54. <meta name="font:post title" content="arial" />
  55.  
  56. <meta name="color:body" content="#888888" />
  57. <meta name="color:link" content="#A0A0A0" />
  58. <meta name="color:hover" content="#666666" />
  59. <meta name="color:title" content="#666666" />
  60. <meta name="color:post title" content="#666666" />
  61.  
  62. <meta name="image:sidebar" content=""/>
  63. <meta name="image:background" content=""/>
  64.  
  65. <meta name="text:Sidebar Link 1" content=""/>
  66. <meta name="text:Sidebar Link Url 1" content=""/>
  67. <meta name="text:Sidebar Link 2" content=""/>
  68. <meta name="text:Sidebar Link Url 2" content=""/>
  69. <meta name="text:Sidebar Link 3" content=""/>
  70. <meta name="text:Sidebar Link Url 3" content=""/>
  71. <meta name="text:Sidebar Link 4" content=""/>
  72. <meta name="text:Sidebar Link Url 4" content=""/>
  73.  
  74. <title>{Title}</title>
  75. <link rel="shortcut icon" href="{Favicon}">
  76. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  77. {block:Description}
  78. <meta name="description" content="{MetaDescription}" />
  79. {/block:Description}
  80. </head>
  81.  
  82. <style type="text/css">
  83.  
  84. body { text-align:left;background-color:{color:background};font-family:{font:body};font-size:11px;}
  85.  
  86. b {color:#333333;}
  87.  
  88. a {text-decoration: none; color:{color:link};text-decoration:none;}
  89. a:hover {color: {color:hover};text-decoration:none;}
  90.  
  91. #header { border-bottom:0px solid #dddddd; width:99%; float:center;; }
  92. #headers {height:30px; top:0px; width:80%; position:absolute; margin:0px; z-index:2; }
  93.  
  94. #container {position:relative;top:10px; width:760px; }
  95. #content { padding:10px;margin-bottom: 55px; float:right; text-align:left; width:520px; }
  96. #sidebar { padding:10px; width:200px; float:left; position:fixed;background-color:{color:sidebar}; top:50px; text-align:left;}
  97. #footer { padding:10px; }
  98. #pagination {width:250px; word-spacing:20px; text-align:center;}
  99.  
  100. .date { text-align:center;width:60px;color:#ffffff;position:absolute;float:left;margin-left:-80px; height:60px; }
  101. .month {font-size:30px;padding:0px;}
  102. .icon {text-align:center;width:30px;color:#ffffff;position:absolute;float:right;margin-left:520px;}
  103.  
  104. h3 { text-transform:uppercase; }
  105.  
  106. .entry { background-color:{color:entry}; padding:10px; font-family:{font:body}; margin:0;overflow: visible;}
  107. .entrytop {background-color:#25272d; padding:5px;height:15px;border-top-left-radius: 10px;border-top-right-radius: 10px;}
  108. p {margin: 0.6em 0 0;}
  109. .post ul, .post ol {padding: 0 0 0 18px; margin: 0.5em 0;}
  110. img {margin: 0px; padding: 0px; border: 0;}
  111. blockquote {margin: 0.5em 0; padding: 0 0 0 9px; border-left: 1px solid {color:Text};}
  112. .audio blockquote, .quote blockquote {padding: 0; border: 0;}
  113. blockquote img {width: auto;}
  114.  
  115. .label { padding:5px; }
  116. .title { border-bottom:1px solid #dddddd; padding:10px; font-family:{font:post title};color:{color:title}; }
  117. .title2 {text-transform:uppercase; font-size:20px;color:#000000; text-align:left; }
  118. .tags { padding:10px; margin-bottom:10px; }
  119. .barb { background-color:#f3f3f3; padding:5px; }
  120.  
  121. .caption {padding: 8px 0 0;} .caption p {margin: 0.4em 0 0;}
  122.  
  123. #pagination {width:200px; word-spacing:20px; text-align:center;}
  124. p.question {margin: 0; font-size: 11px; line-height: 14px; letter-spacing: 0px; font-family: {font:Serif};}
  125.  
  126. #question {padding:10px;background-color: #f2f2f2;position: relative;border: 4px solid #f2f2f2;}
  127. #question:after, #demo:before {border: solid transparent;content: ' ';height: 0;left: 100%;position: absolute;width: 0;}
  128. #question:after {border-width: 9px;border-left-color: #f2f2f2;top: 15px;}
  129. #question:before {border-width: 14px;border-left-color: #f2f2f2;top: 10px;}
  130.  
  131. ol {
  132. list-style-type: none;
  133. margin: 0 0 1.5em 2.5em; }
  134.  
  135. ol.notes li {
  136. width: 420px;
  137. padding: 5px 0;
  138. margin: 0 0 3px -28px;
  139. border-bottom: 1px solid #f5f5f5; }
  140.  
  141. ol.notes li:hover {
  142. border-bottom: 1px solid #f5f5f5; }
  143.  
  144. ol.notes li img {
  145. width:16px;
  146. padding-right: 10px;
  147. margin-bottom: -5px;
  148. opacity: 0.85;
  149. filter:alpha(opacity=85); }
  150.  
  151. ol.notes li img:hover {
  152. opacity: 1;
  153. filter:alpha(opacity=100); }
  154.  
  155. .audio {
  156. height:60px;
  157. padding:5px;
  158. margin-bottom:5px; }
  159.  
  160. .audio-album {
  161. position:absolute;
  162. width:60px; }
  163.  
  164. .audio-player {
  165. opacity:0.6;
  166. filter:alpha(opacity=60);
  167. border:2px solid #f2f2f2;
  168. width:25px;
  169. height:25px;
  170. overflow:hidden;
  171. position:absolute;
  172. z-index:2;
  173. margin-left:15px;
  174. margin-top:15px; }
  175.  
  176. .audio-info {
  177. margin-top:-10px;
  178. position:relative;
  179. margin-left:70px;
  180. padding:5px; }
  181.  
  182. .quote {
  183. color: #333;
  184. display: block;
  185. background: url(http://static.tumblr.com/cc4ocei/Y5Mkzk5s7/quote.png) no-repeat 0 10px;
  186. font-style: italic;
  187. padding: 16px 18px 10px 32px;}
  188.  
  189. .quote .medium {
  190. font-size: 15px;
  191. line-height: 1.4;
  192. font-family:HelveticaNeue-CondensedBold;}
  193.  
  194. .link-link a {
  195. padding:10px;
  196. margin: 4px 11px 12px 0;
  197. font-size: 15px;
  198. font-family: sans-serif;
  199. font-weight: bold;
  200. color: #666666;
  201. line-height: 1.3; }
  202.  
  203. .user_1, .user_3, .user_5, .user_7,
  204. .user_7 , .user_9 .user_11 {
  205. background-color:#f2f2f2;
  206. margin-right:25px;
  207. color:{color:body};}
  208.  
  209. .user_2, .user_4, .user_6, .user_8,
  210. .user_10, .user_12 {
  211. background-color:{color:entry};
  212. color:{color:body};
  213. margin-right:25px;}
  214.  
  215. ul.chat, .chat ol, .chat li {
  216. list-style:none;
  217. margin:0px;
  218. padding:5px;}
  219.  
  220.  
  221. {CustomCSS}
  222. </style>
  223.  
  224.  
  225. <body>
  226.  
  227. <center> <div id="headers"> </div>
  228. <div id="header">
  229.  
  230. </div>
  231.  
  232. <div id="container">
  233. <div id="sidebar">
  234.  
  235. <a href="/"><img src="{image:sidebar}" width=190> </a><BR><BR>
  236. <big><a style="color:#000000;" href="/"><i>{Title}</i></a></font></big>
  237. <BR> <BR>
  238.  
  239. {block:Description} {Description} {/block:Description}
  240. <BR> <BR>
  241.  
  242. <div class="barb" style="background-color:#f3f3f3;padding:5px;text-align:center;"><small>
  243. <a href="{text:Sidebar Link Url 1}">{text:Sidebar Link 1}</a> &nbsp;&nbsp;
  244. <a href="{text:Sidebar Link Url 2}">{text:Sidebar Link 2}</a> &nbsp;&nbsp;
  245. <a href="{text:Sidebar Link Url 3}">{text:Sidebar Link 3}</a> &nbsp;&nbsp;
  246. <a href="{text:Sidebar Link Url 4}">{text:Sidebar Link 4}</a></smalL>
  247. </div>
  248.  
  249. <div style="border-bottom:1px solid #dddddd;padding:10px;">
  250. <a href="/archive">Home</a><BR> </div>
  251. <div style="border-bottom:1px solid #dddddd;padding:10px;">
  252. <a href="/ask">Message</a><BR> </div>
  253. <BR>
  254.  
  255.  
  256. <div id=pagination>{block:Pagination}
  257. {block:PreviousPage}
  258. <a href="{PreviousPage}">&larr;</a>
  259. {/block:PreviousPage}
  260.  
  261. {block:JumpPagination length="5"}
  262. {block:CurrentPage}
  263. <span class="current_page">{PageNumber}</span>
  264. {/block:CurrentPage}
  265.  
  266. {block:JumpPage}
  267. <a class="jump_page" href="{URL}">{PageNumber}</a>
  268. {/block:JumpPage}
  269. {/block:JumpPagination}
  270.  
  271. {block:NextPage}
  272. <a href="{NextPage}">&rarr;</a>
  273. {/block:NextPage}
  274. {/block:Pagination}</div>
  275.  
  276. </div>
  277.  
  278. <div id="content">
  279.  
  280. {block:Posts}
  281.  
  282. <div class="icon" float="left"><BR>
  283. <div class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}"></div> <BR>
  284. <a id="{PostID}" href="{Permalink}" onclick ="GETReblogLink('{PostID}');"> <a href="{ReblogURL}"><img src="http://media.tumblr.com/tumblr_m488lm0np41r62h7q.png"> </a> <BR> {block:NoteCount} <a href="{Permalink}">{NoteCount}</a>{/block:NoteCount}
  285. </div>
  286.  
  287.  
  288. <div class="entry">
  289.  
  290. {block:Text}
  291.  
  292. {block:Title}
  293. <big<a href="{Permalink}">{Title}</a></big>
  294. {/block:Title}
  295. {Body}
  296. {/block:Text}
  297.  
  298. {block:Photo}
  299.  
  300. <img src="{PhotoURL-500}" /></td>
  301.  
  302. {block:Caption}
  303. <div class="caption">{Caption}</div>
  304. {/block:Caption}
  305.  
  306. {/block:Photo}
  307.  
  308. {block:Photoset}
  309.  
  310. {Photoset-500}
  311.  
  312. {block:Caption}
  313. <div class="caption">{Caption}</div>
  314. {/block:Caption}
  315.  
  316. {/block:Photoset}
  317.  
  318. {block:Quote}
  319. <div class="quote"><div class="medium">
  320. <i><big>{Quote}</big></i></div></div>
  321. {block:Source} {Source}{/block:Source}<BR>
  322. {/block:Quote}
  323.  
  324. {block:Link}
  325.  
  326. <BIG><a href="{URL}" class="link" {Target}>{Name}</a></big>
  327.  
  328. {block:Description}
  329. <div class="description">{Description}</div>
  330. {/block:Description}
  331.  
  332. {/block:Link}
  333.  
  334. {block:Chat}
  335. <ul class="chat">{block:Lines}<li class="user_{UserNumber}">
  336. {block:Label}<span class="label">{Label}</span>{/block:Label}
  337. {Line}</li>{/block:Lines}</ul>
  338. {/block:Chat}
  339.  
  340. {block:Video}
  341.  
  342. {Video-500}
  343.  
  344. {block:Caption}
  345. <div class="caption">{Caption}</div>
  346. {/block:Caption}
  347.  
  348. {/block:Video}
  349.  
  350. {block:Audio}
  351. <div class="audio">
  352. {block:AlbumArt}<img class="audio-album" src="{AlbumArtURL}">{/block:AlbumArt}
  353. <div class="audio-player">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div>
  354.  
  355. <div class="audio-info">
  356. {block:TrackName}<b>Title:</b> {TrackName}<BR>{/block:TrackName}
  357. {block:Artist}<b>Artist:</b> {Artist}<BR>{/block:Artist}
  358. {block:Album}<b>Album:</b> {Album}<BR>{/block:Album}
  359. {block:PlayCount}<b>Plays:</b> {PlayCount}<BR>{/block:PlayCount}
  360. </div></div>
  361. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  362. {/block:Audio}
  363.  
  364. {block:Answer}
  365. <img align="right" src="{AskerPortraitURL-40}"> <div id="question" style="width:420px;">{Asker}:<BR>{Question}</div> <BR>
  366. {Answer}{/block:Answer}
  367.  
  368. <BR> <div style="padding:10px;border-top:1px solid #dddddd;">
  369. {block:HasTags} {block:Tags} # <a href="{TagURL}">{Tag}</a> &nbsp;&nbsp; {/block:Tags} {/block:HasTags}
  370. </div>
  371.  
  372. {block:PostNotes}
  373. <div>{PostNotes}</div>
  374. {/block:PostNotes}
  375. </div>
  376.  
  377. {/block:Posts}
  378.  
  379. <div style="border-top:1 solid #dddddd; padding:10px;">
  380. <div style="float:left;"><a href="http://mcpoyles.tumblr.com">&copy;</a></div>
  381. <div style="float:right;">{block:Pagination}
  382. {block:NextPage}<a href="{NextPage}">Previous</a> {/block:NextPage} {block:PreviousPage}/ <a href="{PreviousPage}">Recent</a>{/block:PreviousPage}
  383. {/block:Pagination}</div>
  384.  
  385.  
  386. </div>
  387. </div></center>
  388.  
  389. </body>
  390. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement