Advertisement
loranhale

glasgow

Jul 30th, 2016
2,350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.97 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!----
  5.  
  6.  
  7. tags: glasgow
  8. updated 11/7/2017
  9.  
  10. @loranhale
  11.  
  12.  
  13. ----->
  14.  
  15. <link rel="shortcut icon" href="{Favicon}">
  16. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  17.  
  18. <title>{Title}</title>
  19. <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro|Open+Sans|Karla|PT+Sans|Maven+Pro' rel='stylesheet' type='text/css'>
  20.  
  21. <style type="text/css">
  22.  
  23. ::-webkit-scrollbar {
  24. height:5px;
  25. width:1px;
  26. background:#fafafa;
  27. }
  28. ::-webkit-scrollbar-thumb { background:#dcecf5; }
  29.  
  30. .iframe-controls--desktop { display:none!important; }
  31.  
  32. #s-m-t-tooltip {
  33. max-width:300px;
  34. margin:15px;
  35. padding:5px 6px;
  36. z-index:99999999;
  37. color:#000;
  38. text-transform:lowercase;
  39. border:1px solid #dcecf5;
  40. background:#fff;
  41. }
  42.  
  43. body {
  44. background:#fafafa;
  45. color:#555;
  46. font-family:'pt sans', arial, helvetica, sans-serif;
  47. font-size:10px;
  48. -moz-osx-font-smoothing:grayscale;
  49. -webkit-font-smoothing:antialiased;
  50. font-smoothing:antialiased;
  51. }
  52.  
  53. a {
  54. color:#8892e0;
  55. text-decoration:none;
  56. transition-duration:.8s;
  57. -moz-transition-duration:.8s;
  58. -webkit-transition-duration:.8s;
  59. -o-transition-duration:.8s;
  60. }
  61.  
  62. a:hover { color:#000; }
  63.  
  64. h2 {
  65. font-size:10.5px;
  66. text-align:left;
  67. font-weight:600;
  68. letter-spacing:.5px;
  69. font-style:italic;
  70. }
  71.  
  72. section {
  73. margin:60px auto;
  74. transform:translate(30px,0px);
  75. width:calc((180px + 40px + 2px) * 3);
  76. /* ((box width + 2*padding + 2*border) * number of columns)*/
  77. }
  78.  
  79. /* sidebar */
  80.  
  81. nav {
  82. position:fixed;
  83. top:80px;
  84. left:150px;
  85. font-family:'karla', arial, helvetica, sans-serif;
  86. }
  87.  
  88. .t {
  89. font-size:14px;
  90. margin-bottom:10px;
  91. padding-bottom:5px;
  92. border-bottom:1px solid #dcecf5;
  93. font-weight:600;
  94. letter-spacing:.5px;
  95. text-transform:lowercase;
  96. }
  97.  
  98. .links a {
  99. color:#8892e0;
  100. margin-bottom:5px;
  101. text-transform:lowercase;
  102. display:block;
  103. }
  104. .links a:hover { color:#000; }
  105.  
  106. .icon {
  107. float:left;
  108. display:inline;
  109. position:fixed;
  110. }
  111.  
  112. .icon img {
  113. width:50px;
  114. height:50px;
  115. border-radius:50%;
  116. margin:0px -75px auto;
  117. }
  118.  
  119. /* tag boxes */
  120.  
  121. .box {
  122. width:180px;
  123. margin:20px;
  124. border:1px solid #dcecf5;
  125. padding:10px;
  126. background:#fff;
  127. float:left;
  128. box-sizing:border-box;
  129. transition-duration:1s;
  130. -moz-transition-duration:1s;
  131. -webkit-transition-duration:1s;
  132. -o-transition-duration:1s;
  133. }
  134.  
  135. .title {
  136. font-size:11px;
  137. margin-bottom:10px;
  138. font-weight:600;
  139. letter-spacing:1px;
  140. text-transform:uppercase;
  141. padding-bottom:8px;
  142. border-bottom:1px solid #dcecf5;
  143. font-family:'karla', sans-serif;
  144. }
  145.  
  146. .tags a { display:block; margin-bottom:8px }
  147. .tags a:last-of-type { margin-bottom:0; }
  148. .tags a:hover { padding-left:10px; }
  149.  
  150. /* filters */
  151.  
  152. #sort {
  153. position:relative;
  154. margin:15px auto;
  155. border-top:1px solid #dcecf5;
  156. }
  157.  
  158. #sort li { display:block; list-style:none; }
  159.  
  160. #sort li a {
  161. line-height:18px;
  162. font-weight:600;
  163. font-family:'maven pro',sans-serif;
  164. }
  165.  
  166. #sort li a:hover { color:#000; margin-left:6px; }
  167. #sort ul { margin-left:-40px; }
  168.  
  169. #sort li a.selected {
  170. color:#000;
  171. font-weight:600;
  172. margin-left:6px;
  173. }
  174.  
  175. /* do not disturb */
  176.  
  177. .lo { bottom:20px; right:20px; position:fixed; }
  178. .lo a {
  179. text-transform:uppercase;
  180. border-bottom:1px solid #dcecf5;
  181. padding:5px;
  182. }
  183.  
  184. </style>
  185. </head>
  186.  
  187. <body>
  188.  
  189. <nav>
  190. <div class="icon"><img src="{PortraitURL-128}" /></div>
  191. <div class="t">navigation</div>
  192. <div class="links">
  193. <a href="/">home</a>
  194. <a href="/ask">ask</a>
  195. <a href="/">link</a>
  196. <a href="http://loranhale.tumblr.com">theme</a>
  197. </div>
  198.  
  199. <div id="sort">
  200. <ul id="filters" class="option-set clearfix" data-option-key="filter">
  201. <li><a href="#filter" data-option-filter=".box">refresh</a></li>
  202. <li><a href="#filter" data-option-filter=".lit">literature</a></li>
  203. <li><a href="#filter" data-option-filter=".tv">television</a></li>
  204. <li><a href="#filter" data-option-filter=".movies">movies</a></li>
  205. <li><a href="#filter" data-option-filter=".misc">misc</a></li>
  206. <!-- copy and paste to add more -->
  207. </ul>
  208. </div>
  209. </nav>
  210.  
  211.  
  212. <section>
  213.  
  214. <div class="box lit">
  215. <div class="title">tag group title</div>
  216. <div class="tags">
  217. <a href="/tagged/">tag name</a>
  218. <a href="/tagged/">tag name</a>
  219. <a href="/tagged/">tag name</a>
  220. <h2>subtitle</h2>
  221. <a href="/tagged/">tag name</a>
  222. <a href="/tagged/">tag name</a>
  223. <a href="/tagged/">tag name</a>
  224. </div>
  225. </div>
  226.  
  227. <div class="box tv">
  228. <div class="title">tag group title</div>
  229. <div class="tags">
  230. <a href="/tagged/">tag name</a>
  231. <a href="/tagged/">tag name</a>
  232. <a href="/tagged/">tag name</a>
  233. <a href="/tagged/">tag name</a>
  234. <a href="/tagged/">tag name</a>
  235. <a href="/tagged/">tag name</a>
  236. <a href="/tagged/">tag name</a>
  237. <a href="/tagged/">tag name</a>
  238. <a href="/tagged/">tag name</a>
  239. <a href="/tagged/">tag name</a>
  240. <a href="/tagged/">tag name</a>
  241. <a href="/tagged/">tag name</a>
  242. </div>
  243. </div>
  244.  
  245. <div class="box movies">
  246. <div class="title">tag group title</div>
  247. <div class="tags">
  248. <a href="/tagged/">tag name</a>
  249. <a href="/tagged/">tag name</a>
  250. <a href="/tagged/">tag name</a>
  251. <a href="/tagged/">tag name</a>
  252. <a href="/tagged/">tag name</a>
  253. <a href="/tagged/">tag name</a>
  254. </div>
  255. </div>
  256.  
  257. <div class="box lit">
  258. <div class="title">tag group title</div>
  259. <div class="tags">
  260. <a href="/tagged/">tag name</a>
  261. <a href="/tagged/">tag name</a>
  262. <a href="/tagged/">tag name</a>
  263. <a href="/tagged/">tag name</a>
  264. <a href="/tagged/">tag name</a>
  265. <a href="/tagged/">tag name</a>
  266. <a href="/tagged/">tag name</a>
  267. <a href="/tagged/">tag name</a>
  268. <a href="/tagged/">tag name</a>
  269. <a href="/tagged/">tag name</a>
  270. <a href="/tagged/">tag name</a>
  271. <a href="/tagged/">tag name</a>
  272. </div>
  273. </div>
  274.  
  275. <div class="box misc">
  276. <div class="title">tag group title</div>
  277. <div class="tags">
  278. <a href="/tagged/">tag name</a>
  279. <a href="/tagged/">tag name</a>
  280. <a href="/tagged/">tag name</a>
  281. <a href="/tagged/">tag name</a>
  282. <a href="/tagged/">tag name</a>
  283. <a href="/tagged/">tag name</a>
  284. <a href="/tagged/">tag name</a>
  285. <a href="/tagged/">tag name</a>
  286. </div>
  287. </div>
  288.  
  289. <div class="box tv">
  290. <div class="title">tag group title</div>
  291. <div class="tags">
  292. <a href="/tagged/">tag name</a>
  293. <a href="/tagged/">tag name</a>
  294. <a href="/tagged/">tag name</a>
  295. <a href="/tagged/">tag name</a>
  296. <a href="/tagged/">tag name</a>
  297. <a href="/tagged/">tag name</a>
  298. <a href="/tagged/">tag name</a>
  299. <a href="/tagged/">tag name</a>
  300. <a href="/tagged/">tag name</a>
  301. <a href="/tagged/">tag name</a>
  302. <a href="/tagged/">tag name</a>
  303. <a href="/tagged/">tag name</a>
  304. <a href="/tagged/">tag name</a>
  305. <a href="/tagged/">tag name</a>
  306. </div>
  307. </div>
  308.  
  309. <div class="box tv">
  310. <div class="title">tag group title</div>
  311. <div class="tags">
  312. <a href="/tagged/">tag name</a>
  313. <a href="/tagged/">tag name</a>
  314. <a href="/tagged/">tag name</a>
  315. <a href="/tagged/">tag name</a>
  316. <a href="/tagged/">tag name</a>
  317. <a href="/tagged/">tag name</a>
  318. </div>
  319. </div>
  320.  
  321. <div class="box movies">
  322. <div class="title">tag group title</div>
  323. <div class="tags">
  324. <a href="/tagged/">tag name</a>
  325. <a href="/tagged/">tag name</a>
  326. <a href="/tagged/">tag name</a>
  327. <a href="/tagged/">tag name</a>
  328. <a href="/tagged/">tag name</a>
  329. <a href="/tagged/">tag name</a>
  330. <a href="/tagged/">tag name</a>
  331. <a href="/tagged/">tag name</a>
  332. <a href="/tagged/">tag name</a>
  333. </div>
  334. </div>
  335.  
  336. </section>
  337.  
  338. <!-- danger! keep out -->
  339.  
  340. <div class="lo">
  341. <a href="http://loranhale.tumblr.com" title="theme">j</a>
  342. </div>
  343.  
  344. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  345. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  346. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  347. <script>
  348. jQuery.noConflict();
  349. (function($){
  350. $(document).ready(function(){
  351. $("a[title],img[title],[title]").style_my_tooltips({
  352. tip_follows_cursor:true,
  353. tip_delay_time:200,
  354. tip_fade_speed:300,
  355. attribute:"title"
  356. });
  357. });
  358. })(jQuery);
  359. </script>
  360.  
  361. <script src="http://static.tumblr.com/twte3d7/H8Glm663z/masonry.js"></script>
  362. <script type="text/javascript">
  363. $(window).load(function () {
  364. $('section').masonry({
  365. itemSelector : ".box",
  366. },
  367. function() { $('section').masonry({ appendedContent: $(this) }); }
  368. );
  369. });
  370. </script>
  371.  
  372. <script src="http://static.tumblr.com/fuu6t9w/kh8ml0pl9/jquery-1.7.1.min.js"></script>
  373. <script src="http://static.tumblr.com/fuu6t9w/eubml0pm0/jquery.isotope.min.js"></script>
  374. <script>
  375. $(function(){
  376. var $container = $('section');
  377. $container.isotope({
  378. itemSelector : '.box'
  379. });
  380. var $optionSets = $('#sort .option-set'),
  381. $optionLinks = $optionSets.find('a');
  382. $optionLinks.click(function(){
  383. var $this = $(this); // don't proceed if already selected
  384. if ( $this.hasClass('selected') ) {
  385. return false;
  386. }
  387. var $optionSet = $this.parents('.option-set');
  388. $optionSet.find('.selected').removeClass('selected');
  389. $this.addClass('selected');
  390.  
  391. // make option object dynamically, i.e. { filter: '.my-filter-class' }
  392. var options = {},
  393. key = $optionSet.attr('data-option-key'),
  394. value = $this.attr('data-option-filter');
  395. // parse 'false' as false boolean
  396. alue = value === 'false' ? false : value;
  397. options[ key ] = value;
  398. if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
  399. // changes in layout modes need extra logic
  400. changeLayoutMode( $this, options )
  401. } else {
  402. // otherwise, apply new options
  403. $container.isotope( options );
  404. }
  405. return false;
  406. });
  407. });
  408. </script>
  409.  
  410. </body>
  411. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement