Advertisement
ChaZayari

Cottontail Layout

Apr 3rd, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. <style>
  2. @import url('https://fonts.googleapis.com/css?family=Josefin+Sans|Knewave');
  3. ::-webkit-scrollbar{width:0.3vh;height:0.3vh;}
  4. ::-webkit-scrollbar-track{border-radius:0;background:transparent;}
  5. ::-webkit-scrollbar-thumb{border-radius:0;background:transparent;}
  6.  
  7.  
  8. body{
  9. background: #fecde2;
  10. }
  11.  
  12. *{font-family: 'Josefin Sans', sans-serif;text-transform:none;font-size: 2.2vh;color: #fff;}
  13. h1{font-family: 'Knewave', cursive;font-size: 4vh;text-transform: none;}
  14. a{text-transform: none;text-decoration: none;transition: 0.5s; color: #eafcf7;}
  15. a:hover{transition: 0.5s; color: #7fffda; text-shadow: 0 0 30px 30px #fff;}
  16.  
  17.  
  18.  
  19. #image{
  20. position: fixed;
  21. top: 2vw;
  22. left: 20vw;
  23. opacity: 1;
  24. }
  25.  
  26. #image img{
  27. height: 94vh;
  28. }
  29.  
  30. #info1, #info2, #info3{
  31. position: fixed;
  32. background: #ffbfc9;
  33. padding: 1%;
  34. overflow: auto;
  35. text-shadow: -0.1px 0.1px 2px #999;
  36. top: 10vw;
  37. right: 20vw;
  38. height: 12vw;
  39. width: 16vw;
  40. }
  41.  
  42. #info1{
  43. z-index: 5;
  44. box-shadow: 0 0 150vh #fff;
  45. }
  46.  
  47. .appear{opacity: 0; z-index: 5; transition: 2s;overflow: auto;}
  48. .appear:target{opacity: 1; z-index: 6; transition: 2s;}
  49.  
  50. #nav1, #nav2, #nav3{
  51. position: fixed;
  52. background: #fff;
  53. transform: rotate(45deg);
  54. z-index: 20;
  55. box-shadow: 0 0 10vh #fff;
  56. height: 4vh;
  57. width: 4vh;
  58. bottom: 45vh;
  59. transition: 0.3s;
  60. }
  61.  
  62. #nav1{right:35vw;}
  63. #nav1:hover{transform:rotate(90deg);transition: 0.3s;}
  64.  
  65. #nav2{right:28vw;}
  66. #nav2:hover{transform:rotate(90deg);transition: 0.3s;}
  67.  
  68. #nav3{right:21vw;}
  69. #nav3:hover{transform:rotate(90deg);transition: 0.3s;}
  70.  
  71. #credit {
  72. z-index:1;
  73. position:fixed;
  74. height:20vh;
  75. right:1%;
  76. bottom:0%;
  77. }
  78.  
  79. </style>
  80.  
  81. <div id="image">
  82. <img src="IMAGE HERE">
  83. </div>
  84.  
  85. <a href="#info1"><div id="nav1"></div></a>
  86. <a href="#info2"><div id="nav2"></div></a>
  87. <a href="#info3"><div id="nav3"></div></a>
  88.  
  89. <div id="info1">
  90. <center>
  91. <h1>Header 1</h1>
  92. Lorem ipsum dolor sit amet, <br>
  93. consectetur adipiscing elit, <br>
  94. sed do eiusmod tempor incididunt <br>
  95. ut labore et dolore magna aliqua.
  96. <br><br>
  97.  
  98. </center>
  99. </div>
  100.  
  101. <div id="info2" class="appear">
  102. <center>
  103. <h1>Character</h1>
  104. Lacus viverra vitae congue
  105. eu consequat ac felis.
  106. Nibh sit amet commodo
  107. nulla facilisi nullam vehicula.
  108.  
  109. <br><br>
  110.  
  111. </center>
  112. </div>
  113.  
  114. <div id="info3" class="appear">
  115.  
  116. <center>
  117. <h1>Details</h1>
  118. Mollis aliquam ut porttitor leo a.
  119. Ultricies lacus sed turpis tincidunt
  120. id aliquet risus feugiat in.
  121. <br>
  122.  
  123. </div>
  124.  
  125. <a href="https://roleplay.chat/profile.php?user=From+Shadows+Codes" target="_blank" title="Thanks for using this layout. Please inform me of any issues!">
  126. <img src="https://i.imgur.com/A9wLMgS.png" id="credit"/>
  127. </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement