aureacor

page three: nausea — no filters

Sep 6th, 2023 (edited)
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.76 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!------------------------------------------------------
  3.  
  4. nausea @ aureacor
  5.  
  6. - do not remove credit
  7. - do not use as a base
  8.  
  9. - magnusthemes istotope combination filtering / not in use
  10. - metafizzy istotope / not in use
  11. - fontawesome icons
  12. - inspired by index47
  13.  
  14. -------------------------------------------------------->
  15.  
  16. <link rel="icon" type="image/png" href="{Favicon}">
  17. <title>{title}</title>
  18.  
  19. <style type="text/css">
  20.  
  21. /*------------------ GENERAL SETTINGS ------------------*/
  22.  
  23. :root {
  24. --fontone: times; /* main title, muse desc, muse title top */
  25. --fontthree: arial; /* flter, side description, muse title bottom */
  26.  
  27. --fontsize-one: 9.5px; /* muse description */
  28. --fontsize-two: 11px; /* filter */
  29. --fontsize-three: 13px; /* muse title */
  30. --fontsize-four: 15px; /* main title */
  31.  
  32. /* change image dimensions */
  33. --height: 375px;
  34. --width: 255px;
  35. --marbot: 50px; /* space beneath each muse */
  36.  
  37. /* general color settings */
  38. --bg: #fffefb;
  39. --text: #fff;
  40. --text-two: #000;
  41. --accent-one: #a6841c;
  42. --accent-two: #a1997d;
  43. --border: #d1d1d1;
  44.  
  45. --rightsize: 83%;
  46. --leftsize: 17%;
  47.  
  48. --gs: grayscale(100%); /* change to 0% if you don't want your image to be gray scale ater clicking on a character*/
  49. }
  50.  
  51. /*------------------ HEADER -----------------*/
  52.  
  53. header { width: 100%; height: 100%; }
  54.  
  55. .right {
  56. width: var(--rightsize);
  57. display: flex;
  58. justify-content: center;
  59. align-items: center;
  60. flex-wrap: wrap;
  61. padding: 25px 15px 25px 15px;
  62. border-bottom: 1px solid var(--border);
  63. border-left: 1px solid var(--border);
  64. }
  65.  
  66. .left {
  67. width: var(--leftsize);
  68. height: 100%;
  69. border-bottom: 1px solid var(--border);
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. }
  74.  
  75. .left a {
  76. font: 4px var(--fontthree);
  77. font-weight: 400;
  78. letter-spacing: 1px;
  79. text-transform: uppercase;
  80. }
  81.  
  82. .stay {
  83. background: var(--bg);
  84. position: fixed;
  85. width: 100%;
  86. z-index: 999;
  87. top: 0;
  88. height: 100px;
  89. display: flex;
  90. }
  91.  
  92. .filter {
  93. margin-right: 25px;
  94. color: var(--text-two);
  95. font-family: var(--fontthree);
  96. letter-spacing: 1px;
  97. text-align: center;
  98. }
  99.  
  100. .filter li, .filter li a {
  101. display: inline-block;
  102. margin-right: 3px;
  103. color: var(--text-two);
  104. font-size: var(--fontsize-two);
  105. }
  106.  
  107. .filter li a:hover {color: var(--accent-one);}
  108.  
  109. #gname {
  110. display: inline-block;
  111. font-size: var(--fontsize-one);
  112. text-transform: uppercase;
  113. letter-spacing: 1.25px;
  114. font-family: var(--fontthree);
  115. font-weight: 600;
  116. }
  117.  
  118.  
  119. #gname::after {
  120. content: "✶";
  121. font-size: 8px;
  122. position: relative;
  123. top: -1px;
  124. margin: 0px 8px;
  125. color: var(--border);
  126. }
  127.  
  128.  
  129. /*--------------------- PAGE TITLE ---------------------*/
  130.  
  131. .title {
  132. position: absolute;
  133. left: 0px;
  134. width: var(--leftsize);
  135. min-width: 100px;
  136. padding-right: 20px;
  137. margin-top: 100px;
  138. }
  139.  
  140. .title h1 {
  141.  
  142. color: var(--text-two);
  143. font-size: var(--fontsize-four);
  144. font-family: var(--fontone);
  145. text-transform: uppercase;
  146. letter-spacing: 6px;
  147. word-break: break-word;
  148. margin-bottom: 0px;
  149. margin-left: 40px;
  150. line-height: 130%;
  151. }
  152.  
  153. .title p, .title a {
  154.  
  155. text-transform: uppercase;
  156. font-family: arial;
  157. font-size: 8px;
  158. letter-spacing: 1.2px;
  159. text-transform: uppercase;
  160. line-height: 18px;
  161. color: var(--text-two);
  162. margin-top: 10px;
  163. margin-left: 40px;
  164. }
  165.  
  166.  
  167. /*---------------- MUSE SECTION ----------------*/
  168.  
  169. .container {
  170. width: var(--rightsize);
  171. right: 0;
  172. position: absolute;
  173. padding: 50px 75px 25px 10px;
  174. }
  175.  
  176. .grid { margin:50px auto 0px; }
  177.  
  178. .muse {
  179. background: #0a0a0a;
  180. height: var(--height);
  181. width: var(--width);
  182. margin-bottom: var(--marbot);
  183. transition: .5s ease;
  184. }
  185.  
  186. img {
  187. height: var(--height);
  188. width: var(--width);
  189. opacity:0.9;
  190. transition: .5s ease;
  191. object-fit: cover;
  192. }
  193. /*-------------------- MUSE NAME ---------------------*/
  194.  
  195. .bottomtext {
  196. color: var(--text);
  197. display: flex;
  198. justify-content: space-between;
  199. position: absolute;
  200. bottom: 0px;
  201. transition: .5s ease;
  202. width: 100%;
  203. height: 65px;
  204. }
  205.  
  206. .mtitle {
  207. margin: auto;
  208. text-align: center;
  209. width: 75%;
  210. }
  211.  
  212. .mtitle h1 {
  213. font-family: var(--fontthree);
  214. font-size: var(--fontsize-three);
  215. font-weight: 700;
  216. text-transform: uppercase;
  217. letter-spacing: 1.5px;
  218. line-height: 135%;
  219. margin-top: 3px;
  220. }
  221.  
  222. .mtitle h2 {
  223. font-family: var(--fontone);
  224. text-transform: lowercase;
  225. font-style: italic;
  226. font-size: 7px;
  227. font-weight: 400;
  228. letter-spacing: 1px;
  229. }
  230.  
  231. /*--------------- MUSE DESCRIPTION ---------------*/
  232.  
  233. .overlay {
  234. background-color: rgb(43 43 43 / 66%);
  235. /* image effect, must be rbg, the % is how
  236. transparent the overlay will be */
  237. position: absolute;
  238. height: 100%;
  239. top: 0; bottom: 0; left: 0; right: 0;
  240. opacity: 0;
  241. transition: .5s ease;
  242. mix-blend-mode: difference;
  243. /* delete this if you don't wont the image
  244. effect after clicking on an image */
  245. }
  246.  
  247. .text {
  248. font-size: 20px;
  249. text-align: center;
  250. position: absolute;
  251. top: 50%; left: 50%;
  252. opacity: 0;
  253. width: 70%;
  254. overflow: scroll;
  255. max-height: 50%;
  256. transition: .5s ease;
  257. -webkit-transform: translate(-50%, -50%);
  258. -ms-transform: translate(-50%, -50%);
  259. transform: translate(-50%, -50%);
  260. }
  261.  
  262.  
  263. .text p, .bio a {
  264. font-family: var(--fontone);
  265. font-size: var(--fontsize-one);
  266. color: var(--text);
  267. letter-spacing: 1.2px;
  268. text-transform: lowercase;
  269. line-height: 17px;
  270. transition: .5s ease;
  271. }
  272.  
  273. .bio {
  274. width: var(--width);
  275. position: absolute;
  276. bottom: 20px;
  277. text-align: center;
  278. opacity: 0;
  279. transition: .5s ease;
  280. }
  281.  
  282. .bio a:hover {color: var(--accent-one);}
  283. .bio a:not(:last-child):after {
  284. content: "/";
  285. margin: 0px 9px 0px 10px;
  286. color: white;
  287. }
  288.  
  289. /*------------------- DO NOT TOUCH -------------------*/
  290.  
  291. * { margin: 0 ; padding: 0 ; box-sizing: border-box; }
  292. * a { color: var(--text-two); text-decoration: none; transition: 0.5s ease;}
  293. * a:hover { color: var(--accent-one); }
  294. body { background: var(--bg); }
  295. body > iframe:first-child { display: none !important; }
  296. ::-webkit-scrollbar {display: none; }
  297. .c { position: fixed; bottom: 0.7em; right: 1em; color: red; }
  298. .c a {font-size: 10px; text-decoration: none; transition: 0.3s ease all; color: var(--text-two);}
  299. b {color: var(--accent-two); text-transform: uppercase; font-size: calc(var(--fontsize-one) - 2px);}
  300. u { text-decoration: none; border-bottom: 1px solid var(--accent-two); }
  301.  
  302. .muse:hover { cursor: crosshair;}
  303. .muse.selected img{ opacity: 0.3; transition: .5s ease; filter: var(--gs); }
  304. .muse.selected .bottomtext{ opacity: 0; transition: .5s ease; }
  305. .muse.selected .overlay { opacity: 1; }
  306. .muse.selected .text{ opacity: 1; }
  307. .muse.selected .bio {opacity: 1;}
  308.  
  309. </style>
  310.  
  311.  
  312. <!---------------- START ACTUAL PAGE ------------------->
  313.  
  314. <body>
  315. <!--------------- TITLE --------------->
  316.  
  317. <div class="title">
  318.  
  319. <h1> the masterlist </h1>
  320. <p> put some text here </p>
  321. <br>
  322. <a href="/"> back </a>
  323.  
  324. </div><div class="container"><div class="grid">
  325.  
  326. <!------------ ADD MUSES --------------->
  327.  
  328. <div class="muse">
  329. <img src="https://i.imgur.com/xDUIk1v.png">
  330. <div class="bottomtext"><div class="mtitle">
  331. <h2> subtitle </h1>
  332. <h1> character 1 </h1>
  333. </div></div><div class="overlay"></div><div class="text">
  334. <p> quote here </p>
  335. </div><div class="bio">
  336. <a href="/"> link one </a>
  337. <a href="/"> link two </a>
  338. </div></div>
  339.  
  340.  
  341. <div class="muse">
  342. <img src="https://i.imgur.com/xDUIk1v.png">
  343. <div class="bottomtext"><div class="mtitle">
  344. <h2> subtitle </h1>
  345. <h1> character 2 </h1>
  346. </div></div><div class="overlay"></div><div class="text">
  347. <p> quote here </p>
  348. </div><div class="bio">
  349. <a href="/"> link one </a>
  350. <a href="/"> link two </a>
  351. </div></div>
  352.  
  353.  
  354. <div class="muse">
  355. <img src="https://i.imgur.com/xDUIk1v.png">
  356. <div class="bottomtext"><div class="mtitle">
  357. <h2> subtitle </h1>
  358. <h1> character 3 </h1>
  359. </div></div><div class="overlay"></div><div class="text">
  360. <p> quote here </p>
  361. </div><div class="bio">
  362. <a href="/"> link one </a>
  363. <a href="/"> link two </a>
  364. </div></div>
  365.  
  366.  
  367. <div class="muse">
  368. <img src="https://i.imgur.com/xDUIk1v.png">
  369. <div class="bottomtext"><div class="mtitle">
  370. <h2> subtitle </h1>
  371. <h1> character 4 </h1>
  372. </div></div><div class="overlay"></div><div class="text">
  373. <p> quote here </p>
  374. </div><div class="bio">
  375. <a href="/"> link one </a>
  376. <a href="/"> link two </a>
  377. </div></div>
  378.  
  379.  
  380. <!----------------- DO NOT DELETE ------------------>
  381.  
  382. </div></div><div class="c"><script src="https://kit.fontawesome.com/7a02f4ca01.js" crossorigin="anonymous"></script>
  383. <a href="https://aureacor.tumblr.com" title="aureacor"><i class="fa-solid fa-heart"></i></a></div><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script><script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script><script src="https://static.tumblr.com/p0knose/FpAp5c11c/magnusthemes.combofilters.js"></script><script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script><script src="/path/to/masonry.pkgd.min.js"></script>
  384.  
  385. <script type="text/javascript">
  386. $(".muse").click(function(){
  387. $('.muse').not(this).removeClass('selected');
  388. $(this).toggleClass('selected')
  389. });
  390. </script>
  391. <script>
  392. $(document).ready(function() {
  393. var $container = $(".grid");
  394. var filters = {};
  395. var $grid = $container.isotope({
  396. itemSelector: ".muse",
  397. transitionDuration: '0s',
  398. masonry: {
  399. gutter: 60,
  400. horizontalOrder: true,
  401. fitWidth: true,
  402. percentPosition: false,
  403. }
  404. });
  405. $(".option-set a").mousedown(function(e) {
  406. var $this = $(this);
  407. var filterAttr = "data-filter-value";
  408. var filterValue = $this.attr(filterAttr);
  409. var $optionSet = $this.parents(".option-set");
  410. var group = $optionSet.attr("data-filter-group");
  411. var filterGroup = filters[group];
  412. if (!filterGroup) {
  413. filterGroup = filters[group] = [];
  414. }
  415. var $selectAll = $optionSet.find('a['+filterAttr+'=""]');
  416. var activeClass = "selected",
  417. exclClass = "exclusive";
  418. comboFiltering($this,filters,filterAttr,filterValue,$optionSet,group,$selectAll,activeClass,exclClass);
  419. var comboFilter = getComboFilter(filters);
  420. $grid.isotope({
  421. filter: comboFilter
  422. });
  423. $this.toggleClass(activeClass);
  424. e.preventDefault();
  425. });
  426. });
  427. </script> </body> </html>
Advertisement
Add Comment
Please, Sign In to add comment