aureacor

page one: intentions — description

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