Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype HTML>
- <html>
- <!-- page 03.1: gyre (portfolio) 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">
- <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: 270px;
- background: #B9DBD1;
- margin: 6px;
- }
- .work {
- display: flex;
- align-items: flex-end;
- align-content: flex-end;
- }
- .featured {
- height: 500px;
- /* The above line defines the height of a FEATURED work block. It's set bigger to make it stand out!
- MASONRY COLUMNS ADJUST VERTICALLY, BUT NOT HORIZONTALLY. DO NOT GIVE THIS CLASS A WIDTH.*/
- }
- .hover {
- width: 220px;
- height: 100px;
- margin: auto;
- background: #fff;
- text-align: center;
- opacity: 0;
- -webkit-transition-duration: 0.5s;
- padding: 5px;
- overflow-y: scroll;
- }
- .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;
- }
- .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: 5px;
- 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>
- <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>
- </head>
- <body>
- <div id="contain">
- <div class="item info">
- <div class="head">
- works by yourname.
- </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>in order to showcase your work you need an image associated with it. you're gonna want to scale the image down to have a width of 270px, but if you use <i>style="height: (height of image)px"</i> then you can adjust the height. 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. 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. 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 featured work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </div>
- </div>
- <div class="item work" style="background-image: url('YOUR IMAGE'); background-size: cover;">
- <div class="hover">
- <h2>work title.</h2>
- <p>work description. scrolls if you go over.</p>
- </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