SHARE
TWEET

Untitled

a guest Aug 18th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. * {
  2.     margin: 0;
  3.     padding: 0;
  4.     box-sizing: border-box;
  5. }
  6.  
  7. html, body {
  8.     height: 100%;
  9. }
  10.  
  11. html {
  12.     font-family: Arial, Helvetica, sans-serif;
  13.     font-size: 10px;
  14.     background: linear-gradient(to right, #57c1eb 0%,#246fa8 100%);
  15. }
  16.  
  17. body {
  18.     padding: 20px 50px;
  19. }
  20.  
  21. main {
  22.     display: grid;
  23.     height: 100%;
  24.     grid-template-columns: 103px 1fr;
  25. }
  26.  
  27. main.opened-nav {
  28.     grid-template-columns: 400px 1fr;
  29. }
  30.  
  31. aside {
  32.     display: flex;
  33.     flex-direction: column;
  34.     background: #0048AA;
  35.     color: #FFF;
  36.     padding: 20px;
  37.     font-size: 3.5rem;
  38.     position: relative;
  39. }
  40.  
  41. #hamburger-menu,
  42. #close-menu {
  43.     position: absolute;
  44.     font-size: 7rem;
  45.     line-height: 7rem;
  46.     color: #FFF;
  47.     text-decoration: none;
  48.     z-index: 1000;
  49.     cursor: pointer;
  50.     transition: opacity 350ms;
  51. }
  52.  
  53. #hamburger-menu {
  54.     left: 20px;
  55. }
  56.  
  57. #close-menu {
  58.     right: 20px;
  59. }
  60.  
  61. main.opened-nav #hamburger-menu,
  62. #close-menu {
  63.     opacity: 0;
  64.     visibility: hidden;
  65. }
  66.  
  67. main.opened-nav #close-menu {
  68.     opacity: 1;
  69.     visibility: visible;
  70. }
  71.  
  72. section {
  73.     text-align: center;
  74.     padding: 100px;
  75.     background: #FFF;
  76. }
  77.  
  78. h1 {
  79.     font-size: 5rem;
  80.     margin-bottom: 3.5rem;
  81. }
  82.  
  83. p {
  84.     font-size: 2.4rem;
  85.     line-height: 1.7rem;
  86.     margin-top: 2.2rem;
  87. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top