Skip to content

Commit 7e83469

Browse files
committed
fix: update nav, edit button and css path
1 parent 87b5a3f commit 7e83469

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

docs/index.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<link
2525
rel="stylesheet"
26-
href="/docs/index.css"
26+
href="../index.css"
2727
array="files"
2828
object="60888216117c640e7596303f"
2929
key="src"
@@ -33,15 +33,15 @@
3333
</head>
3434

3535
<body>
36+
<!-- Navbar -->
3637
<nav
37-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
38+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
3839
content_id="content"
39-
scroll="sticky-nav,hide-nav"
40-
scroll-up="10"
41-
scroll-down="10"
42-
array="files"
43-
object="60395ef42b3ac232657040fd"
44-
key="src"></nav>
40+
scroll="sticky-nav,"
41+
scroll-up="5"
42+
scroll-down="5"
43+
path="../"
44+
src="../components/navbar.html"></nav>
4545
<sidenav
4646
id="menuL"
4747
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -351,10 +351,8 @@ <h2 class="padding:5px_0px">Demo</h2>
351351
<button
352352
href="https://github.com/CoCreate-app/CoCreate-parallax/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
353353
target="_blank"
354-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
355-
<i
356-
class="height:20px fill:#505050"
357-
src="/assets/svg/pencil-alt.svg"></i>
354+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
355+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
358356
</button>
359357
</main>
360358

0 commit comments

Comments
 (0)