Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype HTML>
- <html>
- <!-- page 03.2: gyre (book rec) by penvmbral @ tumblr -->
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <!--Fonts-->
- <link href="https://fonts.googleapis.com/css?family=Lato|Noto+Serif+SC" rel="stylesheet">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
- <!--Masonry-->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
- <script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- <script>
- $(function(){
- var $container = $('#contain');
- $container.imagesLoaded(function(){
- $container.masonry({
- itemSelector: '.item',
- fitWidth: true,
- });
- });
- });
- </script>
- <style type="text/css">
- /* Scrollbar and Selection Styling */
- /* Custom scrollbars are not visible in Firefox. */
- ::-webkit-scrollbar-thumb:vertical {
- background-color: #B9DBD1;
- height:5px;
- border: #fff 1px solid;
- }
- ::-webkit-scrollbar-thumb:horizontal {
- background-color: #B9DBD1;
- height:5px!important;
- border: #fff 1px solid;
- }
- ::-webkit-scrollbar {
- background-color: #ddd;
- border: #fff 2px solid;
- height:3px;
- width:5px;
- }
- ::-moz-selection {
- background-color: #B9DBD1;
- color: #477075;
- }
- ::selection {
- background-color: #B9DBD1;
- color: #477075;
- }
- /* Tumblr Controls Styling */
- .tmblr-iframe {
- white-space: nowrap;
- -webkit-filter: invert(100%);
- -moz-filter: invert(100%);
- -o-filter: invert(100%);
- -ms-filter: invert(100%);
- filter: invert(100%);
- opacity: .2;
- transition: .4s;
- -webkit-transition: .4s;
- -moz-transition: .4s;
- position: fixed!important;
- right: -20px!important;
- transform:scale(0.5,0.5);
- }
- .tmblr-iframe:hover { opacity:1; }
- /* Content Styling */
- a {
- text-decoration: none;
- color: #7f7f7f;
- border-bottom: #ddd 1px solid;
- -webkit-transition-duration: 0.5s;
- }
- a:hover {
- color: #000;
- border-bottom: 1px #80C7C2 solid;
- }
- b, strong, i, em {
- color: #000;
- }
- u, underline {
- text-decoration: none;
- border-bottom: 1px #000 solid;
- }
- /* Page Styling */
- html, body { width: 100%; margin: 0; padding: 0; }
- body {
- background: #fff;
- font-family: 'Lato', sans-serif;
- font-size: 12px;
- color: #555;
- line-height: 150%;
- }
- #contain {
- max-width: 1150px;
- max-height: 92vh;
- padding: 20px;
- margin: auto;
- margin-top: 1%;
- padding-bottom: 10px;
- overflow-y: scroll;
- }
- .item {
- width: 270px;
- height: 405px;
- background: #B9DBD1;
- margin: 6px;
- }
- .book {
- display: flex;
- align-items: flex-end;
- align-content: flex-end;
- }
- .hover {
- width: 220px;
- height: 350px;
- margin: auto;
- background: #fff;
- text-align: center;
- opacity: 0;
- -webkit-transition-duration: 0.5s;
- padding: 5px;
- }
- .item:hover .hover {
- opacity: 1;
- }
- .hover h1, h2, h3, h4, h5, h6, h7, h8 {
- display: block;
- width: 50%;
- margin: auto;
- font-size: 14px;
- font-family: 'Noto Serif SC', serif;
- text-transform: lowercase;
- border-bottom: 1px #ddd solid;
- padding-bottom: 2px;
- }
- .hover .r {
- color: #000;
- margin-top: 15px;
- margin-bottom: 0px;
- font-size: 15px;
- }
- .hover .d {
- height: 275px;
- padding: 3px;
- margin: auto;
- margin-top: 5px;
- overflow-y: scroll;
- }
- .info {
- background: #fff;
- height: 280px;
- width: 250px;
- padding: 10px;
- }
- .head {
- height: 30px;
- font-family: 'Noto Serif SC', serif;
- font-size: 24px;
- text-transform: lowercase;
- color: #101010;
- font-style: italic;
- }
- .desc {
- height: 200px;
- overflow-y: scroll;
- margin-top: 2px;
- padding: 3px;
- clear: both;
- }
- .nav {
- position: relative;
- width: 70%;
- float: right;
- height: 25px;
- margin: 5px;
- vertical-align: middle;
- text-align: right;
- }
- .nav a {
- display: inline-block;
- padding: 2px;
- border: 1px transparent solid;
- vertical-align: middle;
- }
- .nav a:hover {
- color: #000;
- border-bottom: #80C7C2 1px solid;
- border-top: #80C7C2 1px solid;
- }
- .c {position: absolute; bottom: 10px; right: 10px; width: 19px; height: 10px; padding-top: 1px; padding-bottom: 10px; padding-right: 3px; text-align: center; font-style: italic; border: 1px #ddd solid; font-family: 'Noto Serif SC', serif; opacity: 0.7; -webkit-transition-duration: 0.5s;}
- .c:hover { opacity: 1; border: #B9DBD1 1px solid; }
- .c a { border: none; }
- .c a:hover { color: #B9DBD1; }
- </style>
- </head>
- <body>
- <div id="contain">
- <div class="item info">
- <div class="head">
- read & reading.
- </div>
- <div class="nav">
- <a href="/">home</a>
- <a href="/ask">message</a>
- <a href="/">extra</a>
- <a href="/">extra</a>
- </div>
- <div class="desc">
- <p>write like a paragraph about your stuff here. or more if you really want. the box will scroll. <b>bold</b> <i>italic</i> <u>underline</u> <a href="#">link</a></p>
- <p>book covers here have an aspect ratio of 1:1.5 with a width. you're gonna want to scale the image down to have a width of 270px and crop if need be. you do NOT want to adjust the width; masonry will get kind of fucky of you so.</p>
- <p>this is more text to show off that the box scrolls. this is more text to show off that the box scrolls. this is more text to show off that the box scrolls. this is more text to show off that the box scrolls. this is more text to show off that the box scrolls. </p>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- <div class="item book" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>book title.</h2>
- <!--
- For Empty Stars: ✧
- For Filled Stars: ✦
- -->
- <div class="r">✧✧✧✧✧</div>
- <div class="d"><p>book description. scrolls if you go over.</p>
- </div>
- </div>
- </div>
- </div>
- <!--CREDIT DO NOT ERASE-->
- <div class="c"><a href="https://penvmbral.tumblr.com">v</a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment