Skip to content

Commit 0c3e91b

Browse files
authored
Merge pull request #23 from Jsweb-Tech/Docs/Update
Docs Minor Updates
2 parents 890cac7 + d33c4c2 commit 0c3e91b

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: actions/setup-python@v5
2828
with:
2929
python-version: 3.x
30+
cache: 'pip'
3031

3132
- name: Install Dependencies
3233
run: pip install mkdocs-material

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ hide:
3333
---
3434

3535
**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.
36-
3736
Build full-stack web apps and APIs together without switching frameworks.
3837

3938
## ✨ Key Features

overrides/stylesheets/extra.css

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,29 @@
77
z-index: 1;
88
}
99

10-
/* Keep the site name visible on scroll */
11-
.md-header__topic:not([hidden]) {
12-
display: flex;
13-
align-items: center;
14-
margin-left: .4rem;
10+
/*
11+
Header Title Fix:
12+
Always show the first topic (Site Title) and hide the second topic (Page Title).
13+
*/
14+
15+
/* Target the container for the titles */
16+
.md-header__title {
17+
/* Ensure the container is visible */
18+
opacity: 1 !important;
19+
}
20+
21+
/* 1. The Site Title (JsWeb) */
22+
.md-header__title .md-header__topic:first-child {
23+
opacity: 1 !important;
24+
transform: none !important;
25+
visibility: visible !important;
26+
display: block !important;
27+
width: auto !important;
28+
font-size: 1.5rem !important; /* Increased font size */
29+
font-weight: bold !important;
30+
}
31+
32+
/* 2. The Page Title (e.g., Getting Started) */
33+
.md-header__title .md-header__topic:last-child {
34+
display: none !important;
1535
}

0 commit comments

Comments
 (0)