-
Notifications
You must be signed in to change notification settings - Fork 6
added fixed navbar #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 18 commits
748a10f
1a44b6b
e9595a6
faf010d
dd265b8
e778e69
4103dfb
ab7d0a9
c6fb817
e9e36e5
80d0351
4a8f35f
a9e5cfe
6377cb9
6aed63a
71b2028
a2c8ce9
53fbcf4
d1527a3
920281d
897728e
8c7f959
98f71a1
c5a4337
4f1502a
7bafb7f
773d925
3e5f3d3
d1d50a9
764b4b6
05c0894
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -10,8 +10,16 @@ | |||||
| <link rel="stylesheet" href="https://unpkg.com/basscss@7.1.1/css/basscss.min.css" integrity="sha384-/biuPsPEkt10QoeOExIADuWNrpFFXALKPgBhEDkRdKDJdQOPpbNU3uUeFbL/KPJg" crossorigin="anonymous"> | ||||||
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hint.css/2.5.0/hint.base.min.css" integrity="sha256-ODFgZG+Y3V10lzZu+7J8epM4SdW0w3p8qbVmmShNrtk=" crossorigin="anonymous"> | ||||||
| <style type="text/css"> | ||||||
| #navbar li a { | ||||||
| padding: 14px 16px; | ||||||
| } | ||||||
| .topic { | ||||||
| padding-top: 75px; | ||||||
| margin-top: -75px; | ||||||
| } | ||||||
| #content { | ||||||
| margin-top: 75px; | ||||||
| margin-bottom: 100px; | ||||||
| overflow-x: hidden; | ||||||
| } | ||||||
| #logo-text { | ||||||
|
|
@@ -42,6 +50,8 @@ | |||||
| </style> | ||||||
| </head> | ||||||
| <body class="m2"> | ||||||
| <ul id="navbar" class="fixed m0 p0 overflow-hidden bg-black bottom-0 col-12 z2"> | ||||||
|
||||||
| <ul id="navbar" class="fixed m0 p0 overflow-hidden bg-black bottom-0 col-12 z2"> | |
| <ul id="navbar" class="fixed m0 p0 overflow-hidden bg-black bottom-0 col-12 z2"></ul> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(i.e. on the same line)
sushain97 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
nathanchi marked this conversation as resolved.
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacing is very suspicious here. Try running this through Prettier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of using 3 margin rules, just use one with 4 values.