Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- fahrenheit :: @mercurythms :: @freddie-mercurys
- please don't remove credit or take parts of this code :)
- -->
- <!DOCTYPE html>
- <head>
- <title>{block:PostSummary}{PostSummary} : {/block:PostSummary}{Title}</title>
- <link rel="shortcut icon" href="{favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!--SCRIPTS-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
- <!-- GOOGLE FONTS -->
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <link href="https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css2?family=Lalezar&display=swap" rel="stylesheet">
- <!-- LINE AWESOME ICONS -->
- <link rel="stylesheet" href="https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css">
- <link rel="stylesheet" href="https://maxst.icons8.com/vue-static/landings/line-awesome/font-awesome-line-awesome/css/all.min.css">
- <!--TOOLTIPS-->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <style type="text/css">
- /* colors */
- /* here you can change colors of background, text, accents, etc */
- :root {
- --background: #f6f6f6;
- --container: #eee;
- --text: #555;
- --links: #aaa;
- /* accent colors */
- --accent: #f12e;
- --accent-2: #1ce;
- }
- /* tumblr controls */
- .iframe-controls--desktop {
- display: none;
- }
- /* main structure */
- body {
- background: var(--background);
- color: var(--text);
- font: 13px/1.5em Karla;
- letter-spacing: 0.5px;
- word-wrap: break-word;
- text-align: left;
- margin: 0;
- opacity: 1;
- transition: 1s opacity;
- }
- body.fade-out {
- opacity: 0;
- transition: none;
- }
- a {
- color: var(--links);
- text-decoration: none;
- transition: all .3s linear;
- -webkit-transition: all .3s linear;
- -o-transition: all .3s linear;
- -moz-transition: all .3s linear;
- }
- a:hover {color: var(--text);text-decoration: none;}
- blockquote {
- padding: .25em 0 .25em 15px;
- margin: .5em 0;
- border-left: 1px solid #eee;
- }
- /*tooltips*/
- .tippy-tooltip.custom-theme {
- background: var(--accent);
- color: #fff;
- text-align: center;
- letter-spacing: 1px;
- border-radius: 0;
- padding: 0.25em;
- margin: 20px auto auto 10px;
- font-size: 1em;
- }
- /* containers */
- main {
- position: fixed;
- width: 600px;
- height: 400px;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- #gradient {
- float: left;
- width: 150px;
- height: 400px;
- background: linear-gradient(to top right, var(--accent) 0%, var(--accent-2) 100%);
- }
- #side-icon {
- position: absolute;
- width: 80px;
- height: 80px;
- margin: 150px 25px;
- border-radius: 50%;
- border: 10px solid var(--container);
- }
- #text-container {
- background: var(--container);
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- justify-content: center;
- grid-gap: 2em;
- width: 450px;
- height: 400px;
- float: right;
- }
- /* title */
- #title {
- font: 2em/1.5em Lazelar;
- font-weight: 700;
- letter-spacing: 2px;
- text-align: center;
- color: var(--accent);
- text-transform: lowercase;
- }
- /* blogger stats */
- #info {text-align: center; padding: 0 3em;}
- #info li {
- list-style: none;
- display: inline-block;
- margin: 0 1em;
- }
- #info i {
- color: var(--accent);
- font-size: 1.5em;
- vertical-align: middle;
- margin-bottom: 2px;
- }
- /* description */
- #description {text-align: justify; padding: 0 3em;}
- /* bottom links */
- .links {text-align: center;}
- .links a {display: inline-block; margin: 0 1em;}
- .links i {
- color: var(--accent-2);
- font-size: 2em;
- vertical-align: middle;
- }
- /*responsive*/
- @media only screen and (max-width: 600px) {
- main {width: 80vw; height: 80vh;}
- #gradient {
- display: flex;
- justify-content: center;
- align-items: center;
- align-content: center;
- width: 80vw;
- height: 20vh;
- background: linear-gradient(to top right, var(--accent) 0%, var(--accent-2) 100%);
- }
- #side-icon {
- position: relative;
- width: 60px;
- height: 60px;
- border: 10px solid var(--container);
- }
- #text-container {
- grid-gap: 1.5em;
- width: 80vw;
- height: 60vh;
- }
- }
- /* credit */
- #credit {
- display: block;
- position: fixed;
- right: 20px;
- bottom: 20px;
- font-size: 1.2em;
- }
- #credit a {color: var(--accent);}
- </style
- </head>
- <body>
- <script>document.body.className += ' fade-out';</script>
- <main>
- <div id="gradient"><img src="{PortraitURL-128}" id="side-icon"></div>
- <div id="text-container">
- <!-- page title -->
- <div id="title">about me</div>
- <!-- blogger stats -->
- <!-- template: <li><i class="las la-ICON"></i> INFO -->
- <!-- to choose icons go to https://icons8.com/line-awesome -->
- <div id="info">
- <li><i class="las la-user"></i> name
- <li><i class="las la-venus"></i> pronouns
- <li><i class="las la-birthday-cake"></i> birthday
- <li><i class="las la-globe"></i> location
- <li><i class="las la-thumbs-up"></i> likes
- <li><i class="las la-thumbs-down"></i> dislikes
- </div>
- <!-- bio/description -->
- <div id="description">
- <p>This is where you'll put your bio text. This is how it will look to use <b>bold</b>, <i>italics</i> and <a href="/">links</a>. This is super basic which means it should be easy to edit. The description looks best when short.</p>
- </div>
- <!-- bottom links -->
- <!-- template: <a title="LINK TITLE" href="LINK ADDRESS"><i class="las la-ICON"></i></a> -->
- <!-- to choose icons go to https://icons8.com/line-awesome -->
- <div class="links">
- <a title="home" href="/"><i class="las la-home"></i></a>
- <a title="ask" href="/ask"><i class="las la-envelope"></i></a>
- <a title="archive" href="/archive"><i class="las la-history"></i></a>
- <a title="a link" href="/"><i class="las la-thermometer"></i></a>
- <a title="another link" href="/"><i class="las la-fire"></i></a>
- </div>
- </div>
- </main>
- <div id="credit"><a href="https://mercurythms.tumblr.com" title="mercurythms">m.</a></div>
- <script>
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'bottom-start',
- zIndex: 9999999999,
- maxWidth: 400,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- $(function() {
- $('body').removeClass('fade-out');
- });
- </script>
- </body></html>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement