Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.x
cache: 'pip'

- name: Install Dependencies
run: pip install mkdocs-material
Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ hide:
---

**JsWeb** is a blazing-fast, lightweight ASGI Python web framework that combines traditional MVC architecture and modern API-first development into a single, unified technology.

Build full-stack web apps and APIs together without switching frameworks.

## ✨ Key Features
Expand Down
30 changes: 25 additions & 5 deletions overrides/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,29 @@
z-index: 1;
}

/* Keep the site name visible on scroll */
.md-header__topic:not([hidden]) {
display: flex;
align-items: center;
margin-left: .4rem;
/*
Header Title Fix:
Always show the first topic (Site Title) and hide the second topic (Page Title).
*/

/* Target the container for the titles */
.md-header__title {
/* Ensure the container is visible */
opacity: 1 !important;
}

/* 1. The Site Title (JsWeb) */
.md-header__title .md-header__topic:first-child {
opacity: 1 !important;
transform: none !important;
visibility: visible !important;
display: block !important;
width: auto !important;
font-size: 1.5rem !important; /* Increased font size */
font-weight: bold !important;
}

/* 2. The Page Title (e.g., Getting Started) */
.md-header__title .md-header__topic:last-child {
display: none !important;
}