Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ docserver
docs-linux
docs-macos
docs-server
docs-bin
docs/docs

# Test binary
*.test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A lightweight, fast documentation server written in Go that converts Markdown fi

## Screenshots

![Documentation Homepage](https://github.com/user-attachments/assets/9ab3dab8-22d9-4d65-8110-2c32fb28e208)
![Documentation Homepage](https://github.com/user-attachments/assets/c815def6-dd53-4a1c-993f-6015b8f8214f)
*The documentation server features a full-height sidebar navigation and clean, modern design*

## Features
Expand Down
10 changes: 6 additions & 4 deletions templates/theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
-moz-osx-font-smoothing: grayscale;
background: #ffffff;
color: var(--slate-700);
display: flex;
flex-direction: column;
min-height: 100vh;
}

header {
Expand All @@ -57,6 +60,7 @@
display: flex;
align-items: center;
gap: 0.75rem;
color: white !important;
}

.menu-toggle {
Expand All @@ -72,7 +76,7 @@
.main-layout {
display: grid;
grid-template-columns: 280px 1fr;
min-height: calc(100vh - 60px);
flex: 1;
position: relative;
}

Expand All @@ -81,9 +85,6 @@
color: var(--slate-300);
padding: 1.5rem 0;
overflow-y: auto;
position: sticky;
top: 60px;
height: calc(100vh - 60px);
transition: transform 0.3s ease;
}

Expand Down Expand Up @@ -372,6 +373,7 @@
top: 60px;
left: 0;
width: 280px;
height: calc(100vh - 60px);
z-index: 50;
box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}
Expand Down