Skip to content

Commit ecf863f

Browse files
committed
Adaptive layout to utilize vertical space more efficiently
Remove the h2 heading and do some more sphinx-design grid nesting to squeeze out more vertical space for the thumbnail images. The grids are now adaptive too, and will turn from 3 columns to 1 column on narrow width screens (e.g. mobile devices). Ref: https://sphinx-design.readthedocs.io/en/sbt-theme/grids.html#nesting-grids.
1 parent bd7d7f1 commit ecf863f

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

book/intro.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# Mastering Geospatial Visualizations with GMT/PyGMT
22

3-
## Welcome to the AGU24 GMT/PyGMT workshop 🥳
3+
Welcome to the AGU24 [GMT](https://docs.generic-mapping-tools.org/6.5)/
4+
[PyGMT](https://www.pygmt.org/v0.13.0) workshop 🥳! This Jupyter book 📖 contains
5+
tutorials for making maps 🗺️ and animations 🎦
46

5-
This Jupyter book 📖 contains [GMT](https://docs.generic-mapping-tools.org/6.5) and
6-
[PyGMT](https://www.pygmt.org/v0.13.0) tutorials for producing maps 🗺️ and doing
7-
geospatial data processing 🌐
7+
::::::{grid} 1 1 3 3
8+
:gutter: 1
9+
:padding: 1
810

9-
::::{grid} 3
11+
12+
:::::{grid-item}
13+
::::{grid} 1 1 1 1
14+
:gutter: 1
1015

1116
:::{grid-item-card} Tutorial 1 - First figure + Subplots / layout
1217
:img-top: _images/fd70248f75b8b37ee54b3135f77705f98c6d8489eb18b6910184b447d0f0638d.png
@@ -38,6 +43,14 @@ by [Yvonne Fröhlich](https://orcid.org/0000-0002-8566-0619)
3843
{bdg-success-line}`choropleth map`
3944
:::
4045

46+
::::
47+
:::::
48+
49+
50+
:::::{grid-item}
51+
::::{grid} 1 1 1 1
52+
:gutter: 1
53+
4154
:::{grid-item-card} Tutorial 3 - Integration with the Scientific Python Ecosystem: Xarray (grids)
4255
:img-top: _images/a18fcb026fb0d0c83360f2b8382a360e552dd50db6aa2db5311259bf5223d3a2.png
4356
:link: ./tut03_spe_xarray.html
@@ -71,6 +84,14 @@ and [Yvonne Fröhlich](https://orcid.org/0000-0002-8566-0619)
7184
{bdg-success}`pandas`
7285
:::
7386

87+
::::
88+
:::::
89+
90+
91+
:::::{grid-item}
92+
::::{grid} 1 1 1 1
93+
:gutter: 1
94+
7495
:::{grid-item-card} Tutorial 5 - Topography (Planetary Maps / 3-D Antarctic Maps)
7596
:img-top: _images/1dfddce0ff606bd7dc3a175aedbd2fc4bde3aeadfadfd339eb30ce1903d049f9.png
7697
:link: ./tut05_topography.html
@@ -99,6 +120,11 @@ by [Federico Esteban](https://orcid.org/0000-0002-0641-7371)
99120
:::
100121

101122
::::
123+
:::::
124+
125+
126+
::::::
127+
102128

103129
Each tutorial is rendered on this website for easy viewing 👀, but they are all Jupyter
104130
notebooks designed to be ran interactively 💫. See the instructions below on how you can

0 commit comments

Comments
 (0)