Advertisement
Guest User

test for stackoverflow

a guest
Jul 4th, 2013
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.47 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4.  
  5. <!--
  6.  
  7. 'THEMENAME' crafted by Daniel.
  8. • dsherv.tumblr.com
  9.  
  10. It utilizes PixelUnion's Extended Photosets
  11. and Entypo's Icon Fonts extension.
  12.  
  13. You May NOT:
  14. Use this theme as a base for yours.
  15. Modify this theme, and reupload it ANYWHERE.
  16. Modify this theme, claiming it as your own.
  17.  
  18. To cut down on server time,
  19. this themes CSS is hosted externally by tumblr.
  20.  
  21. -->
  22.  
  23. <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1"/>
  24.  
  25. <meta name="text:Google Analytics ID" content="">
  26.  
  27. <link rel="shortcut icon" href="{Favicon}">
  28. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  29.  
  30. <title>{Title}</title>
  31.  
  32. {block:Description}
  33. <meta name="description" content="{MetaDescription}" />
  34. {/block:Description}
  35.  
  36. <style type="text/css">
  37.  
  38. /* Default Styles */
  39.  
  40. html { }
  41. body { }
  42.  
  43. @font-face {font-family: 'Entypo';
  44. src: url(http://static.tumblr.com/nbhz7al/I1ump0np2/entypo.woff);}
  45.  
  46. @font-face {font-family: 'Entypo Social';
  47. src: url(http://static.tumblr.com/nbhz7al/rUimp4xe6/entypo-social.woff);}
  48.  
  49. #header { }
  50. #title { }
  51. #description { }
  52.  
  53. #content { }
  54. .entry { }
  55.  
  56. .photo { }
  57. .video { }
  58. .notes {display:none}
  59.  
  60. #pagination { }
  61.  
  62. /* Mobile Styles */
  63.  
  64. /* PXU Extended Photosets */
  65.  
  66. .clearit:before, .clearit:after { content: ""; display: table; }
  67. .clearit:after { clear: both; }
  68. .clearit { *zoom: 1; }
  69.  
  70. /* Photoset */
  71.  
  72. .photo-slideshow .row {clear: both;
  73. width: 100%}
  74.  
  75. .photo-slideshow .pxu-photo {display: block;
  76. float: left;
  77. margin-bottom: 0;
  78. width: 100%;
  79. overflow: hidden}
  80.  
  81. .photo-slideshow .pxu-photo img {width: 100%;
  82. height: auto;
  83. cursor: pointer;}
  84.  
  85. .photo-slideshow .pxu-photo:first-child img {margin-left: 0}
  86.  
  87. .photo-slideshow .count-1 {width: 100%}
  88.  
  89. .photo-slideshow .count-2 {width: 50%}
  90.  
  91. .photo-slideshow .count-3 {width: 33.33%}
  92.  
  93. .photo-slideshow .count-4 {width: 25%}
  94.  
  95. .photo-slideshow .count-5 {width: 20%}
  96.  
  97. .photo-slideshow .info {display: none}
  98.  
  99. /* Icons for EXIF Data and Zoom */
  100.  
  101. .photo-data {position: relative;
  102. float: left}
  103.  
  104. .icons {position: absolute;
  105. top: 5px;
  106. right: 5px;
  107. width: 20px;
  108. height: 66px;
  109. text-indent: -9999px;
  110. z-index: 999;
  111. visibility: hidden;
  112. display:none}
  113.  
  114. .icons > span, .icons .tumblr-box span {width: 20px;
  115. height: 20px;
  116. display: block;
  117. margin-bottom: 2px;
  118. cursor: pointer}
  119.  
  120. .zoom {background: url('http://static.tumblr.com/hugxd2w/kgem0so9j/zoom-icon.png');}
  121.  
  122. .info {background: url('http://static.tumblr.com/hugxd2w/ffwm0so9t/info-icon.png');
  123. position: relative}
  124.  
  125. /* EXIF & CAPTION Data Tooltip */
  126.  
  127. .pxu-data {position: absolute;
  128. top: 30px;
  129. left: -110px;
  130. width: 240px;
  131. background: #000;
  132. background: rgba(0,0,0,.85);
  133. color: #fff;
  134. font-size: 12px;
  135. line-height: 1.4;
  136. text-indent: 0;
  137. padding: 20px;
  138. display: none;
  139. opacity: 0;
  140. filter: alpha(opacity = 0);
  141. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  142. box-shadow: 2px 2px 7px rgba(0,0,0,0.55);
  143.  
  144. -webkit-border-radius: 5px;
  145. -moz-border-radius: 5px;
  146. border-radius: 5px;
  147. -webkit-box-sizing: border-box;
  148. -moz-box-sizing: border-box;
  149. box-sizing: border-box}
  150.  
  151. .pxu-caption {margin-top: 0;
  152. word-wrap: break-word}
  153.  
  154. .pxu-caption:before {content: url('http://static.tumblr.com/hugxd2w/SSBm6wxmm/caption-icon.png');
  155. opacity: 0.5;
  156. filter: alpha(opacity = 50);
  157. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  158. float: left;
  159. margin-right: 5px}
  160.  
  161. .pxu-data.caption-only .pxu-caption {margin-bottom: 0}
  162.  
  163. .pxu-data table {font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  164. font-weight: bold;
  165. width: 100%}
  166.  
  167. .pxu-data table tr {width: 100%}
  168.  
  169. .pxu-data table tr td {width: 50%;
  170. font-weight: bold;
  171. padding-bottom: 15px}
  172.  
  173. .pxu-data table tr:last-child td {padding-bottom: 0}
  174.  
  175. .pxu-data .label {color: #cccccc;
  176. text-transform: uppercase;
  177. font-size: 10px;
  178. text-align: right;
  179. padding-right: 12px;
  180. font-weight: normal}
  181.  
  182. .arrow-down {width: 0;
  183. height: 0;
  184. border-left: 10px solid transparent;
  185. border-right: 10px solid transparent;
  186. border-bottom: 10px solid rgba(0,0,0,0.85);
  187. position: absolute;
  188. top: -10px;
  189. left: 110px}
  190.  
  191. {CustomCSS}
  192.  
  193. </style>
  194.  
  195. <script src="http://static.tumblr.com/nbhz7al/CnMmowvhv/jquery-1.10.1.min.js" type="text/javascript"></script>
  196.  
  197. <script src="http://static.tumblr.com/8je4mhi/Kt6mpdfsp/extended-photosets.js" type="text/javascript"></script>
  198.  
  199. <script src="http://static.tumblr.com/8je4mhi/D7wmpf70e/jquery.infinitescroll.min.js" type="text/javascript"></script>
  200.  
  201. <script src="http://static.tumblr.com/8je4mhi/efnmpf71a/manual-trigger.js" type="text/javascript"></script>
  202.  
  203. <script type="text/javascript">
  204. $('#content').infinitescroll({
  205. navSelector : 'div.navigation',
  206. nextSelector : 'div.navigation a:#next',
  207. itemSelector : '#content div.entry',
  208. behavior : 'twitter'
  209. },function(newElements){
  210. $(newElements).find('.photo-slideshow').pxuPhotoset();
  211. }
  212. });
  213. </script>
  214.  
  215. <script type="text/javascript">
  216. $(document).ready(function() {
  217. $('.photo-slideshow').pxuPhotoset({
  218. 'ligthbox' : true,
  219. 'highRes' : true,
  220. 'rounded' : 'false',
  221. 'exif' : false,
  222. 'captions' : false,
  223. 'gutter' : '10px',
  224. 'photoset' : '.photo-slideshow',
  225. 'photoWrap' : '.photo-data',
  226. 'photo' : '.pxu-photo'
  227. }, function() {
  228. // callback
  229. });
  230. });
  231. </script>
  232.  
  233. <script type="text/javascript">
  234. $(document).ready(function() {
  235. $('.video iframe').attr('width', '100%');
  236. });
  237. </script>
  238.  
  239. <script type="text/javascript">
  240. var _gaq = _gaq || [];
  241. _gaq.push(['_setAccount', '{text:Google Analytics ID}']);
  242. _gaq.push(['_trackPageview']);
  243.  
  244. (function() {
  245. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  246. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  247. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  248. })();
  249. </script>
  250.  
  251. <script type="text/javascript">
  252. $(function() {
  253. $('.entry').hover(function() {
  254. $(this).find('.notes').slideToggle(125);
  255. });
  256. });
  257. </script>
  258.  
  259. </head>
  260.  
  261. <body>
  262.  
  263. <div id="header">
  264.  
  265. <div id="title">
  266. <a href="/">{Title}</a>
  267. </div> <!-- /title -->
  268.  
  269. <div id="description">
  270. {Description}
  271. </div> <!-- /description -->
  272.  
  273. </div> <!-- /header -->
  274.  
  275. <div id="content">
  276.  
  277. {block:Posts}
  278.  
  279. <div class="entry">
  280.  
  281. {block:Text}
  282. {block:Title}
  283. <a href="{Permalink}">{Title}</a>
  284. {/block:Title}
  285.  
  286. {Body}
  287. {/block:Text}
  288.  
  289. {block:Photo}
  290. {LinkOpenTag}
  291. <div class="photo"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/></div>
  292. {LinkCloseTag}
  293.  
  294. {block:Caption}
  295. {Caption}
  296. {/block:Caption}
  297. {/block:Photo}
  298.  
  299. {block:Panorama}
  300. {LinkOpenTag}
  301. <div class="photo"><img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/></div>
  302. {LinkCloseTag}
  303.  
  304. {block:Caption}
  305. {Caption}
  306. {/block:Caption}
  307. {/block:Panorama}
  308.  
  309. {block:Photoset}
  310.  
  311. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  312.  
  313. {block:Photos}
  314. <div class="photo-data">
  315. <div class="pxu-photo">
  316. <img alt="{PhotoAlt}" src="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" class="{block:Exif}exif-yes {/block:Exif}{block:Caption}caption-yes{/block:Caption}" {block:Exif}data-camera="{block:Camera}{Camera}{/block:Camera}" data-iso="{block:ISO}{ISO}{/block:ISO}" data-aperture="{block:Aperture}{Aperture}{/block:Aperture}" data-exposure="{block:Exposure}{Exposure}{/block:Exposure}" data-focal="{block:FocalLength}{FocalLength}{/block:FocalLength}"{/block:Exif} {block:Caption}data-caption="{Caption}"{/block:Caption}>
  317. </div>
  318. <div class="icons">
  319. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  320. <span class="zoom">Zoom</span>
  321. </a>
  322. <span class="info">Info</span>
  323. </div>
  324. </div>
  325. {/block:Photos}
  326.  
  327. </div><!-- close SLIDESHOW -->
  328.  
  329. {block:Caption}
  330. {Caption}
  331. {/block:Caption}
  332.  
  333. {/block:Photoset}
  334.  
  335. {block:Quote}
  336. "{Quote}"
  337.  
  338. {block:Source}
  339. {Source}
  340. {/block:Source}
  341. {/block:Quote}
  342.  
  343. {block:Link}
  344. <a href="{URL}"{Target}>{Name}</a>
  345.  
  346. {block:Description}
  347. {Description}
  348. {/block:Description}
  349. {/block:Link}
  350.  
  351. {block:Chat}
  352. {block:Title}
  353. <a href="{Permalink}">{Title}</a>
  354. {/block:Title}
  355.  
  356. <ul class="chat">
  357. {block:Lines}
  358. <div class="{Alt} user_{UserNumber}">
  359. {block:Label}
  360. <span class="label">{Label}</span>
  361. {/block:Label}
  362.  
  363. {Line}
  364. </div>
  365. {/block:Lines}
  366. </ul>
  367. {/block:Chat}
  368.  
  369. {block:Video}
  370. <div class="video">{Video-500}</div>
  371.  
  372. {block:Caption}
  373. {Caption}
  374. {/block:Caption}
  375. {/block:Video}
  376.  
  377. {block:Audio}
  378. {AudioPlayerGrey}
  379.  
  380. {block:Caption}
  381. {Caption}
  382. {/block:Caption}
  383. {/block:Audio}
  384.  
  385. {block:Answer}
  386. {Asker} Asked "{Question}"
  387.  
  388. {Answer}
  389. {/block:Answer}
  390.  
  391. <div class="notes">
  392.  
  393. Notes
  394.  
  395. </div> <!-- /notes -->
  396.  
  397. </div> <!-- /entry -->
  398.  
  399. {/block:Posts}
  400.  
  401. {block:Pagination}
  402. <div class="navigation">
  403. {block:PreviousPage}
  404. <a href="{PreviousPage}">Previous</a>
  405. {/block:PreviousPage}
  406.  
  407. {block:NextPage}
  408. <a id="next" href="{NextPage}">Next</a>
  409. {/block:NextPage}
  410. </div>
  411. {/block:Pagination}
  412.  
  413. </div> <!-- /content -->
  414.  
  415. </body>
  416. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement