med-x

alydae network iii

Sep 25th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6. NETWORK III
  7. by alydae
  8.  
  9. - do not steal any part of this code
  10. - do not even TOUCH the credit
  11. - direct questions to enchantedthemes.tumblr.com
  12.  
  13. thank you for using!!!
  14.  
  15. -->
  16.  
  17. <title>members</title>
  18. <link rel="shortcut icon" href="{Favicon}">
  19.  
  20. <!-- scripts - DO NOT TOUCH -->
  21.  
  22. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  23.  
  24. <script src="https://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  25. <script>
  26. (function($){
  27. $(document).ready(function(){
  28. $("[title]").style_my_tooltips({
  29. tip_follows_cursor:true,
  30. tip_delay_time:200,
  31. tip_fade_speed:300
  32. }
  33. );
  34. });
  35. })(jQuery);
  36. </script>
  37.  
  38. <!-- custom font -->
  39.  
  40. <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
  41.  
  42. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  43. <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
  44.  
  45. <style type="text/css">
  46.  
  47.  
  48. @keyframes fadein {
  49. from { opacity:0; }
  50. to { opacity:1; }
  51. }
  52.  
  53. @-moz-keyframes fadein {
  54. from { opacity:0; }
  55. to { opacity:1; }
  56. }
  57.  
  58. @-webkit-keyframes fadein {
  59. from { opacity:0; }
  60. to { opacity:1; }
  61. }
  62.  
  63. @-ms-keyframes fadein {
  64. from { opacity:0; }
  65. to { opacity:1; }
  66. }
  67.  
  68. @-o-keyframes fadein {
  69. from { opacity:0; }
  70. to { opacity:1; }
  71. }
  72.  
  73. /*-- selection --*/
  74.  
  75. ::-moz-selection { background:#eee; color:#222; }
  76. ::selection { background:#eee; color:#222; }
  77.  
  78. /*-- scrollbar --*/
  79.  
  80. ::-webkit-scrollbar {
  81. width:1px;
  82. height:2px;
  83. }
  84.  
  85. ::-webkit-scrollbar-thumb { background-color:#aaa; } /* scrollbar colour */
  86.  
  87. /*-- tooltips --*/
  88.  
  89. #s-m-t-tooltip {
  90. color:#666;
  91. background-color:#fafafa;
  92. font-size:8px;
  93. font-family:'Open Sans', helvetica, sans-serif;
  94. letter-spacing:1px;
  95. text-transform:uppercase;
  96. text-align:center;
  97. position:absolute;
  98. padding:0px 5px 0px 5px;
  99. margin-top:30px;
  100. border:1px solid #eee;
  101. z-index:9999;
  102. }
  103.  
  104. /*-- tumblr controls --*/
  105.  
  106. .tmblr-iframe, .iframe-controls–desktop {
  107. display:none !important;
  108. }
  109.  
  110. /*-- general customisation --*/
  111.  
  112. body {
  113. color:#666; /* text colour */
  114. background-color:#fff; /* background colour */
  115. font-style:normal;
  116. font-family:'Open Sans', helvetica, sans-serif;
  117. font-size:10px;
  118. font-weight:400;
  119. text-decoration:none;
  120. line-height:180%;
  121. -moz-osx-font-smoothing: grayscale;
  122. -webkit-font-smoothing: antialiased;
  123. font-smoothing: antialiased;
  124. -webkit-animation: fadein 1.5s;
  125. -moz-animation: fadein 1.5s;
  126. -o-animation: fadein 1.5s;
  127. animation: fadein 1.5s;
  128. }
  129.  
  130. a {
  131. text-decoration:none;
  132. color:#444; /* links colour */
  133. transition-duration: 0.6s;
  134. -moz-transition-duration: 0.6s;
  135. -webkit-transition-duration: 0.6s;
  136. -o-transition-duration: 0.6s;
  137. }
  138.  
  139. a:hover {
  140. color:#bad0f1; /* links hover colour */
  141. cursor:pointer;
  142. transition-duration: 0.6s;
  143. -moz-transition-duration: 0.6s;
  144. -webkit-transition-duration: 0.6s;
  145. -o-transition-duration: 0.6s;
  146. }
  147.  
  148. b, strong { font-weight:700; color:#444; }
  149. i, em { font-style:italic; }
  150.  
  151. /*-- sidebar --*/
  152.  
  153. #sidebar {
  154. position:fixed;
  155. top:0;
  156. left:0;
  157. height:100vh;
  158. width:64px;
  159. z-index:999!important;
  160. background:#fafafa; /* sidebar background colour */
  161. border-right:1px solid #eee;
  162. }
  163.  
  164. #sidelinks { margin-top:50vh; transform:translateY(-50%); }
  165.  
  166. #sidelinks a {
  167. display:block;
  168. font-size:14px;
  169. line-height:100%;
  170. height:14px;
  171. width:14px;
  172. padding:10px;
  173. margin:15px;
  174. border-radius:100%;
  175. background:#fff; /*sidebar links background colour */
  176. border:1px solid #eee;
  177. }
  178.  
  179. .hover .hovertext {
  180. width:auto;
  181. background:#bad0f1;
  182. color:#fff; /* sidebar links text colour */
  183. font-size:10px; /* sidebar links font size */
  184. text-transform:uppercase;
  185. font-weight:700;
  186. letter-spacing:0.5px;
  187. padding:3px 7px 3px 7px;
  188. position:absolute;
  189. margin-top:-3px;
  190. margin-left:40px;
  191. z-index:999!important;
  192. opacity:0;
  193. transition:opacity 0.6s;
  194. }
  195.  
  196. .hover:hover .hovertext { opacity:1; transition:opacity 0.6s; }
  197.  
  198. .hover .hovertext::after {
  199. content:" ";
  200. position:absolute;
  201. top:50%;
  202. right:100%;
  203. margin-top:-8px;
  204. border-width:8px;
  205. border-style:solid;
  206. border-color:transparent #bad0f1 transparent transparent; /*link hover colour */
  207. }
  208.  
  209. /*-- header --*/
  210.  
  211. header {
  212. margin:100px auto 50px;
  213. width:300px;
  214. text-align:center;
  215. }
  216.  
  217. #icon {
  218. margin:0 auto;
  219. width:50px;
  220. height:50px;
  221. }
  222.  
  223. #icon img { width:50px; height:50px; border-radius:100%; }
  224.  
  225. #title {
  226. margin:20px 0px 5px 0px;
  227. font-size:16px;
  228. font-weight:700;
  229. text-transform:uppercase;
  230. letter-spacing:1px;
  231. color:#000; /*title colour*/
  232. }
  233.  
  234. /*--filters--*/
  235.  
  236. #sort { margin-top:20px; }
  237.  
  238. #sort ul {
  239. display:block;
  240. list-style:none;
  241. padding-left:0px;
  242. margin-top:0;
  243. margin-bottom:0;
  244. }
  245.  
  246. #sort li { display:inline; list-style:none; }
  247. #sort li a.selected { font-weight:600; color:#222; } /* selected filter colour */
  248.  
  249. #sort a {
  250. display:inline;
  251. margin-right:10px;
  252. font-style:italic;
  253. text-transform:lowercase;
  254. }
  255.  
  256. #sort b {
  257. text-transform:uppercase;
  258. letter-spacing:0.5px;
  259. margin-right:10px;
  260. }
  261.  
  262. /*-- content --*/
  263.  
  264. #content {
  265. margin:0 auto;
  266. margin-bottom:100px;
  267. width:calc((280px + 40px + 2px) * 3);
  268. /* ((box width + 2*margin + 2*border width) * number of columns) */
  269. }
  270.  
  271. .box {
  272. width:280px; /* image width x 2 + 30px */
  273. height:125px; /* image height */
  274. margin:20px;
  275. float:left;
  276. background:#fafafa; /*box background colour */
  277. border:1px solid #eee;
  278. }
  279.  
  280. .name {
  281. width:30px;
  282. height:125px; /* image height */
  283. position:absolute;
  284. background:#fff;
  285. }
  286.  
  287. .name h1 {
  288. transform-origin:180% 260%;
  289. transform:rotate(-90deg);
  290. text-transform:uppercase;
  291. font-size:12px;
  292. font-weight:700;
  293. letter-spacing:0.5px;
  294. }
  295.  
  296. .box img {
  297. position:absolute;
  298. width:125px; /* image width */
  299. height:125px; /* image height */
  300. margin-left:30px;
  301. }
  302.  
  303. .url {
  304. position:absolute;
  305. margin-left:155px;
  306. height:25px;
  307. width:125px;
  308. line-height:25px;
  309. text-align:center;
  310. background:#fff; /*url background colour */
  311. font-style:italic;
  312. font-weight:600;
  313. border-bottom:1px solid #eee;
  314. }
  315.  
  316. .desc {
  317. position:absolute;
  318. margin-left:155px;
  319. margin-top:25px;
  320. width:125px;
  321. height:100px;
  322. }
  323.  
  324. .t {
  325. text-align:center;
  326. line-height:160%;
  327. margin-top:10px;
  328. margin-left:10px;
  329. margin-bottom:10px;
  330. padding-right:10px;
  331. max-height:80px;
  332. overflow-Y:scroll;
  333. margin-top:calc(20% + 25px);
  334. transform:translateY(-50%);
  335. }
  336.  
  337. /*-- credit - DO NOT TOUCH --*/
  338.  
  339. .credit a {
  340. bottom:15px;
  341. right:20px;
  342. position:fixed;
  343. }
  344.  
  345.  
  346. </style>
  347. </head>
  348.  
  349.  
  350. <body>
  351.  
  352.  
  353. <div id="sidebar">
  354. <div id="sidelinks">
  355. <!-- this is where your sidebar links are. feel free to add more. icons can be found at https://linearicons.com/free -->
  356. <a class="hover" href="/"><span class="lnr lnr-home"></span><span class="hovertext">index</span></a>
  357. <a class="hover" href="/ask"><span class="lnr lnr-envelope"></span><span class="hovertext">message</span></a>
  358. <a class="hover" href=""><span class="lnr lnr-menu"></span><span class="hovertext">link</span></a>
  359. <!-- do not remove this one!!! -->
  360. <a class="hover" href="http://enchantedthemes.tumblr.com"><span class="lnr lnr-code"></span><span class="hovertext">credit</span></a>
  361. </div>
  362. </div>
  363.  
  364.  
  365. <header>
  366. <div id="icon"><img src="{PortraitURL-64}"/></div>
  367. <div id="title">members</div>
  368. <!-- delete this section if you don't want a description-->
  369. <div class="d">optional description.</div>
  370. <!-- up to here! -->
  371.  
  372. <!-- HOW TO CUSTOMISE THE FILTERS
  373. template for new filter groups:
  374. <ul class="filter option-set" data-filter-group="group1">
  375. <b>category:</b>
  376. <li><a href="#" data-filter-value="" class="selected">all</a></li>
  377. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  378. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  379. </ul>
  380.  
  381. template for new filter:
  382. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  383.  
  384. in order to make your filters match your books/tv shows/fic/whatever, you only need to change the '.filter' and 'filter name' part. the 'category' line is optional.
  385. for example, if I wanted to make my media filter by favourites only, my code would look like this
  386. <li><a href="#" data-filter-value=".fave">favourites</a></li>
  387. note the areas where it's been changed.
  388.  
  389. it is essential that you do not change any other part, including the 'exclusive' in the first filter group, as well as the first filter in every group.
  390. <li><a href="#" data-filter-value="" class="selected">all</a></li>
  391. -->
  392.  
  393. <div id="sort">
  394. <ul class="filter option-set exclusive" data-filter-group="group1">
  395. <b>category:</b>
  396. <li><a href="#" data-filter-value="" class="selected">all</a></li>
  397. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  398. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  399. </ul>
  400. <ul class="filter option-set" data-filter-group="group2">
  401. <b>category:</b>
  402. <li><a href="#" data-filter-value="" class="selected">all</a></li>
  403. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  404. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  405. </ul>
  406.  
  407. <ul class="filter option-set" data-filter-group="group3">
  408. <b>category:</b>
  409. <li><a href="#" data-filter-value="" class="selected">all</a></li>
  410. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  411. <li><a href="#" data-filter-value=".filter">filter name</a></li>
  412. </ul>
  413. </div>
  414.  
  415. </header>
  416.  
  417.  
  418. <div id="content">
  419.  
  420. <!-- HOW TO ADD MORE AND FILTERS TO EACH MEMBER BOX
  421. template:
  422. <div class="box">
  423. <div class="name"><h1>name</h1></div>
  424. <img src=""/>
  425. <div class="url"><a href="">@username</a></div>
  426. <div class="desc">
  427. <div class="t">description</div>
  428. </div>
  429. </div>
  430.  
  431. to add the filters, add the same name that you used above in the '.filter' but without the dot in front. you can add as many as you want but the 'box' in the beginning MUST stay there.
  432.  
  433. for example, if you wanted to have the filters 'admin' and 'blue' together for one box, the filters should look like this
  434. <div class="box admin blue">
  435. note how media is still there in front.
  436.  
  437. if you do not want the text on hover, just delete these lines from the book/tv show/fic/whatever in question.
  438. <div class="overlay">
  439. <div class="desc">desc</div>
  440. </div>
  441.  
  442. if you do not want an image and overlay, delete these lines from the book/tv/show/fic/whatever in question
  443. <img src=""/>
  444. <div class="overlay">
  445. <div class="desc">desc</div>
  446. </div>
  447. -->
  448.  
  449. <div class="box">
  450. <div class="name"><h1>name</h1></div>
  451. <img src=""/>
  452. <div class="url"><a href="">@username</a></div>
  453. <div class="desc">
  454. <div class="t">description</div>
  455. </div>
  456. </div>
  457.  
  458. <div class="box">
  459. <div class="name"><h1>name</h1></div>
  460. <img src=""/>
  461. <div class="url"><a href="">@username</a></div>
  462. <div class="desc">
  463. <div class="t">description</div>
  464. </div>
  465. </div>
  466.  
  467. <div class="box">
  468. <div class="name"><h1>name</h1></div>
  469. <img src=""/>
  470. <div class="url"><a href="">@username</a></div>
  471. <div class="desc">
  472. <div class="t">description</div>
  473. </div>
  474. </div>
  475.  
  476. <div class="box">
  477. <div class="name"><h1>name</h1></div>
  478. <img src=""/>
  479. <div class="url"><a href="">@username</a></div>
  480. <div class="desc">
  481. <div class="t">description</div>
  482. </div>
  483. </div>
  484.  
  485. <div class="box">
  486. <div class="name"><h1>name</h1></div>
  487. <img src=""/>
  488. <div class="url"><a href="">@username</a></div>
  489. <div class="desc">
  490. <div class="t">description</div>
  491. </div>
  492. </div>
  493.  
  494. <div class="box">
  495. <div class="name"><h1>name</h1></div>
  496. <img src=""/>
  497. <div class="url"><a href="">@username</a></div>
  498. <div class="desc">
  499. <div class="t">description</div>
  500. </div>
  501. </div>
  502.  
  503. </div>
  504.  
  505. <!-- credit - DO NOT TOUCH -->
  506.  
  507. <div class="credit">
  508. <a href="http://enchantedthemes.tumblr.com" title="alydae">A.</a>
  509. </div>
  510.  
  511.  
  512. </body>
  513.  
  514.  
  515. <!-- combination filters by @magnusthemes -->
  516. <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
  517. <script src="https://static.tumblr.com/p0knose/FpAp5c11c/magnusthemes.combofilters.js"></script>
  518.  
  519. <script>
  520. $(document).ready(function() {
  521. var $container = $("#content");
  522. var filters = {};
  523. var $grid = $container.isotope({
  524. itemSelector: ".box",
  525. percentPosition: false
  526. });
  527. $(".option-set a").click(function(e) {
  528. var $this = $(this); // cache the clicked link
  529. var filterAttr = "data-filter-value";
  530. var filterValue = $this.attr(filterAttr); // cache the filter
  531. var $optionSet = $this.parents(".option-set"); // cache the parent element
  532. var group = $optionSet.attr("data-filter-group"); // cache the parent filter group
  533. var filterGroup = filters[group];
  534. if (!filterGroup) {
  535. filterGroup = filters[group] = [];
  536. }
  537. var $selectAll = $optionSet.find('a['+filterAttr+'=""]'); // the 'select all' button in the current group
  538. var activeClass = "selected", // the class for active links
  539. exclClass = "exclusive"; // the class for exclusive groups
  540. comboFiltering($this,filters,filterAttr,filterValue,$optionSet,group,$selectAll,activeClass,exclClass);
  541. var comboFilter = getComboFilter(filters);
  542. $grid.isotope({
  543. filter: comboFilter
  544. });
  545. $this.toggleClass(activeClass);
  546. e.preventDefault();
  547. });
  548. });
  549. </script>
  550.  
  551.  
  552. </html>
Add Comment
Please, Sign In to add comment