HarshBarash

Untitled

May 15th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 2.70 KB | None | 0 0
  1. @import "bootstrap";
  2. @import "bootstrap-sprockets";
  3.  
  4.  
  5.  
  6. body {
  7.   background-color: #E5E5E5;
  8.   height: 100%;
  9.   margin: 80px;
  10. }
  11.  
  12. h9 {
  13.   font-size: 65px;
  14.   text-decoration: none;
  15. }
  16.  
  17. .wrapper {
  18.  
  19. }
  20.  
  21. .containerrr {
  22.   max-width: 1180px;
  23.   margin: 0px auto;
  24.   padding: 0px 10px;
  25. }
  26.  
  27. .header {
  28.   position: fixed;
  29.   width: 100%;
  30.   top: 0;
  31.   left: 0;
  32.   z-index: 50;
  33. }
  34.  
  35. .header:before {
  36.   content: "";
  37.   position: absolute;
  38.   top: 0;
  39.   left: 0;
  40.   width: 100%;
  41.   height: 100%;
  42.   border-radius: 30px;
  43.   background-color: #376FFF;
  44.   z-index: 2;
  45. }
  46.  
  47. .header_body {
  48.   position: relative;
  49.   display: flex;
  50.   justify-content: space-between;
  51.   height: 80px;
  52.   align-items: center;
  53.   margin: 10px;
  54.   text-decoration: none;
  55. }
  56.  
  57. .header_list {
  58.   display: flex;
  59.   position: relative;
  60.   z-index: 2;
  61. }
  62.  
  63. .header_list li{
  64.   list-style: none;
  65.   margin: 0px 0px 0px 20px;
  66. }
  67.  
  68.  
  69. .header_link {
  70.   color: #F7F7F7;
  71.   font-family: Wellfleet;
  72.   font-size: 40px ;
  73.   text-decoration: none;
  74.  
  75. }
  76.  
  77. .header_logo {
  78.   flex: 0 0 60px;
  79.   color: #F7F7F7;
  80.   text-decoration: none;
  81.   font-size: 80px;
  82.   font-family: Wellfleet;
  83.   z-index: 3;
  84. }
  85.  
  86. .header_logo:hover{
  87.   text-decoration: none;
  88.   color: #F7F7F7;
  89. }
  90.  
  91. .header_link:hover{
  92.   text-decoration: none;
  93.   color: #F7F7F7;
  94. }
  95.  
  96. .header_burger {
  97.   display: none;
  98. }
  99.  
  100. @media (max-width: 767px){
  101.  
  102.   body.lock{
  103.     overflow: hidden;
  104.   }
  105.   .header_body {
  106.     height: 50px;
  107.   }
  108.   .header_logo {
  109.     flex: 0 0 50px;
  110.   }
  111.   .header_burger {
  112.     display: block;
  113.     position: relative;
  114.     width: 30px;
  115.     height: 20px;
  116.     z-index: 3;
  117.  
  118.   }
  119.   .header_burger span {
  120.     position: absolute;
  121.     background-color: #F7F7F7;
  122.     left: 0;
  123.     width: 100%;
  124.     height: 2px;
  125.     top: 9px;
  126.     transition: all 0.3s ease 0s;
  127.   }
  128.   .header_burger:before,
  129.   .header_burger:after{
  130.     content: "";
  131.     background-color: #F7F7F7;
  132.     position: absolute;
  133.     width: 100%;
  134.     height: 2px;
  135.     left: 0;
  136.     transition: all 0.3s ease 0s;
  137.  
  138.   }
  139.   .header_burger:before {
  140.     top: 0;
  141.   }
  142.   .header_burger:after {
  143.     bottom: 0;
  144.   }
  145.  
  146.   .header_burger.active span{
  147.     transform: scale(0);
  148.  
  149.   }
  150.   .header_burger.active:before {
  151.     transform: rotate(45deg);
  152.     top: 9px
  153.   }
  154.   .header_burger.active:after {
  155.     transform: rotate(-45deg);
  156.     bottom: 9px
  157.   }
  158.  
  159.   .header_menu {
  160.     position: fixed;
  161.     top: -100%;
  162.     left: 0;
  163.     width: 100%;
  164.     height: 100%;
  165.     overflow: auto;
  166.     background-color: #376FFF;
  167.     padding: 70px 10px 20px 10px;
  168.     transition: all 0.3s ease 0s;
  169.   }
  170.  
  171.   .header_menu.active{
  172.     top: 0;
  173.   }
  174.   .header_list {
  175.     display: block;
  176.   }
  177.   .header_list li {
  178.     margin: 0px 0px 20px 0px;
  179.   }
  180. }
  181.  
Advertisement
Add Comment
Please, Sign In to add comment