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
29 changes: 7 additions & 22 deletions docs/_static/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,23 +284,13 @@ html {
text-decoration: underline;
}
.tigre-why p:first-child { color: var(--pst-color-text-base); }

/* Get started: the only cards on the page, because they are actions. */
.tigre-start .sd-card {
border: 1px solid var(--pst-color-border);
border-top: 3px solid var(--pst-color-accent);
border-radius: 0.4rem;
box-shadow: none;
}
.tigre-start .sd-card:hover,
.tigre-start .sd-card:focus-within {
border-color: var(--pst-color-accent);
}
.tigre-start .sd-card-title {
font-stretch: 112%;
font-size: 1.1rem;
/* Get started: the same layout, but these are actions, so the headings look
like the links they are. */
.tigre-start p strong a {
color: var(--pst-color-link);
text-decoration: underline;
text-underline-offset: 0.2em;
}
.tigre-start .sd-card-text { color: var(--pst-color-text-muted); }

/* The landing page gets a wider column than the docs pages. */
.bd-main .bd-content .bd-article-container:has(.tigre-band) {
Expand All @@ -315,10 +305,6 @@ html[data-theme="dark"] .tigre-band img.tigre-hero-logo,
html[data-theme="dark"] .tigre-band img {
filter: none !important;
}
.tigre-start .sd-card.sd-shadow-sm,
.tigre-start .sd-card {
box-shadow: none !important;
}

@media (max-width: 600px) {
.bd-content h1 { font-size: 1.9rem; }
Expand Down Expand Up @@ -375,8 +361,7 @@ html[data-theme="dark"] .tigre-band img {

/* Home page grids line up with the headings above them (sphinx-design pads
its containers by half a gutter). */
.sd-container-fluid.tigre-why,
.sd-container-fluid.tigre-start {
.sd-container-fluid.tigre-why {
padding-left: 0;
padding-right: 0;
}
Expand Down
28 changes: 14 additions & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,27 +229,27 @@ industrial imaging, particle therapy and reconstruction research.

## Get started

::::{grid} 1 1 3 3
:gutter: 3
:class-container: tigre-start
::::{grid} 1 2 2 3
:gutter: 4
:class-container: tigre-why tigre-start

:::{grid-item}
**[Install TIGRE](install/index.md)**

:::{grid-item-card} Install
:link: install/index
:link-type: doc
Prebuilt wheels for Python on Linux, or build TIGRE for MATLAB and Python
from source.
:::

:::{grid-item-card} Learn
:link: user-guide/index
:link-type: doc
The user guide: geometry, algorithms, real data, and what to check when a
reconstruction looks wrong.
:::{grid-item}
**[Read the user guide](user-guide/index.md)**

Geometry, algorithms, real data, and what to check when a reconstruction
looks wrong.
:::

:::{grid-item-card} Reference
:link: api/index
:link-type: doc
:::{grid-item}
**[Look up a function](api/index.md)**

Every function and option, in Python and MATLAB.
:::
::::
Expand Down