Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- - movie page #1 'fantasma' by skye southcodes.tumblr.com
- - modify as you please but please do not touch the credit
- - any errors? need help? have questions? let me know!
- southcodes.tumblr.com/inbox
- - normalize css by https://github.com/necolas
- - fonts by google
- - honeybee icons by https://honeybee.suiomi.com/
- - ghost png by Good Ware https://www.flaticon.com/free-icon/ghost_2432928?term=ghost&page=1&position=8
- - corner pumpkin by https://extasisthemes.com/post/631259127540219905/a-goodies-pack-by-extasisthemes-iron-man-bubble
- - filtering by https://isotope.metafizzy.co/ + no layout mode: https://github.com/metafizzy/isotope/issues/675#issuecomment-40675160
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{title}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="shortcut icon" href="{favicon}">
- <meta name="description" content="{MetaDescription}"/>
- <!-- fonts -->
- <link href="https://fonts.googleapis.com/css2?family=Nosifer&family=Open+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700" rel="stylesheet">
- <!-- normalize -->
- <link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet">
- <!-- honeybee icons -->
- <link rel="stylesheet" href="https://solrainha.github.io/honeybee/honeybee.css" >
- <style>
- .tmblr-iframe {margin:.7rem;opacity:.6;-ms-transform: scale(0.85); /* IE 9 */-webkit-transform: scale(0.85); /* Safari */transform: scale(0.85);}
- .tmblr-iframe:hover {opacity:.8;}
- ::-webkit-scrollbar-thumb:vertical {border-right:2px solid orange;}
- ::-webkit-scrollbar {width:6px}
- ::-webkit-scrollbar-track-piece{margin:5px 0;}
- pre {font-family:consolas;
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4- */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word;} /* Internet Explorer 5.5+ */
- body, figure{margin:0;padding:0}
- html{font: 14px 'Open Sans', sans-serif;}
- body {font-size:14px;color:#fafafa;background:#000000;}
- a {text-decoration: none;color:orange;word-break:break-word;}
- a:hover {color:orangered;}
- blockquote {margin:0;padding:0;}
- img {max-width:100%;height: auto;display: block;margin: .7rem 0}
- hr {border:0;border-top:1px solid #aaa;margin:0;}
- /* header */
- header {
- margin:4rem auto;
- position:relative
- }
- h1 {
- font:400 3rem 'Nosifer', cursive;
- text-align: center;
- margin-bottom:2rem;
- letter-spacing: .8rem;
- }
- #ghost-line {
- position:absolute;
- z-index:-1;
- top:5rem;right:3rem;left:3rem;
- border-color:orange}
- figure.ghost {
- position:relative;
- width:100%}
- img.ghost {
- width:10rem;
- background:#000;
- margin:auto;
- display:block;
- }
- #description {
- width:90vw;
- max-width: 40rem;
- margin:4rem auto;
- background:rgba(225,225,225,.3);
- border:1px solid orange;
- padding:2rem 4rem;
- text-align:center;
- box-sizing: border-box;
- line-height: 180%;
- letter-spacing: .03rem;
- }
- /* nav */
- #navi ul,#navi li {list-style-type:none;margin:0;padding:0;}
- #navi li {display:inline-block;margin:1rem 2rem}
- #navi {
- font-size:1.3rem;
- letter-spacing: .03rem;
- text-transform: uppercase;
- font-weight: 600;
- text-align: center;
- }
- /* filters */
- #filters {
- width:18rem;
- max-width:28%;
- float:left;
- margin: 4rem 0 5rem 2rem;
- text-align: right;
- font-size:.9rem
- }
- #filters-title {
- padding:2rem 1rem;
- margin:0;
- background:orange;
- color:#000;
- text-transform: uppercase;
- text-align: right;
- }
- #filters-title div{
- padding-bottom:.5rem;
- border-bottom:2px solid black}
- #filters-wrapper {
- background:rgba(225,225,225,.4);
- border:1px solid orange;
- }
- .filters-group-title {
- background:black;
- padding:1rem;
- margin:0;
- color:orange;
- text-transform: uppercase;
- letter-spacing: .19rem;
- }
- .th-bat-o {
- margin-right:1rem;
- font-size: 1.6rem;
- }
- .button-group .button {
- display:block;
- background:transparent;
- border:0;
- outline:0;
- width:100%;
- text-align: right;
- padding:.8rem;
- text-transform: uppercase;
- letter-spacing: .03rem;
- color:black;
- font-weight: 700;
- }
- .is-checked {
- background:orange!important;
- color:black;
- font-weight:800!important
- }
- /* main */
- main {
- width:calc(100% - 21rem);
- display:flex;
- flex-flow: row wrap;
- justify-content:space-around;
- min-height:100vh;
- margin-bottom: 13rem;
- float:right;
- }
- .movie {
- width:100%;
- max-width: 30rem;
- height:23rem;
- margin: 4rem auto;
- display:flex;
- flex-flow: row wrap;
- transition: .4s ease-in-out;
- }
- .movie-status {
- width:100%;
- background:black;
- border:2px solid orange;
- text-transform: uppercase;
- letter-spacing: .08rem;
- font-weight: 700;
- padding:1rem;
- color:orange;
- text-align: center;
- font-size: 1.2rem;
- }
- figure.movie-image {
- width:50%;
- height:100%;
- position:relative
- }
- img.movie-image {
- width:100%;
- height:100%;
- object-fit: cover;
- display:block;margin:0
- }
- .movie-inside{
- position:absolute;
- bottom:0;
- left:0;right:0;
- background:rgba(0, 0, 0,.6);
- padding:1rem;
- border-top:2px solid orange;
- }
- .movie-name {
- margin:0 0 .5rem;
- color:orange;
- text-align: center;
- font:700 1.3rem 'Open Sans', sans-serif;
- text-transform: uppercase;
- letter-spacing: .05rem;
- text-shadow: 3px 3px black;
- /* -webkit-text-stroke: .5px rgb(51, 51, 51); */
- }
- .movie-pumkpinks {
- display:flex;
- justify-content: space-around;
- font-size:1.5rem;
- }
- .one-pumpkins .th:nth-of-type(1),
- .two-pumpkins .th:nth-of-type(-n+2),
- .three-pumpkins .th:nth-of-type(-n+3),
- .four-pumpkins .th:nth-of-type(-n+4),
- .five-pumpkins .th:nth-of-type(-n+5)
- {
- color:orange;
- }
- .movie-info {
- vertical-align: top;
- width:50%;
- height: 100%;
- background:rgba(225,225,225,.1);
- border:1px solid orange;
- border-left:0;
- box-sizing: border-box;
- overflow: auto;
- }
- .detail-name {
- padding:.5rem;
- background:orange;
- text-transform: uppercase;
- color:black;
- font-weight: 700;
- text-align: center;
- letter-spacing: .04rem;
- }
- .detail-info {
- font-size:.95rem ;
- padding:1.2rem;
- }
- footer {}
- #pumpkin-wrapper {
- bottom: 2rem;
- height: 115px;
- position: fixed;
- right: 2rem;
- width: 150px;
- z-index: 1;
- }
- #pumpkin {
- height: 115px;
- position: absolute;
- width: 150px;
- }
- .pumpkin-stalk {
- background: #94a789;
- border-radius: 100px;
- height: 20px;
- margin-left: 70px;
- position: absolute;
- width: 10px;
- }
- .pumpkin-curve-one {
- background: #f18d4f;
- border-radius: 100px;
- height: 100px;
- margin-top: 15px;
- position: absolute;
- width: 100px;
- }
- .pumpkin-curve-two {
- background: #fe9554;
- border-radius: 100px;
- height: 100px;
- margin-left: 25px;
- margin-top: 15px;
- position: absolute;
- width: 100px;
- }
- .pumpkin-curve-three {
- background: #f18d4f;
- border-radius: 100px;
- height: 100px;
- margin-left: 50px;
- margin-top: 15px;
- position: absolute;
- width: 100px;
- }
- .pumpkin-nose {
- border-left: 10px solid transparent;
- border-right: 10px solid transparent;
- border-top: 15px solid #400c18;
- margin-left: 65px;
- margin-top: 45px;
- position: absolute;
- }
- .pumpkin-mouth {
- border-left: 25px solid transparent;
- border-right: 25px solid transparent;
- border-top: 25px solid #400c18;
- height: 0px;
- margin-left: 15px;
- margin-top: 70px;
- position: absolute;
- width: 75px;
- }
- .pumpkin-tooth-one {
- background: #f18d4f;
- height: 15px;
- margin-left: 45px;
- margin-top: 70px;
- position: absolute;
- width: 15px;
- z-index: 1;
- }
- .pumpkin-tooth-two {
- background: #f18d4f;
- height: 15px;
- margin-left: 95px;
- margin-top: 80px;
- position: absolute;
- width: 15px;
- z-index: 1;
- }
- .pumpkin-eye-left {
- border-bottom: 10px solid #400c18;
- border-left: 10px solid #400c18;
- border-right: 10px solid transparent;
- border-top: 10px solid transparent;
- margin-left: 35px;
- margin-top: 35px;
- position: absolute;
- }
- .pumpkin-eye-right {
- border-bottom: 10px solid #400c18;
- border-left: 10px solid transparent;
- border-right: 10px solid #400c18;
- border-top: 10px solid transparent;
- margin-left: 95px;
- margin-top: 35px;
- position: absolute;
- }
- /* MEDIA */
- @media only screen and (min-width:0px) and (max-width:700px) {
- main {
- width:calc(100% - 37%);
- }
- }
- </style>
- </head>
- <body>
- <header>
- <h1>
- title
- </h1>
- <figure class="ghost"><hr id="ghost-line"><img class="ghost" src="https://static.tumblr.com/p5i0ib5/7Vlqht132/ghost.png"/></figure>
- <article id="description">
- description
- </article>
- <nav id="navi"><ul>
- <!-- links -->
- <li><a href="/">mansion entry</a></li>
- <li><a href="/ask">bloody letters</a></li>
- <li><a href="link">bats</a></li>
- </ul></nav>
- </header>
- <!--
- please refer to this tutorial if you're not familiar with combined filters: https://magnusthemes.tumblr.com/post/171696773190/isotope-combination-filtering
- if you have any questions shoot me an ask https://southcodes.tumblr.com/inbox
- -->
- <div id="filters">
- <h2 id="filters-title"><div>
- filters
- </div></h2>
- <div id="filters-wrapper">
- <!-- start filter group -->
- <h3 class="filters-group-title"><i class="th th-bat-o"></i>score</h3>
- <div class="button-group" data-filter-group="score">
- <button class="button is-checked" data-filter="">
- all
- </button>
- <button class="button" data-filter=".one-pumpkins">
- one pumpkings
- </button>
- <button class="button" data-filter=".two-pumpkins">
- two pumpkins
- </button>
- <button class="button" data-filter=".three-pumpkins">
- three pumpkins
- </button>
- <button class="button" data-filter=".four-pumpkins">
- four pumpkins
- </button>
- <button class="button" data-filter=".five-pumpkins">
- five pumpkins
- </button>
- </div>
- <!-- end filter group -->
- <!-- start filter group -->
- <h3 class="filters-group-title"><i class="th th-bat-o"></i> status</h3>
- <div class="button-group" data-filter-group="status">
- <button class="button is-checked" data-filter="">
- all
- </button>
- <button class="button" data-filter=".watching">
- watching
- </button>
- <button class="button" data-filter=".finished">
- finished
- </button>
- <button class="button" data-filter=".hiatus">
- on hiatus
- </button>
- </div>
- <!-- end filter group -->
- <!-- start filter group -->
- <h3 class="filters-group-title"><i class="th th-bat-o"></i> genre</h3>
- <div class="button-group" data-filter-group="genre">
- <button class="button is-checked" data-filter="">
- all
- </button>
- <button class="button" data-filter=".horror">
- horror
- </button>
- <button class="button" data-filter=".thriller">
- thriller
- </button>
- <button class="button" data-filter=".suspense">
- suspense
- </button>
- </div>
- <!-- end filter group -->
- </div><!-- filters wrapper end -->
- </div><!--filters end-->
- <main>
- <!-- don't forget to add the corresping class for the scores! (.one-pumpkins / .two-pumpkins / .three-pumpkins / etc) -->
- <article class="movie two-pumpkins one">
- <div class="movie-status">status</div>
- <figure class="movie-image"><img src="MOVIE IMG URL" class="movie-image" />
- <div class="movie-inside">
- <h2 class="movie-name"><a href="movie link">
- movie name
- </a></h2>
- <div class="movie-pumkpinks">
- <div class="th th-pumpkin"></div>
- <div class="th th-pumpkin"></div>
- <div class="th th-pumpkin"></div>
- <div class="th th-pumpkin"></div>
- <div class="th th-pumpkin"></div>
- </div>
- </div>
- </figure>
- <div class="movie-info">
- <div class="detail-name">title</div>
- <div class="detail-info">info</div>
- <div class="detail-name">title</div>
- <div class="detail-info">info</div>
- <div class="detail-name">title</div>
- <div class="detail-info">info</div>
- </div>
- </article>
- </main>
- <footer>
- <div id="pumpkin-wrapper"><div id="pumpkin"><div class="pumpkin-stalk"></div><div class="pumpkin-curve-one"></div><div class="pumpkin-curve-three"></div><div class="pumpkin-curve-two"></div><div class="pumpkin-eye-left"></div><div class="pumpkin-eye-right"></div><div class="pumpkin-nose"></div><div class="pumpkin-mouth"></div><div class="pumpkin-tooth-one"></div><div class="pumpkin-tooth-two"></div></div></div>
- </footer>
- <!-- DO NOT TOUCH-->
- <a style="position:fixed;z-index:999999999;bottom:1.3rem;right:1.25rem;font-size:15px;line-height:14px;height:14px;padding:3px;color:#555;text-align:center;letter-spacing:.7px" href="https://southcodes.tumblr.com" target="_blank" title="southcodes">sc</a>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
- <script>
- $(document).ready( function() {
- // init Isotope
- var $grid = $('main').isotope({
- itemSelector: '.movie',
- fitWidth: true,
- });
- // 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');
- });
- });
- });
- // flatten object by concatting values
- function concatValues( obj ) {
- var value = '';
- for ( var prop in obj ) {
- value += obj[ prop ];
- }
- return value;
- };
- Isotope.Item.prototype._create = function() {
- // assign id, used for original-order sorting
- this.id = this.layout.itemGUID++;
- // transition objects
- this._transn = {
- ingProperties: {},
- clean: {},
- onEnd: {}
- };
- this.sortData = {};
- };
- Isotope.prototype.arrange = function( opts ) {
- // set any options pass
- this.option( opts );
- this._getIsInstant();
- // just filter
- this.filteredItems = this._filter( this.items );
- // flag for initalized
- this._isLayoutInited = true;
- };
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment