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
7 changes: 4 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:
- name: Install documentation dependencies
run: python -m pip install -r requirements-docs.txt

- name: Build documentation
run: mkdocs build --strict --site-dir site

- name: Set up Node.js
uses: actions/setup-node@v6
with:
Expand All @@ -52,10 +49,14 @@ jobs:
env:
GEOLIBRE_APP_BASE: ./

- name: Build documentation
run: mkdocs build --strict --site-dir site

- name: Add web demo to site
run: |
mkdir -p site/demo
cp -R apps/geolibre-desktop/dist/. site/demo/
test -f site/demo/index.html

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v5
Expand Down
51 changes: 51 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
.md-header {
background-color: #ffffff;
border-bottom: 1px solid rgba(15, 23, 42, 0.12);
box-shadow: none;
color: #17313b;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
height: 1.6rem;
width: 1.6rem;
}

.md-search__form {
background-color: rgba(15, 23, 42, 0.06);
}

.md-search__input {
color: #17313b;
}

.md-search__input::placeholder {
color: rgba(23, 49, 59, 0.68);
}

.md-search__form:hover {
background-color: rgba(15, 23, 42, 0.1);
}

[data-md-color-scheme="slate"] .md-header {
background-color: #111827;
border-bottom-color: rgba(255, 255, 255, 0.12);
color: #f8fafc;
}

[data-md-color-scheme="slate"] .md-search__form {
background-color: rgba(255, 255, 255, 0.1);
}

[data-md-color-scheme="slate"] .md-search__input {
color: #f8fafc;
}

[data-md-color-scheme="slate"] .md-search__input::placeholder {
color: rgba(248, 250, 252, 0.72);
}

[data-md-color-scheme="slate"] .md-search__form:hover {
background-color: rgba(255, 255, 255, 0.16);
}

.hero {
align-items: center;
display: grid;
Expand Down