diff --git a/docs/_static/landing.css b/docs/_static/landing.css index 2505d4e1..c514652d 100644 --- a/docs/_static/landing.css +++ b/docs/_static/landing.css @@ -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) { @@ -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; } @@ -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; } diff --git a/docs/index.md b/docs/index.md index d55f6283..140fde3e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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. ::: ::::