|
22 | 22 | align-items: center; |
23 | 23 | justify-content: center; |
24 | 24 | /* height: 100vh; */ |
| 25 | +} |
| 26 | +.hamburger div { |
| 27 | + width: 25px; |
| 28 | + height: 3px; |
| 29 | + background-color: #333; |
| 30 | + margin: 4px; |
| 31 | + transition: 0.4s; |
| 32 | + } |
| 33 | + @media only screen and (max-width:200px) { |
| 34 | + .sponsor-btn{ |
| 35 | + font-size: 12px !important; |
| 36 | + width: 90px !important; |
| 37 | + height: 46px !important; |
| 38 | + } |
| 39 | + .star-button{ |
| 40 | + font-size: 12px !important; |
| 41 | + width: 90px !important; |
| 42 | + } |
25 | 43 | } |
26 | 44 | </style> |
27 | 45 | </head> |
28 | 46 | <body> |
29 | 47 | <header> |
30 | 48 | <nav> |
31 | 49 | <a href="index.html"> |
32 | | - <div class="logo"> |
33 | | - <img src="HelpOps-H Fevicon.png" alt="Logo"> |
34 | | - </div> |
35 | | - </a> |
| 50 | + <div class="logo" data-tilt data-tilt-scale="1.1"> |
| 51 | + <img src="HelpOps-H Fevicon.png" alt="Logo"> |
| 52 | + </div> |
| 53 | + </a> |
36 | 54 | <ul class="nav-links"> |
37 | 55 | <li><a href="index.html">Home</a></li> |
38 | 56 | <li><a href="abouts.html">About</a></li> |
39 | 57 | <li><a href="contributor.html">Team</a></li> |
40 | 58 | <li><a href="contactus.html">Contact</a></li> |
41 | 59 | </ul> |
42 | | - <!-- <div id="search"><i class="fa fa-search"></i></div> --> |
43 | | -<div class="toggle-switch"> |
44 | | - <div id="search"><i class="fa fa-search"></i></div> |
45 | | - <input type="checkbox" id="toggle" /> |
46 | | - <label for="toggle" class="switch"></label> |
47 | | -</div> |
48 | | - |
49 | | - <!-- <div class="nav-actions"> |
50 | | - <button class="sponsor-btn">Sponsor <i id="heart" class="fas fa-heart"></i></button> |
51 | | - </div> --> |
| 60 | + |
| 61 | + <div class="nav-actions"> |
| 62 | + <a href="https://github.com/sponsors/mdazfar2"> |
| 63 | + <button class="sponsor-btn">Sponsor <i id="heart" class="fas fa-heart"></i></button> |
| 64 | + </a> |
| 65 | + </div> |
| 66 | + <div class="hamburger" id="hamburger"> |
| 67 | + <div></div> |
| 68 | + <div></div> |
| 69 | + <div></div> |
| 70 | + </div> |
52 | 71 | </nav> |
53 | 72 | </header> |
| 73 | + <ul class="nav-links1" id="navlinks1"> |
| 74 | + <li><a href="index.html">Home</a></li> |
| 75 | + <li><a href="abouts.html">About</a></li> |
| 76 | + <li><a href="contributor.html">Team</a></li> |
| 77 | + <li><a href="contactus.html">Contact</a></li> |
| 78 | + |
| 79 | + </ul> |
54 | 80 | <div class="heading"><h1>Resources</h1></div> |
55 | 81 | <div id="maincontainer"> |
56 | 82 | <div id="loading"> |
|
83 | 109 | <p class="font h mm" >Developed by <a href="https://github.com/mdazfar2" target="_blank" class="font">Azfar Alam</a> & <a class="font" target="_blank" href="https://helpops-hub.vercel.app/contributor-index.html">Open Source Community</a> </p> |
84 | 110 | </div> |
85 | 111 | </div> |
| 112 | + <script> |
| 113 | + |
| 114 | + // if(window.innerWidth>800){ |
| 115 | + // document.getElementById("navlinks1").style.display='none' |
| 116 | + // } |
| 117 | + document.getElementById('hamburger').addEventListener('click',(e)=>{ |
| 118 | + let ele=document.getElementById("navlinks1") |
| 119 | + document.querySelector('.nav-links1').classList.toggle('active'); |
| 120 | + }) |
| 121 | + </script> |
86 | 122 | </body> |
87 | 123 | </html> |
0 commit comments