atlasthemes

quartz - page

Aug 29th, 2019
2,268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1. <!------------------------------------------------------------------------
  2.  
  3.  
  4.  
  5. quartz // by @atlasthemes
  6. pls do not remove credit!<3
  7.  
  8.  
  9.  
  10. ------------------------------------------------------------------------->
  11.  
  12. <!DOCTYPE html>
  13. <head>
  14. <link rel="shortcut icon" href="{Favicon}">
  15.  
  16. <title>biography</title><!-- title for browser tab -->
  17.  
  18. <!-- google fonts -->
  19.  
  20. <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,700,700i&display=swap" rel="stylesheet">
  21.  
  22. <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,400i&display=swap" rel="stylesheet">
  23.  
  24. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet">
  25.  
  26.  
  27. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  28. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  29.  
  30. <script>
  31. (function($){
  32. $(document).ready(function(){
  33. $("a[title]").style_my_tooltips({
  34. tip_follows_cursor:true,
  35. tip_delay_time:90,
  36. tip_fade_speed:300,
  37. attribute:"title"
  38. });
  39. });
  40. })(jQuery);
  41. </script>
  42.  
  43. <style type="text/css">
  44.  
  45. /* --------------------- change fonts & colors here --------------------- */
  46.  
  47.  
  48. :root {
  49.  
  50. --body:#717171; /* text color */
  51. --heading:#2d2d2b; /* heading color */
  52. --link-color:#aaaaaa; /* link color */
  53.  
  54.  
  55. --sidebar-bg:#ffffff; /* sidebar background */
  56. --accent-one:#f7f5f0; /* top block */
  57. --accent-two:#efe4d6; /* bottom block */
  58. --opacity-one:0.75; /* choose a number between 0 and 1 */
  59. --opacity-two:0.9; /* choose a number between 0 and 1 */
  60.  
  61.  
  62. --body-font:'Fira Sans'; /* main font */
  63. --text-size:12px; /* font size */
  64.  
  65.  
  66. /* featured image : paste image url between parenthesis below */
  67.  
  68. --featured-img-url:url(https://images.unsplash.com/photo-1544962059-b04e6d47e9a0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1600&q=80);
  69. }
  70.  
  71.  
  72. /* ---------------------------------------------------------------------- */
  73.  
  74.  
  75.  
  76. @-webkit-keyframes fadein {
  77. 0% {opacity: 0;}
  78. 100% { opacity: 1; }}
  79.  
  80. @-moz-keyframes fadein {
  81. 0% { opacity: 0; }
  82. 100% { opacity: 1; }}
  83.  
  84. @keyframes fadein {
  85. 0% { opacity: 0; }
  86. 100% { opacity: 1; }}
  87.  
  88.  
  89. #s-m-t-tooltip {max-width:300px;margin-top:-40px;margin-left:-35px;font-size:10px;letter-spacing:1px;text-transform:uppercase;text-align:center;z-index:999999;}
  90.  
  91. body {font-family:var(--body-font);font-size:var(--text-size);color:var(--body);background-color:#fff; text-align:justify;line-height:1.65em;overflow:hidden;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;-webkit-animation: fadein 1.5s;-moz-animation:fadein 1.5s;animation:fadein 1.5s;}
  92.  
  93. a {color:var(--body);text-decoration:none;-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;} a:hover {color:var(--heading);}
  94.  
  95. h1 {font-family:'Playfair Display';font-size:35px;font-weight:400;color:var(--heading);padding:0px;margin:0px 0px 25px 0px;}
  96.  
  97. #bio {display:block;position:absolute;width:500px;height:300px;margin:100px;left:15%;z-index:1;} #bio a {border-bottom:1px solid var(--body);}
  98. #featured-image {display:block;position:absolute;height:100%;width:85%;left:15%;top:0px;background-image:var(--featured-img-url);background-position:center;background-size:cover;z-index:-1;}
  99. #top {display:block;position:fixed;width:100%;height:20%;top:0px;left:0px;background-color:var(--accent-one);opacity:var(--opacity-one);}
  100. #bottom {display:block;position:fixed;width:100%;height:80%;bottom:0px;left:0px;} #bottom::after {content: "";background-color:var(--accent-two);opacity:var(--opacity-two);top: 0;left: 0;bottom: 0;right: 0;position:absolute;}
  101.  
  102. aside {display:block;position:fixed;height:100%;width:15%;top:0px;left:0px;background-color:#fff;padding:50px 0px;z-index:1;} #peachy {position:relative;font-size:25px;width:25px;height:25px;margin:auto;} #peachy:hover {transform:rotate(360deg);-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out;-ms-transition: all 0.5s ease-in-out;transition: all 0.5s ease-in-out;}
  103.  
  104. nav {display:block;margin:auto;writing-mode: vertical-rl;text-align:center;transform: rotate(180deg);font-size:14px;} nav a {margin-bottom:50px;color:var(--body);} nav a:hover {color:var(--accent-two);} #atlas {display:block;position:fixed;width:15%;font-size:14px;bottom:5%;text-align:center;} #atlas a {color:var(--body);} #atlas a:hover {color:var(--heading);} iframe.tmblr-iframe {display:none;}
  105.  
  106. </style>
  107. </head>
  108. <body>
  109.  
  110. <div id="featured-image"></div>
  111. <div id="top"></div>
  112. <div id="bottom">
  113.  
  114. <!---------- sidebar ---------->
  115. <aside>
  116.  
  117. <!-- sidebar icon : get more icons at https://honeybee.suiomi.com/ -->
  118. <div id="peachy">
  119. <span class="th th-peach-o"></span>
  120. </div>
  121.  
  122. <!-- links -->
  123. <nav>
  124. <a href="/">index</a>
  125. <a href="/ask">contact</a>
  126. <a href="/archive">atlas</a>
  127. <a href="/">link</a>
  128. <a href="/">link</a>
  129. </nav>
  130.  
  131.  
  132. <!-- credit : pls do not remove! <3 -->
  133. <div id="atlas">
  134. <a href="http://www.atlasthemes.tumblr.com" title="atlasthemes"><span class="th th-code"></span></a>
  135. </div>
  136.  
  137. </aside><!-- end sidebar -->
  138.  
  139.  
  140.  
  141. <!---------- bio ---------->
  142. <div id="bio">
  143.  
  144. <!-- heading -->
  145. <h1>biography</h1>
  146.  
  147. <!-- bio : don't make it too long! keep it around 2 paraphgraphs -->
  148. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. This is <b>bold</b>, this is <i>italic</i>, this is a <a href="/">link</a>. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla.</p>
  149.  
  150. <p>Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales ligula in libero. Sed dignissim lacinia nunc. Curabitur tortor. Pellentesque nibh. Aenean quam. In scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem. Proin ut ligula vel nunc egestas porttitor. Morbi lectus risus, iaculis vel, suscipit quis, luctus non, massa. Fusce ac turpis quis ligula lacinia aliquet. Mauris ipsum.</p>
  151.  
  152. </div>
  153.  
  154. </div>
  155. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment