aureacor

page one: intentions — no description

Feb 8th, 2025 (edited)
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.12 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC>
  2.  
  3. <!------------------------------------------------------
  4.  
  5. intentions @ aureacor
  6.  
  7. - isotope filter from https://isotope.metafizzy.co/
  8. - icons from fontawesome
  9. - do not remove credit
  10. - do not remove credit
  11.  
  12. -------------------------------------------------------->
  13. <title>{title}</title>
  14.  
  15. <head>
  16.  
  17. <style type="text/css">
  18.  
  19. :root {
  20. --font: libre baskerville;
  21. --background: #F9F6F0;
  22. --link: #4a4643;
  23. --buttonhover: #000;
  24. --hover: #8a7f76;
  25.  
  26. --charactername: #4a4643;
  27. --subtitle: #4a4643;
  28. --desc: #4a4643;
  29. --border: #4a4643;
  30.  
  31. --filtertitle: black;
  32. --buttonchecked: black;
  33. --buttonunchecked: #8a7f76;
  34. --filterborder: #4a4643;
  35.  
  36. --width: 250px;
  37. --height: 410px;
  38. --imgmove: -35px;
  39.  
  40. }
  41.  
  42. /* NOTES
  43. 1. image is 250 x 350
  44. 2. change height to 315px here for a square muse
  45. 3. try not to change the width below 200px unless you know how to change the proper settings
  46. 4. change "imgmove" depending on what you like most, higher negative number means it'll move up higher. I suggest -35px for square images
  47. 5. don't exceed 4 lines of description next unless you change the "--imgmove" px as well. doing so will change the image. */
  48.  
  49.  
  50. /* CONTAINERS */
  51.  
  52. ::-webkit-scrollbar { width: 0px; background: transparent; /* make scrollbar transparent */ }
  53.  
  54. * { box-sizing: border-box; }
  55. body { background: var(--background); height: 100%; }
  56.  
  57. a {
  58. font-size: 12px;
  59. letter-spacing: 1px;
  60. text-transform:uppercase;
  61. font-weight: 600;
  62. position: relative;
  63. color: var(--link);
  64. text-decoration: none;
  65. }
  66.  
  67. .container {
  68. margin-top: 45px;
  69. display: grid;
  70. grid-template-columns: 0.2fr 0.8fr;
  71. grid-template-rows: 1fr;
  72. grid-auto-columns: 1fr;
  73. grid-auto-rows: 1fr;
  74. gap: 0px 0px;
  75. grid-auto-flow: row;
  76. grid-template-areas:
  77. "side-information characters";
  78. }
  79.  
  80. .side-information {
  81. grid-area: side-information;
  82. padding-left: 70px;
  83. margin-top: 60px;
  84. position: fixed;
  85. width: 20%;
  86. min-width: 190px;
  87. }
  88.  
  89. .side-information h1 {
  90. font-family: var(--font);
  91. font-size: 45px;
  92. word-break: break-word;
  93. text-transform: uppercase;
  94. font-weight: 400;
  95. letter-spacing: 1px;
  96. margin: 0px 0px 7px 0px;
  97. }
  98.  
  99. .filters { margin-top: 70px;}
  100.  
  101. .characters {
  102. display: flex;
  103. grid-area: characters;
  104. margin-top: 60px;
  105. margin-left: 100px;
  106. margin-bottom: 30px;
  107. }
  108. .character:hover { cursor: pointer; }
  109.  
  110. #back a {
  111. color: var(--link);
  112. font-size: 10px;
  113. font-weight: 500;
  114. letter-spacing: 0.7px;
  115. padding-bottom: 3px;
  116. transition: 0.3s ease all;
  117. }
  118.  
  119. #back a:hover {color: var(--hover); transition: 0.3s ease all; }
  120.  
  121.  
  122. /* ---- button activity ---- */
  123.  
  124. .button-group .button {
  125. float: left;
  126. border-radius: 0;
  127. margin-left: 0;
  128. margin-right: 1px;
  129. }
  130.  
  131. .button:hover { color: var(--buttonhover); transition: 0.3s ease all;}
  132. .button.is-checked { color: var(--buttonchecked);}
  133.  
  134. .button {
  135. color: var(--buttonunchecked);
  136. background: var(--background);
  137. padding: 2px 15px 2px 0px;
  138. display: inline-block;
  139. border: none;
  140. border-radius: 7px;
  141. margin: 5px;
  142. font-family: sans-serif;
  143. font-size: 14.5px;
  144. cursor: pointer;
  145. transition: 0.3s ease all;
  146. font-family: var(--font);
  147. }
  148.  
  149. .button-group:after {
  150. content: '';
  151. display: block;
  152. clear: both;
  153. }
  154.  
  155. .ui-group { margin-bottom: 30px; }
  156. .ui-group .button-group { display: inline-block;}
  157.  
  158. .ui-group h3 {
  159. color: var(--filtertitle);
  160. font-family: var(--font);
  161. font-size: 13px;
  162. font-weight: 400;
  163. letter-spacing: 1px;
  164. text-transform: uppercase;
  165. margin-bottom: -1px;
  166. border-bottom: 1px solid var(--filterborder);
  167. padding-bottom: 6px;
  168. }
  169.  
  170.  
  171. /* ---- MUSE ---- */
  172.  
  173. .muse * { transition: 0.3s ease all; }
  174. .muse:hover { cursor: pointer;}
  175.  
  176. .muse {
  177. margin-left: 50px;
  178. margin-bottom: 60px;
  179. width: var(--width);
  180. height: var(--height);
  181. overflow: hidden;
  182. border-bottom: 1px solid var(--border);
  183. }
  184.  
  185. .muse img {
  186. width: var(--width);
  187. height: calc(var(--height) - 65px);
  188. object-fit: cover;
  189. display: block;
  190. }
  191.  
  192. .muse h3 {
  193. color: var(--charactername);
  194. font-family: var(--font);
  195. font-weight: 400;
  196. line-height: 28px;
  197. font-size: 22px;
  198. letter-spacing: 1.1px;
  199. margin: 0;
  200. text-transform: uppercase;
  201. padding: 8px 0px 0px;
  202. word-break: break-word;
  203.  
  204. }
  205.  
  206. .muse h1 {
  207. color: var(--subtitle);
  208. font-family: var(--font);
  209. margin: -3px 0px 0px 0px;
  210. padding: 0px 0px 10px;
  211. line-height: 25px;
  212. font-weight: 500;
  213. font-size: 15px;
  214. font-style: italic;
  215. word-break: break-all;
  216.  
  217. }
  218.  
  219. /* ---- active muse styling ---- */
  220. .focus-content p {padding-left: 10px; border-left: 1px solid black;}
  221. .muse.selected p { margin-top: -25px;}
  222. .muse.selected h1 {color: transparent; transition: 0.2s ease all; } /* CHANGE COLOR HERE TO WHATEVER YOU WANT IF YOU DON'T WANT THE SUBTITLE TO DISAPPEAR WHEN YOU CLICK ON THE MUSE */
  223.  
  224. #one .muse.selected img { margin-top: calc(var(--imgmove) - 2px);}
  225. #two .muse.selected img { margin-top: calc(var(--imgmove) - 20px);}
  226. #three .muse.selected img { margin-top: calc(var(--imgmove) - 38px);}
  227. #four .muse.selected img { margin-top: calc(var(--imgmove) - 57px);}
  228.  
  229.  
  230. .muse p {
  231. margin-bottom: -8px;
  232. color: var(--desc);
  233. font-family: var(--font);
  234. font-weight: 300;
  235. line-height: 1.5;
  236. font-size: 12.5px;
  237. letter-spacing: 1.5 px;
  238. line-height: 18px;
  239. }
  240.  
  241.  
  242. .muse a { margin-top: -100px; padding: 0px; transition: 0.3s ease all; }
  243. .muse a:hover { color: var(--hover); transition: 0.3s ease all; }
  244. #muselinks {margin-top: 20px;}
  245.  
  246.  
  247.  
  248. /* ---- CREDIT ---- */
  249.  
  250. .credit { position: fixed; bottom: 0.7em; right: 1em; }
  251. .credit a {font-size: 10px; text-decoration: none; transition: 0.3s ease all;}
  252.  
  253. </style>
  254. </head>
  255. <body>
  256.  
  257. <div class="container">
  258. <div class="side-information">
  259.  
  260. <h1>masterlist</h1>
  261. <div id="back"><a href="/"><i class="fa-solid fa-arrow-left-long"></i> return</i></a></div>
  262.  
  263. <!-- INSTRUCTIONS : PLEASE READ
  264. 1. You can add as many filters buttons & filter groups as you want.
  265. 2. Do not delete the "all" button -->
  266.  
  267.  
  268. <div class="filters">
  269. <div class="ui-group">
  270. <h3>availability</h3>
  271. <div class="button-group js-radio-button-group" data-filter-group="color">
  272. <button class="button is-checked" data-filter="">all</button>
  273. <button class="button" data-filter=".open">open</button>
  274. <button class="button" data-filter=".closed">closed</button>
  275.  
  276. </div>
  277. </div>
  278.  
  279.  
  280. <div class="ui-group">
  281. <h3>year</h3>
  282. <div class="button-group js-radio-button-group" data-filter-group="size">
  283. <button class="button is-checked" data-filter="">all</button>
  284. <button class="button" data-filter=".filter1">filter 1</button>
  285. <button class="button" data-filter=".filter2">filter 2</button>
  286. <button class="button" data-filter=".filter3">filter 3</button>
  287. <button class="button" data-filter=".filter4">filter 4</button>
  288. </div>
  289. </div>
  290.  
  291. <div class="ui-group">
  292. <h3>status</h3>
  293. <div class="button-group js-radio-button-group" data-filter-group="shape">
  294. <button class="button is-checked" data-filter="">all</button>
  295. <button class="button" data-filter=".filter01">filter 01</button>
  296. </div>
  297. </div>
  298.  
  299.  
  300. </div>
  301. </div>
  302.  
  303.  
  304. <div class="characters">
  305.  
  306. <!-- MUSES GO BELOW HERE. Go to /intentions/guide for a detailed guide.-->
  307.  
  308. <div id="one"> <!-- change "one" to the number of lines your desc has. -->
  309. <div class="muse item open filter1 1 filter01">
  310. <img src="https://i.imgur.com/xDUIk1v.png"/>
  311. <h3>name</h3>
  312. <h1>subtitle</h1></div>
  313.  
  314.  
  315. <div id="one">
  316. <div class="muse item open filter2">
  317. <img src="https://i.imgur.com/xDUIk1v.png"/>
  318. <h3>name</h3>
  319. <h1>subtitle</h1></div>
  320.  
  321.  
  322. <div id="one">
  323. <div class="muse item closed filter4 filter01">
  324. <img src="https://i.imgur.com/xDUIk1v.png"/>
  325. <h3>name</h3>
  326. <h1>subtitle</h1></div>
  327.  
  328.  
  329. <div id="one">
  330. <div class="muse item closed filter3 filter01">
  331. <img src="https://i.imgur.com/xDUIk1v.png"/>
  332. <h3>name</h3>
  333. <h1>subtitle</h1></div>
  334.  
  335. <!----- MUSES GO ABOVE THIS LINE , DO NOT TOUCH ANYTHING BELOW ------>
  336.  
  337.  
  338. </div>
  339. <div class="credit"><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/2.1.1/jquery.min.js"></script>
  340. <script type="text/javascript">
  341. $(".muse").click(function(){
  342. $('.muse').not(this).removeClass('selected');
  343. $(this).toggleClass('selected')
  344.  
  345. });
  346. </script>
  347. <script src="https://kit.fontawesome.com/7a02f4ca01.js" crossorigin="anonymous"></script>
  348. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
  349. <script src="https://npmcdn.com/isotope-layout@3/dist/isotope.pkgd.js"></script>
  350.  
  351. <script type="text/javascript">
  352. // external js: isotope.pkgd.js
  353.  
  354. // init Isotope
  355. var $grid = $('.characters').isotope({
  356. itemSelector: '.item'
  357. });
  358.  
  359. // store filter for each group
  360. var filters = {};
  361.  
  362. $('.filters').on( 'click', '.button', function( event ) {
  363. var $button = $( event.currentTarget );
  364. // get group key
  365. var $buttonGroup = $button.parents('.button-group');
  366. var filterGroup = $buttonGroup.attr('data-filter-group');
  367. // set filter for group
  368. filters[ filterGroup ] = $button.attr('data-filter');
  369. // combine filters
  370. var filterValue = concatValues( filters );
  371. // set filter for Isotope
  372. $grid.isotope({ filter: filterValue });
  373. });
  374.  
  375. // change is-checked class on buttons
  376. $('.button-group').each( function( i, buttonGroup ) {
  377. var $buttonGroup = $( buttonGroup );
  378. $buttonGroup.on( 'click', 'button', function( event ) {
  379. $buttonGroup.find('.is-checked').removeClass('is-checked');
  380. var $button = $( event.currentTarget );
  381. $button.addClass('is-checked');
  382. });
  383. });
  384.  
  385. // flatten object by concatting values
  386. function concatValues( obj ) {
  387. var value = '';
  388. for ( var prop in obj ) {
  389. value += obj[ prop ];
  390. }
  391. return value;
  392. }
  393.  
  394.  
  395. </script>
  396. <!-----end filter scripts------>
  397.  
  398.  
  399. </body>
  400.  
  401.  
  402. </html>
Advertisement
Add Comment
Please, Sign In to add comment