Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <title>Titans: Families</title>
- <!--
- >> ETHEREAL THEMES // TITANS RP PAGE PACK - FAMILIES PAGE
- Designed by Ethereal Themes
- ethereal-themes.tumblr.com
- ⓒ 2016 - 2023
- Static Preview Images via unsplash.com and copyrighted to their respective owners:
- Terrah Holly @tlholly
- Zeyneo Sumer @zeynorjane
- Davyd Markovskyi @marik_m
- Christian Kock @xt1an
- >> TERMS OF USE
- Do NOT remove the credit
- Do NOT claim as your own
- *You can move the credit, but leave it visible
- *Edit as much as you'd like
- *Feel free to ask about basic customization
- *Page suggestions always welcomed
- >> COLOR CHEAT SHEET:
- Black - #000000
- White - #ffffff
- Background - #f9f9f9
- Text - #000000
- Borders - #e5e5e5
- Red - #97211a
- Pale Green - #929d87
- Pale Baby Blue - #86a8a1
- To add a background image, search:
- BACKGROUND IMAGE HERE
- You may also go through the css and change specific sections
- -->
- <!-- SCRIPTS -->
- <!-- jQuery Ver. 3.5.1 -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
- <!-- Jam Icons: https://jam-icons.com/ -->
- <link rel="stylesheet" href="https://unpkg.com/jam-icons/css/jam.min.css">
- <!-- Tippy JS by Bootstrap: https://tippyjs.bootcss.com -->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5"></script>
- <script>
- $(document).ready(function(){
- tippy('[title]', {
- arrow: false,
- placement: 'bottom',
- delay: 5,
- distance: 10,
- maxWidth: 300,
- followCursor: true,
- allowHTML: true,
- theme: 'custom',
- ignoreAttributes: true,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- });
- </script>
- <!--------------------------------------------
- ----------------------------------------------
- These are the same fonts as the RHEA theme, you can use any you like by adding the name by searching
- BODY {
- and swapping out KARLA on the font name (example shown below):
- font-family:'Karla', sans-serif;
- ----------------------------------------------
- --------------------------------------------->
- <!-- Google Fonts: Font Plugins: https://fonts.google.com/ -->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,700;1,400;1,700&family=Lato:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&family=Nunito:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,400;0,700;1,400;1,600&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
- <!-- STYLESHEET -->
- <style type="text/css">
- /* --- SCROLLBAR ---*/
- ::-webkit-scrollbar-thumb {background-color:#000000;border:3px solid #f9f9f9;}
- ::-webkit-scrollbar {background:#ddd;width:7px;border:3px solid #f9f9f9;}
- div::-webkit-scrollbar-thumb {border:0px;width:0px;}
- div::-webkit-scrollbar {border:0px;width:0px;}
- div::-webkit-scrollbar-track {border:0px;width:0px;}
- /* --- SELECTION ---*/
- ::-moz-selection {color:#ffffff;background:#97211a;opacity:1;}
- ::selection {color:#ffffff;background:#97211a;opacity:1;}
- /* --- TOOLTIPS ---*/
- .tippy-tooltip.custom-theme {
- $tooltipBg: #ffffff;
- background-color: #ffffff;
- color:#000000;
- border-radius:0px;
- letter-spacing:0.5px;
- margin:10px 0px 0px 50px;
- }
- .tippy-content {
- padding:0px 5px;
- text-transform:uppercase;
- font-size:calc(10.5pt - 1pt);
- border:1px solid #ebebeb;
- }
- /* --- TUMBLR TOOLS --- */
- iframe.tmblr-iframe {
- position:fixed;
- z-index:14!important;
- top:10px!important;
- right:10px!important;
- opacity:0.5;
- padding-right:0px;
- transform:scale(0.47);
- transform-origin:100% 0;
- -webkit-transform:scale(0.47);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.47);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.47);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.47);
- -ms-transform-origin:100% 0;
- transition:.2s ease-in-out;
- -webkit-transition:.2s ease-in-out;
- -moz-transition:.2s ease-in-out;
- /* --- CHANGE 1 TO 0 BELOW FOR LIGHT TUMBLR TOOLS --- */
- filter:invert(1);
- -webkit-filter:invert(1);
- -o-filter:invert(1);
- -moz-filter:invert(1);
- -ms-filter:invert(1);
- /* --- CHANGE 1 TO 0 BELOW FOR LIGHT TUMBLR TOOLS --- */
- }
- /* --- BODY --- */
- body {
- margin: 0px;
- padding: 0px;
- font-family:'Raleway', sans-serif;
- color:#000000;
- font-size:10.5pt;
- line-height:160%;
- font-weight:normal;
- word-wrap:normal;
- text-align:left;
- background:#f9f9f9;
- -webkit-font-feature-settings: "lnum";
- -moz-font-feature-settings: "lnum";
- font-feature-settings: "lnum";
- }
- a {
- color:#000000;
- text-decoration:none;
- border-bottom:0px;
- padding:0px;
- cursor:help;
- transition:0.2s ease-in-out;
- -webkit-transition:0.2s ease-in-out;
- -moz-transition:0.2s ease-in-out;
- }
- small, big {font-size:10.5pt;}
- b {font-weight:bold;color:#97211a;}
- i {font-style:italic;font-weight:bold;color:#86a8a1;}
- em {font-style:normal;color:#929d87;}
- hr.divider, hr, hr.separator {display:block;margin:0.5em auto;border-style:inset;border-color:#e5e5e5;border-bottom:1px;}
- pre {
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- font-family:'Raleway', sans-serif;
- color:#ffffff;
- font-size:10.5pt;
- padding:10px;
- border:0px!important;
- margin:10px 0px;
- background:#929d87;
- }
- ul, ol, li {text-align:left;}
- ul, ol {margin:0px;padding:0;}
- ul li, ol li {margin-bottom:5px;}
- blockquote {
- padding:10px 0px 10px 15px;
- text-decoration:none;
- border-left:2px solid #97211a;
- margin:10px 0px 10px 10px;
- }
- blockquote a, blockquote b, blockquote i, blockquote em {color:#000000;}
- blockquote img {max-width:100%;display:block;margin-bottom:5px;}
- .et {
- position:fixed;
- height:20px;
- width:20px;
- line-height:22px;
- right:10px;
- bottom:10px;
- opacity:0.2;
- text-align:center;
- font-size:7pt;
- background:#000000;
- border-radius:50%;
- z-index:10;
- }
- .et a {text-transform:uppercase;color:#ffffff;}
- /* --- TOPBAR --- */
- .topbar {
- position:fixed;
- top:0px;
- left:0px;
- width:100%;
- padding:25px 0px;
- text-align:center;
- z-index:7;
- border-bottom:1px solid #e5e5e5;
- background:#ffffff;
- }
- .topbar a {position:relative;text-transform:uppercase;margin:0px 20px;vertical-align:middle;padding:4px 2px;color:#000000;border-top:2px solid transparent;border-bottom:2px solid transparent;}
- .topbar a:nth-child(3n+1):hover {border-top:2px solid #97211a;border-bottom:2px solid #97211a;}
- .topbar a:nth-child(3n+2):hover {border-top:2px solid #929d87;border-bottom:2px solid #929d87;}
- .topbar a:nth-child(3n+3):hover {border-top:2px solid #86a8a1;border-bottom:2px solid #86a8a1;}
- /* --- FILTER BAR --- */
- .filter_cont {
- position:fixed;
- top:0px;
- left:0px;
- width:100%;
- padding:25px 0px;
- text-align:center;
- z-index:7;
- border-bottom:1px solid #e5e5e5;
- background:#ffffff;
- }
- /* --- FILTERS --- */
- .filters_cont {
- position:fixed;
- top:79px;
- left:30px;
- width:200px;
- height:calc(100% - 100px);
- padding:20px;
- text-transform:lowercase;
- z-index:10;
- }
- .filters, .filters_cont h1, .filters button, .buttons b, .buttons b:before {color:#000000;}
- .filters_cont h1 {
- font-family: 'Raleway', serif;
- text-align:left;
- text-transform:uppercase;
- font-size:14pt;
- font-weight:400;
- letter-spacing:1px;
- margin-top:20px;
- margin-bottom:10px;
- }
- .filters_cont h1:first-of-type {margin-top:0px;}
- .filters {
- position:relative;
- top:50%;
- margin-top:-40px;
- width:160px;
- padding:20px;
- text-transform:lowercase;
- transform:translateY(-50%);
- display:inline-block;
- border:1px solid #e5e5e5;
- background:#ffffff;
- }
- .filters button {
- display:block;
- font-size:9.5pt;
- text-align:left;
- padding:0px;
- border:none;
- text-decoration:none;
- margin-bottom:5px;
- text-transform:lowercase;
- background-color:transparent;
- }
- .filters button:active {border-color:transparent;}
- button.active.focus, button.active:focus, button.focus, button:active.focus, button:active:focus, button:focus {outline:none;box-shadow:none;background-color:transparent;}
- .buttons b:before {
- display: inline-block;
- margin-right:5px;
- width:15px;
- font-family:jam-icons;
- content: '\ebe8';
- vertical-align: middle;
- text-align: left;
- font-weight:400;
- }
- .buttons b {position:relative;left:-15px;font-weight:400;}
- .filters .button:before {
- display:inline-block;
- width:15px;
- font-family:jam-icons;
- content:'';
- vertical-align:middle;
- text-align:left;
- }
- .filters .button.is-checked:before {
- content:'\e9a7';
- color:#87a8a1;
- font-weight:700;
- z-index:2;
- }
- /* --- CONTAINER --- */
- #container {position:absolute;top:120px;left:280px;width:calc(100% - 200px - 130px);text-align:center;}
- .content {margin:0 auto;}
- /* --- ITEMS --- */
- .item {
- display:inline-block;
- width:200px;
- height:350px;
- border:1px solid #e5e5e5;
- margin:0px 20px 45px 20px;
- overflow:hidden;
- background:#ffffff;
- }
- .item_image {width:200px;height:170px;margin:0px 0px 10px 0px;}
- .item_image img {width:200px;height:170px;margin:0;}
- .item_section {text-align:left;height:115px;padding:20px 15px;overflow-y:scroll;}
- .item_section h1 {
- width:185px;
- margin:-20px 0px 20px -20px;
- padding:10px;
- text-align:center;
- color:#ffffff;
- text-transform:uppercase;
- font-size:16pt;
- border-bottom:1px solid #e5e5e5;
- font-weight:400;
- }
- .item:nth-of-type(6n+1) .item_section h1 {background:#97211a;}
- .item:nth-of-type(6n+2) .item_section h1 {background:#919d87;}
- .item:nth-of-type(6n+3) .item_section h1 {background:#87a8a1;}
- .item:nth-of-type(6n+4) .item_section h1 {background:#87a8a1;}
- .item:nth-of-type(6n+5) .item_section h1 {background:#97211a;}
- .item:nth-of-type(6n+6) .item_section h1 {background:#919d87;}
- .item_section h2, .item_section h3 {
- text-align:left;
- color:#000000;
- text-transform:uppercase;
- font-size:16pt;
- margin:20px 0px 20px 0px;
- font-weight:400;
- }
- </style>
- </head>
- <body>
- <!-- DO NOT EDIT -->
- <div class="et"><a href="https://ethereal-themes.tumblr.com">et</a></div>
- <!---------------------------------------------
- -----------------------------------------------
- START TOPBAR
- -----------------------------------------------
- ---------------------------------------------->
- <div class="topbar">
- <a href="/">Home</a>
- <a href="/ask">Ask</a>
- <a href="https://">Link</a>
- <a href="https://">Link</a>
- <a href="https://">Link</a>
- <a href="https://">Link</a>
- <a href="https://">Link</a>
- <a href="https://">Link</a>
- </div>
- <!-- END TOPBAR ----------------->
- <!----------------------------------------
- ------------------------------------------
- START FILTERS:
- HOW TO
- //
- TO ADD FILTERING TO THE ACTUAL ITEM BLOCKS SEE THE ITEM CONTAINER RIGHT BELOW THIS FILTERING TAGS BAR TO LINK THESE FILTER TAGS WITH YOUR ITEMS
- Title your Catergory between <h1> and </h1>
- Under the Catergory title, there's the main button group codes, you can name these after the catergories or simply number them, they group the filter tags so if you click "all" on a different catergory, it doesn't completely reset the entire page
- For the main tag (eg "All") the default code is:
- <button class="button is-checked" data-filter="">
- the "is-checked" is the intitial checked box. For all other sub tags use this code for EACH new filter
- <button class="button" data-filter=".filter"><b>Filter Name</b></button>
- Change the .filter to the filter link you want, ie location, type of location, hiring or not, etc. I set my preview page as a locations / occupation page, but you can use this for skeletons, wanted / banned, etc
- For example here are some filter tags I'd need
- <button class="button" data-filter=".nyhavn"><b>Nyhavn</b></button>
- <button class="button" data-filter=".fooddrink"><b>Food & Drink</b></button>
- <button class="button" data-filter=".health"><b>Health</b></button>
- REMEMBER TO ONLY USE ONE TAG PER LINK
- ------------------------------------------
- ----------------------------------------->
- <div class="filters_cont">
- <div class="filters">
- <div class="buttons">
- <h1>Neighborhood</h1>
- <div class="button-group" data-filter-group="one">
- <button class="button is-checked" data-filter=""><b>all</b></button>
- <button class="button" data-filter=".nyhavn"><b>Nyhavn</b></button>
- <button class="button" data-filter=".soren"><b>Soren</b></button>
- <button class="button" data-filter=".orestad"><b>Orestad</b></button>
- </div>
- <h1>Category</h1>
- <div class="button-group" data-filter-group="two">
- <button class="button is-checked" data-filter=""><b>all</b></button>
- <button class="button" data-filter=".houses"><b>Houses</b></button>
- <button class="button" data-filter=".fooddrink"><b>Food & Drink</b></button>
- <button class="button" data-filter=".health"><b>Health & Beauty</b></button>
- <button class="button" data-filter=".rec"><b>Recreational</b></button>
- </div>
- </div>
- </div>
- </div>
- <!-- END FILTERS --------------------------->
- <!---------------------------------------------
- -----------------------------------------------
- START CONTAINER:
- 1. To add more info blocks, copy from "Start Individual Item" to "End Individual Item" and paste after the last block
- -----------------------------------------------
- ---------------------------------------------->
- <div id="container"><div class="content">
- <!----------------------------------------
- ------------------------------------------
- HOW TO ADD FILTERING SEE THE FILTERING HTML RIGHT ABOVE THIS CONTAINER BLOCK AND CONTINUE BELOW FOR ITEM DIVS
- Right under "Start Individual Item" there's this code:
- <div class="item">
- Make sure you leave "item" because that's the "all" filter and has all the stylying attached. Add your one word filters after item making sure to use a space between each tag. For example, my bakery in Soren would have these filters:
- <div class="item soren fooddrink">
- My gym in Orestad would have:
- <div class="item orestad health">
- You can have as many filters as you want as long as you match them to the filtering tags links above
- With the filter tag links you made on the filters bar, add the relevant tag to each item, so all the bars and restaurants have:
- <div class="item fooddrink">
- and all the bars and resaurants in Nyhavn have:
- <div class="item nyhavn fooddrink">
- So when you click the "Soren" tag and then the "Health" tag on the filter bar, only the items you've tagged with nyhavn and health will show
- ------------------------------------------
- ----------------------------------------->
- <!------- START INDIVIDUAL ITEM ----------->
- <div class="item soren houses"><!----- Add filter tags here -->
- <div class="item_image">
- <img src="https://static.tumblr.com/zvesamf/S7Pr625yg/filter_soren_islandsbryggeapt.jpg" />
- </div>
- <div class="item_section">
- <h1>Brygge House</h1>
- Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna et velit dignissim, a <b>placerat</b> nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, <i>fringilla</i>.
- <pre>Preformatted text block</pre>
- Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna et velit dignissim, a <b>placerat</b> nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, <i>fringilla</i> fermentum ante. Donec nec elit <em>molestie</em> massa finibus. Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna.
- </div>
- </div>
- <!------- END INDIVIDUAL ITEM ----------->
- <!------- START INDIVIDUAL ITEM ----------->
- <div class="item nyhavn health"><!----- Add filter tags here -->
- <div class="item_image">
- <img src="https://static.tumblr.com/zvesamf/JOnr625yi/filter_nyhavn_noliahair.jpg" />
- </div>
- <div class="item_section">
- <h1>Nolia Hair</h1>
- Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna et velit dignissim, a <b>placerat</b> nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, <i>fringilla</i>.
- <pre>Preformatted text block</pre>
- Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna et velit dignissim, a <b>placerat</b> nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, <i>fringilla</i> fermentum ante. Donec nec elit <em>molestie</em> massa finibus. Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna.
- </div>
- </div>
- <!------- END INDIVIDUAL ITEM ----------->
- <!------- START INDIVIDUAL ITEM ----------->
- <div class="item filter filter"><!----- Add filter tags here -->
- <div class="item_image">
- <img src="https://static.tumblr.com/zvesamf/hoCr625yr/200x170.png" />
- </div>
- <div class="item_section">
- <h1>Item Name</h1>
- Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna et velit dignissim, a <b>placerat</b> nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, <i>fringilla</i>.
- <pre>Preformatted text block</pre>
- Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna et velit dignissim, a <b>placerat</b> nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, <i>fringilla</i> fermentum ante. Donec nec elit <em>molestie</em> massa finibus. Lorem ipsum dolor sit amet, a <em>consectetur</em> adipiscing elit. Aliquam pretium magna.
- </div>
- </div>
- <!------- END INDIVIDUAL ITEM ----------->
- <!------- END ITEMS ABOVE -------->
- </div></div>
- <!----------- END CONTAINER ----------->
- <!------- SCRIPTS: DO NOT EDIT ------->
- <!-- Masonry Grid Layout by Desandro: https://masonry.desandro.com/ -->
- <script src="//unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
- <!-- Isotope by Metafizzy: https://isotope.metafizzy.co/ -->
- <script src="//unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
- <!-- imagesLoaded by Desandro: https://imagesloaded.desandro.com/ -->
- <script src="//unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
- <!-- Start Masonry, Isotope, imageLoaded -->
- <script>
- var $grid = $('.content').masonry({
- itemSelector: '.item',
- columnWidth: '.item',
- fitWidth: true
- });
- $grid.imagesLoaded().progress( function() {
- $grid.masonry('layout');
- });
- </script>
- <script type="text/javascript">
- $(document).ready(function() {
- // init Isotope
- var $grid = $('#container').isotope({
- itemSelector: '.item',
- masonry: {
- gutter: 1
- },
- hiddenStyle: {
- opacity: 0
- },
- visibleStyle: {
- opacity: 1
- },
- transitionDuration: '0.5s'
- });
- // layout Isotope after each image loads
- $grid.imagesLoaded().progress(function() {
- $grid.isotope('layout');
- });
- // store filter for each group
- var filters = {};
- $('.filters').on('click', '.button', function() {
- var $this = $(this);
- // get group key
- var $buttonGroup = $this.parents('.button-group');
- var filterGroup = $buttonGroup.attr('data-filter-group');
- // set filter for group
- filters[filterGroup] = $this.attr('data-filter');
- // combine filters
- var filterValue = concatValues(filters);
- // set filter for Isotope
- $grid.isotope({
- filter: filterValue
- });
- });
- // change is-checked class on buttons
- $('.button-group').each(function(i, buttonGroup) {
- var $buttonGroup = $(buttonGroup);
- $buttonGroup.on('click', 'button', function() {
- $buttonGroup.find('.is-checked').removeClass('is-checked');
- $(this).addClass('is-checked');
- });
- });
- // change size of item by toggling gigante class
- $grid.on('click', '.item', function() {
- $(this).toggleClass('expand');
- // trigger layout after item size changes
- $grid.isotope('layout');
- });
- });
- // flatten object by concatting values
- function concatValues(obj) {
- var value = '';
- for (var prop in obj) {
- value += obj[prop];
- }
- return value;
- }
- </script>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement