Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <!--
- credits:
- - an introduction (all-in-one) page by annasthms
- -->
- <head>
- <title>{Title}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link href="http://static.tumblr.com/0podkko/1C9otjxkc/jquery-ui.structure.css" rel="stylesheet">
- <style>
- body {
- font-family: Garamond, serif;
- font-size: 16px; /* change this to change the font size */
- color: #000; /* change this to change the font color */
- }
- a {
- color: #8d919b;
- text-decoration: none;
- }
- a:hover {
- color: #7f90c4;
- }
- b {
- color: #8d919b;
- }
- u, s {
- -webkit-text-decoration-color: #8d919b;
- text-decoration-color: #8d919b;
- }
- i {
- color: #7f90c4;
- }
- hr {
- width: 25%;
- height: 1px;
- border: none;
- background: #7f90c4;
- }
- blockquote {
- border-left: 1px solid #7f90c4;
- margin: 0 0 0 1.5%;
- padding: 0 0 0 2%;
- }
- ul {
- padding: 0 0 0 4%;
- }
- p:first-child {
- margin-top: 0;
- }
- p:last-child {
- margin-bottom: 0;
- }
- div#container {
- position: absolute;
- width: calc(500px + 2em + 0.5em);
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- div#blog-links {
- position: absolute;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- z-index: 10;
- text-align: center;
- width: 100%;
- }
- span.title {
- display: block;
- }
- div#blog-links a {
- margin: 0 0.25em 0 0;
- }
- .brief {
- position: relative;
- width: 250px;
- height: 250px;
- margin: 0.5em;
- display: inline-block;
- background: #ffffff;
- vertical-align: middle;
- }
- .name {
- position: relative;
- font-size: 1.75em;
- font-style: italic;
- text-align: center;
- top: 50%;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- }
- .info, .click {
- position: absolute;
- left: 50%;
- -webkit-transform: translateX(-50%);
- transform: translateX(-50%);
- text-align: center;
- }
- .info {
- bottom: 2.75em;
- width: 100%;
- }
- .click {
- bottom: 1.25em;
- cursor: help;
- }
- .popup {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- display: none;
- z-index: 101;
- }
- .popup .back {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- background: rgba(0, 0, 0, 0.25);
- }
- .popup .wrap {
- position: relative;
- max-width: 75%;
- overflow: auto;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- background: #fff;
- border: 2em solid #fff;
- z-index: 10;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .popup:not(.about) .wrap {
- max-height: 75%;
- }
- ::-webkit-scrollbar {
- width: 0px;
- border-left: 5px solid transparent;
- }
- @media screen and (min-width: 900px) {
- .popup .wrap {
- max-width: 41.25em;
- }
- }
- .basic-info {
- margin-bottom: 1em;
- }
- .basic-info .avatar {
- width: 5em;
- height: 5em;
- display: block;
- border-radius: 100%;
- margin: 0.5em auto;
- }
- .basic-info table {
- margin: auto;
- width: 200px;
- }
- .basic-info table td:nth-child(odd) {
- text-transform: lowercase;
- font-variant: small-caps;
- color: #7f90c4;
- }
- .basic-info table td:nth-child(even) {
- text-align: right;
- color: #8d919b;
- }
- .text {
- overflow: auto;
- }
- .text a, .qna a {
- position: relative;
- }
- .text a::before, .qna a::before {
- content: "";
- position: absolute;
- width: 100%;
- height: 0;
- border-bottom: 0.5px solid;
- bottom: -0.05em;
- }
- .more table {
- width: 100%;
- margin-top: 1em;
- }
- .more table td {
- width: 33%;
- border-collapse: collapse;
- border: none;
- vertical-align: top;
- padding: 0 0.5em 0 0;
- }
- .more table td:last-child {
- padding-right: 0;
- }
- span.more-name {
- display: block;
- color: #7f90c4;
- margin-bottom: 0.25em;
- }
- .links a {
- color: #8d919b;
- border: 1.5px solid #8d919b;
- display: inline-block;
- margin: 0.5em 0.25em 0 0;
- padding: 0.15em 0.35em;
- font-size: 0.9em;
- border-radius: 7px;
- opacity: 0.65;
- -webkit-transition: 0.25s all ease-in-out;
- transition: 0.25s all ease-in-out;
- }
- .links a:hover {
- opacity: 1;
- }
- .friends a, .networks a {
- display: inline-block;
- margin: 0.25em 0.25em 0 0;
- }
- .more img {
- height: 2em;
- width: auto;
- border-radius: 7px;
- -webkit-filter: grayscale(75%);
- filter: grayscale(75%);
- -webkit-transition: 0.35s all ease-in-out;
- transition: 0.35s all ease-in-out;
- }
- .more img:hover {
- -webkit-filter: grayscale(0);
- filter: grayscale(0);
- }
- .qna {
- margin-bottom: 1em;
- }
- .qna:last-child {
- margin-bottom: 0;
- }
- .question {
- color: #7f90c4;
- }
- .question.hide {
- position: relative;
- padding-right: 2em;
- cursor: help;
- }
- .question.hide:after {
- content: "";
- position: absolute;
- height: 0.5em;
- width: 0.5em;
- border-right: 1px solid;
- border-bottom: 1px solid;
- right: 0.5em;
- top: calc(50% - 0.25em);
- -webkit-transform: rotate(45deg) translateY(-50%);
- transform: rotate(45deg) translateY(-50%);
- -webkit-transform-origin: right;
- transform-origin: right;
- }
- .question.hide.turn:after {
- -webkit-transform: rotate(-135deg) translateY(-50%);
- transform: rotate(-135deg) translateY(-50%);
- top: calc(50% - 0.75em);
- }
- .answer {
- margin-top: 0.5em;
- }
- .hide + .answer {
- display: none;
- }
- div#askbox {
- margin: 2em auto 0;
- max-width: 500px;
- }
- .tag-list {
- margin-bottom: 0.75em;
- }
- .tag-list:last-child {
- margin-bottom: 0;
- }
- span.tag-name {
- color: #7f90c4;
- display: block;
- margin-right: 0.5em;
- }
- .tag-list a {
- color: #8d919b;
- border: 1.5px solid #8d919b;
- display: inline-block;
- margin: 0.5em 0.25em 0 0;
- padding: 0.1em 0.35em 0.2em;
- font-size: 0.85em;
- border-radius: 7px;
- opacity: 0.65;
- -webkit-transition: 0.25s all ease-in-out;
- transition: 0.25s all ease-in-out;
- text-transform: lowercase;
- }
- .tag-list a:hover {
- opacity: 1;
- }
- .blogroll.popup .wrap {
- border-right-width: 1.75em;
- }
- .following {
- text-align: center;
- }
- .following a {
- display: inline-block;
- margin: 0.25em 0.25em 0 0;
- }
- .following img {
- height: 2em;
- width: auto;
- border-radius: 7px;
- -webkit-filter: grayscale(75%);
- filter: grayscale(75%);
- -webkit-transition: 0.35s all ease-in-out;
- transition: 0.35s all ease-in-out;
- }
- .following img:hover {
- -webkit-filter: grayscale(0);
- filter: grayscale(0);
- }
- iframe.tmblr-iframe {
- top: calc(50% - 250px - 0.5em);
- left: 50% !important;
- -webkit-transform: translateX(-50%) scale(0.7);
- transform: translateX(-50%) scale(0.7);
- -webkit-transform-origin: center;
- transform-origin: center;
- margin-left: -12px;
- -webkit-filter: invert(1);
- filter: invert(1); /* delete this line for light tumblr controls */
- }
- .ui-tooltip {
- padding: 3px 5px 2px;
- margin: 24px 14px 7px 12px;
- position: absolute;
- font-size: 0.8em;
- z-index: 9999;
- max-width: 300px;
- border-radius: 3px;
- background: #ffffff; /* fallback if rgba not supported */
- background: rgba(255,255,255,0.85);
- }
- </style>
- </head>
- <body>
- <div id="container">
- <div id="blog-links">
- <span href="/" class="title">username</span>
- <a href="/">home</a>
- <a href="/ask">ask</a>
- <a href="/url">link 1</a>
- <a href="/url">link 2</a>
- <a href="/url">link 3</a>
- </div>
- <div class="about brief">
- <div class="name">about</div>
- <div class="info">
- brief about <br /> keep it to one or two lines
- </div>
- <div class="about click">
- more? <!-- about popup open link -->
- </div>
- </div>
- <div class="faq brief">
- <div class="name">faq</div>
- <div class="info">
- frequently asked questions
- </div>
- <div class="faq click">
- questions? <!-- faq popup open link -->
- </div>
- </div>
- <div class="nav brief">
- <div class="name">navigate</div>
- <div class="info">
- tags
- </div>
- <div class="nav click">
- explore? <!-- nav/tags popup open link -->
- </div>
- </div>
- <div class="blogroll brief">
- <div class="name">blogroll</div>
- <div class="info">
- blogs i follow
- </div>
- <div class="blogroll click">
- view? <!-- blogroll popup open link -->
- </div>
- </div>
- </div>
- <div class="about popup">
- <div class="back"></div>
- <div class="wrap">
- <div class="basic-info">
- <img src="icon url" class="avatar" />
- <table>
- <!-- row begin -->
- <tr>
- <td>name</td>
- <td>(name)</td>
- </tr>
- <!-- row end -->
- <!-- row begin -->
- <tr>
- <td>age</td>
- <td>(age)</td>
- </tr>
- <!-- row end -->
- <!-- row begin -->
- <tr>
- <td>pronouns</td>
- <td>(pronouns)</td>
- </tr>
- <!-- row end -->
- <!--
- to add more rows copy/paste:
- <tr>
- <td>label</td>
- <td>info</td>
- </tr>
- -->
- </table>
- </div>
- <div class="text">
- <!-- add your description here -->
- </div>
- <div class="more">
- <table>
- <tr>
- <td class="links">
- <span class="more-name">links</span>
- <!-- to add more links, add <a href="url">link name</a> -->
- <a href="https://twitter.com/username">twitter</a>
- <a href="https://www.instagram.com/username">instagram</a>
- <a href="https://www.pinterest.com/username">pinterest</a>
- <a href="https://open.spotify.com/user/username">spotify</a>
- </td>
- <td class="friends">
- <span class="more-name">friends</span>
- <!-- to add more friends, add <a href="friend url" title="friend name"><img src="friend icon" /></a> -->
- <a href="friend url" title="friend name"><img src="friend icon" /></a>
- <a href="friend url" title="friend name"><img src="friend icon" /></a>
- <a href="friend url" title="friend name"><img src="friend icon" /></a>
- <a href="friend url" title="friend name"><img src="friend icon" /></a>
- <a href="friend url" title="friend name"><img src="friend icon" /></a>
- </td>
- <td class="networks">
- <span class="more-name">networks</span>
- <!-- to add more networks, add <a href="network url" title="network name"><img src="network icon" /></a> -->
- <a href="network url" title="network name"><img src="network icon" /></a>
- <a href="network url" title="network name"><img src="network icon" /></a>
- <a href="network url" title="network name"><img src="network icon" /></a>
- <a href="network url" title="network name"><img src="network icon" /></a>
- <a href="network url" title="network name"><img src="network icon" /></a>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- <div class="faq popup">
- <div class="back"></div>
- <div class="wrap">
- <!-- question block begin -->
- <div class="qna">
- <div class="question">
- question?
- </div>
- <div class="answer">
- answer.
- </div>
- </div>
- <!-- question block end -->
- <!-- question block begin -->
- <div class="qna">
- <div class="question">
- question?
- </div>
- <div class="answer">
- answer.
- </div>
- </div>
- <!-- question block end -->
- <!--
- to add a question with a shown answer, copy/paste:
- <div class="qna">
- <div class="question">
- question?
- </div>
- <div class="answer">
- answer.
- </div>
- </div>
- ***
- to add a question with a hidden answer, copy/paste:
- <div class="qna hide">
- <div class="question">
- question?
- </div>
- <div class="answer">
- answer.
- </div>
- </div>
- -->
- <div id="askbox">
- <!-- no need to touch this -->
- <iframe frameborder="0" scrolling="no" width="100%" height="190" src="https://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color: transparent; overflow: hidden; height: 190px;" id="ask_form"></iframe>
- </div>
- </div>
- </div>
- <div class="nav popup">
- <div class="back"></div>
- <div class="wrap">
- <!-- tag block begin -->
- <div class="tag-list">
- <span class="tag-name">category</span>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- </div>
- <!-- tag block end -->
- <!-- tag block begin -->
- <div class="tag-list">
- <span class="tag-name">category</span>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- </div>
- <!-- tag block end -->
- <!-- tag block begin -->
- <div class="tag-list">
- <span class="tag-name">category</span>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- </div>
- <!-- tag block end -->
- <!--
- to add more tag categories, copy/paste:
- <div class="tag-list">
- <span class="tag-name">category</span>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- <a href="/tagged/tag">tag</a>
- </div>
- -->
- </div>
- </div>
- <div class="blogroll popup">
- <div class="back"></div>
- <div class="wrap">
- <!-- do not touch -->
- {block:Following}<div class="following">
- {block:Followed}
- <a href="{FollowedURL}" title="{FollowedName}"><img src="{FollowedPortraitURL-40}" /></a>
- {/block:Followed}
- </div>{/block:Following}
- </div>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
- <script>
- $(document).ready(function() {
- var i = 0;
- $('.click').click(function() {
- var type = $(this).attr('class').split(' ')[0];
- $(this).parents('#container').siblings('.' + type).fadeIn();
- if ( type == 'about' ) {
- i++;
- if (i == 1) {
- var basicInfo = $('.basic-info').outerHeight() + 'px',
- more = $('.more').outerHeight() + 'px';
- $('head').append('<style>.text{max-height:calc(75vh - 4em - ' + basicInfo + ' - ' + more + ')}</style>');
- }
- }
- });
- $('.back').click(function() {
- $(this).parents('.popup').fadeOut();
- });
- $('.hide').click(function() {
- $(this).siblings('.answer').slideToggle();
- $(this).toggleClass('turn');
- });
- $('[title]').tooltip({
- track: true,
- position: {
- my: 'left+12 top+24'
- }
- });
- $('div#blog-links').append('<a href="https://annasthms.tumblr.com">credit</a>');
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment