Skip to content

Commit

Permalink
FIX use sphinx-design and add missing reference (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored May 18, 2024
1 parent 85a5969 commit 939dd4e
Show file tree
Hide file tree
Showing 14 changed files with 468 additions and 158 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: prefix-dev/setup-pixi@v0.6.0
- uses: prefix-dev/setup-pixi@v0.7.0
with:
pixi-version: v0.20.1
pixi-version: v0.22.0
environments: doc
frozen: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.6.0
- uses: prefix-dev/setup-pixi@v0.7.0
with:
pixi-version: v0.20.1
pixi-version: v0.22.0
environments: lint
frozen: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.6.0
- uses: prefix-dev/setup-pixi@v0.7.0
with:
pixi-version: v0.20.1
pixi-version: v0.22.0
environments: ${{ matrix.environment }}
frozen: true

Expand Down
113 changes: 41 additions & 72 deletions doc/_static/css/project-template.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,75 +16,44 @@
margin-bottom: 1em;
}

/* Main index page overview cards */

.intro-card {
padding: 30px 10px 20px 10px;
}

.intro-card .sd-card-img-top {
margin: 10px;
height: 52px;
background: none !important;
}

.intro-card .sd-card-title {
color: var(--pst-color-primary);
font-size: var(--pst-font-size-h5);
padding: 1rem 0rem 0.5rem 0rem;
}

.intro-card .sd-card-footer {
border: none !important;
}

.intro-card .sd-card-footer p.sd-card-text {
max-width: 220px;
margin-left: auto;
margin-right: auto;
}

.intro-card .sd-btn-secondary {
background-color: #6c757d !important;
border-color: #6c757d !important;
}

.intro-card .sd-btn-secondary:hover {
background-color: #5a6268 !important;
border-color: #545b62 !important;
}

.card {
margin-top: 1em;
margin-bottom: 1em;
}

.card,
.card img {
background-color: var(--pst-color-background);
}

.custom-button {
background-color: #dcdcdc;
border: none;
color: #484848;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 0.9rem;
border-radius: 0.5rem;
max-width: 220px;
padding: 0.5rem 0rem;
}

.custom-button a {
color: #484848;
}

.custom-button p {
margin-top: 0;
margin-bottom: 0rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
color: #484848;
}
/* Main index page overview cards */

.intro-card {
padding: 30px 10px 20px 10px;
}

.intro-card .sd-card-img-top {
margin: 10px;
height: 52px;
background: none !important;
}

.intro-card .sd-card-title {
color: var(--pst-color-primary);
font-size: var(--pst-font-size-h5);
padding: 1rem 0rem 0.5rem 0rem;
}

.intro-card .sd-card-footer {
border: none !important;
}

.intro-card .sd-card-footer p.sd-card-text {
max-width: 220px;
margin-left: auto;
margin-right: auto;
}

.intro-card .sd-btn-secondary {
background-color: #6c757d !important;
border-color: #6c757d !important;
}

.intro-card .sd-btn-secondary:hover {
background-color: #5a6268 !important;
border-color: #545b62 !important;
}

.card, .card img {
background-color: var(--pst-color-background);
}
97 changes: 97 additions & 0 deletions doc/_static/img/index_api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions doc/_static/img/index_examples.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions doc/_static/img/index_getting_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 939dd4e

Please sign in to comment.