diff options
| author | Isaac Kim <snakeisaac@gmail.com> | 2022-08-24 18:43:52 -0700 |
|---|---|---|
| committer | Isaac Kim <snakeisaac@gmail.com> | 2022-08-24 18:43:52 -0700 |
| commit | ddd533fdf53c71aa5f37ba57dfa0cde9db8885ed (patch) | |
| tree | ab84cdd52abe0d3e1deb0943bd827e0439d00866 /index.html | |
| parent | 89dcd2cd96140846ed5f2a42ca1133e5f3760635 (diff) | |
Add basic mobile responsiveness to nav
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 26 |
1 files changed, 22 insertions, 4 deletions
@@ -9,13 +9,33 @@ <link rel="stylesheet" href="https://use.typekit.net/hta7xia.css" /> <link rel="stylesheet" type="text/css" href="./css/style.css" /> <link rel="icon" href="./images/favicon.png" /> + <script src="./js/main.js"></script> <meta name="theme-color" content="" /> <meta property="og:title" content="" /> <meta property="og:description" content="" /> </head> <body> <div id="nav"> - <div><a href="#welcome"><img src="./images/favicon.png" id="logo" /></a></div> + <div> + <div id="logo-wrapper"> + <div class="hide-desktop" style="width: 0.5rem;"></div> + <a href="#welcome"><img src="./images/favicon.png" id="logo" /></a + ><a + class="hide-desktop" + style=" + text-decoration: none; + font-weight: 700; + color: #000; + margin-left: 0.25rem; + font-family: classico-urw, sans-serif; + " + href="#welcome" + ><span>CSCI 1300</span></a + > + <div class="hide-desktop" style="flex: 1"></div> + <button class="hide-desktop" style="flex: none; margin-right: 1rem;" onclick="toggleNav(!isNavOpen);">Toggle Nav</button> + </div> + </div> <hr /> <div id="business-hours"> <h3>Business Hours</h3> @@ -39,9 +59,7 @@ <p style="font-size: 2rem">User Interfaces and User Experience</p> </div> </div> - <div id="xxx" style="height: 100vh;"> - content here - </div> + <div id="xxx" style="height: 100vh">content here</div> </div> </body> </html> |
