Skip to content
Draft
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
25 changes: 25 additions & 0 deletions docs/src/_static/theme_override.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,28 @@ ul.squarelist {
text-indent: 1em;
padding-left: 5em;
}

/* custom css for the cards on the homepage */
.sd-card-img-top {
width: 15% !important;
position: absolute !important;
padding-left: 10px;
min-width: 50px;
top: 50%;
transform: translateY(-50%);
}

.sd-card-img {
height: auto;
}

.custom-title {
font-weight: bold;
color: #1B8FB7 !important;
text-align: left;
}

.custom-body {
text-align: left;
margin-left: max(45px, 15%);
}
140 changes: 50 additions & 90 deletions docs/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,114 +15,74 @@ representations become unwieldy and inefficient.

For more information see :ref:`why_iris`.

.. grid:: 3

.. grid-item-card::
:text-align: center
:img-top: _static/icon_shuttle.svg
:class-img-top: w-50 m-auto px-1 py-2 dark-light
:shadow: lg

Information on Iris, how to install and a gallery of examples that
create plots.
.. grid:: 1 1 2 2
:gutter: 2

+++
.. button-ref:: getting_started_index
:ref-type: ref
:color: primary
:outline:
:expand:
.. grid-item-card:: Getting Started
:class-title: custom-title
:class-body: custom-body
:link: getting_started_index
:link-type: ref
:img-top: _static/icon_shuttle.svg
:class-img-top: dark-light
:class-card: sd-rounded-3

Getting Started
Installing and gallery examples.

.. grid-item-card::
:text-align: center
.. grid-item-card:: User Guide
:class-title: custom-title
:class-body: custom-body
:link: getting_started_index
:link-type: ref
:img-top: _static/icon_instructions.svg
:class-img-top: w-50 m-auto px-1 py-2 dark-light
:shadow: lg

Learn how to use Iris, including loading, navigating, saving,
plotting and more.
:class-img-top: dark-light
:class-card: sd-rounded-3

+++
.. button-ref:: user_guide_index
:ref-type: ref
:color: primary
:outline:
:expand:
Learn how to use Iris.

User Guide

.. grid-item-card::
:text-align: center
.. grid-item-card:: Developers Guide
:class-title: custom-title
:class-body: custom-body
:link: development_where_to_start
:link-type: ref
:img-top: _static/icon_development.svg
:class-img-top: w-50 m-auto px-1 py-2 dark-light
:shadow: lg

Information on how you can contribute to Iris as a developer.

+++
.. button-ref:: development_where_to_start
:ref-type: ref
:color: primary
:outline:
:expand:

Developers Guide
:class-img-top: dark-light
:class-card: sd-rounded-3

Contribute to Iris as a developer.

.. grid:: 3

.. grid-item-card::
:text-align: center
.. grid-item-card:: Iris API
:class-title: custom-title
:class-body: custom-body
:link: generated/api/iris
:img-top: _static/icon_api.svg
:class-img-top: w-50 m-auto px-1 py-2 dark-light
:shadow: lg

Browse full Iris functionality by module.
:class-img-top: dark-light
:class-card: sd-rounded-3

+++
.. button-ref:: generated/api/iris
:ref-type: doc
:color: primary
:outline:
:expand:
Iris functionality by module.

Iris API

.. grid-item-card::
:text-align: center
.. grid-item-card:: What's New
:class-title: custom-title
:class-body: custom-body
:link: iris_whatsnew
:link-type: ref
:img-top: _static/icon_new_product.svg
:class-img-top: w-50 m-auto px-1 py-2 dark-light
:shadow: lg

Find out what has recently changed in Iris.
:class-img-top: dark-light
:class-card: sd-rounded-3

+++
.. button-ref:: iris_whatsnew
:ref-type: ref
:color: primary
:outline:
:expand:
Recent changes in Iris.

What's New

.. grid-item-card::
:text-align: center
.. grid-item-card:: Voted Issues
:class-title: custom-title
:class-body: custom-body
:link: voted_issues_top
:link-type: ref
:img-top: _static/icon_thumb.png
:class-img-top: w-50 m-auto px-1 py-2 dark-light
:shadow: lg

Raise the profile of issues by voting on them.

+++
.. button-ref:: voted_issues_top
:ref-type: ref
:color: primary
:outline:
:expand:
:class-img-top: dark-light
:class-card: sd-rounded-3

Voted Issues
Raise the profile of issues by voting.


Icons made by FreePik from `Flaticon <https://www.flaticon.com/>`_
Expand Down
3 changes: 2 additions & 1 deletion docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ This document explains the changes made to Iris for this release
📚 Documentation
================

#. N/A
#. `@tkknight`_ reduced the space used on the documentation homepage by the quick
link cards to allow for easier reading. (:pull:`6886`)


💼 Internal
Expand Down
Loading