Skip to content

Commit 6bf5dfc

Browse files
committed
web: some more fixing.
1 parent 02e2e58 commit 6bf5dfc

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

docs/documentation.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@
171171
}
172172
}
173173
</style>
174-
<base href="./" />
174+
<base href="./documentation.html" />
175175
</head>
176176
<body>
177177
<nav class="navbar">
178178
<div class="container">
179-
<a href="./index.html" class="nav-brand">🔑 Keymaster</a>
179+
<div class="nav-brand">🔑 Keymaster</div>
180180
<div class="nav-links">
181181
<a href="./index.html">Home</a>
182-
<a href="./documentation.html" style="color: var(--accent-bright);">Docs</a>
182+
<span style="color: var(--accent-bright); font-weight: 500;">Docs</span>
183183
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
184184
<svg class="sun-icon" viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2">
185185
<circle cx="12" cy="12" r="5"></circle>

docs/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="description" content="Keymaster - agentless SSH key manager that simplifies access control across your infrastructure" />
77
<title>Keymaster — Agentless SSH Key Manager</title>
88
<link rel="stylesheet" href="./styles.css" />
9-
<base href="./" />
109
</head>
1110
<body>
1211
<nav class="navbar">

docs/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ body {
8787
padding: 0 var(--spacing-lg);
8888
}
8989

90+
/* Ensure anchored sections appear below the sticky header */
91+
[id] {
92+
scroll-margin-top: 88px;
93+
}
94+
9095
/* Navbar */
9196
.navbar {
9297
position: sticky;

0 commit comments

Comments
 (0)