Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
43 changes: 43 additions & 0 deletions doc/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,46 @@ div.cell details.hide > summary {
div.cell details[open].above-input div.cell_input {
border-top: None;
}

/* -------------------------------------------
GeoUtils tables: subsection rows
------------------------------------------- */

/* Put the band color on the row itself */
table.tight-table tr:has(.gu-table-section) {
background-color: var(--pst-color-surface-secondary) !important;
}

/* Make all cells transparent so the row color shows through */
table.tight-table tr:has(.gu-table-section) > td {
background: transparent !important;
background-image: none !important;
box-shadow: none !important;

/* slightly shorter row */
padding: 0.45rem 0.6rem !important;

/* remove vertical borders so cells look merged */
border-left: 0 !important;
border-right: 0 !important;

/* top + bottom edge */
border-top: 1px solid var(--pst-color-border) !important;
border-bottom: 1px solid var(--pst-color-border) !important;
}

/* left accent bar */
table.tight-table tr:has(.gu-table-section) > td:first-child {
border-left: 4px solid var(--pst-color-primary) !important;
}

/* hide placeholder cells but keep layout */
table.tight-table tr:has(.gu-table-section) > td:not(:first-child) {
visibility: hidden;
}

/* label styling */
.gu-table-section {
font-weight: 700;
letter-spacing: 0.02em;
}
8 changes: 8 additions & 0 deletions doc/source/_templates/raster_method.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% set name = objname.split('.')[-1] %}

Raster.{{ name }}{% if objtype == "method" %}(){% endif %} or ds.rst.{{ name }}{% if objtype == "method" %}(){% endif %}
=======================================================================

.. currentmodule:: geoutils

.. auto{{ objtype }}:: {{ fullname }}
Loading
Loading