diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index b75c49f7..1e862488 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -68,8 +68,15 @@ aside.sidebar.margin > p.sidebar-title { font-size: 0.9rem; margin-bottom: 0.3rem; } -/* landing page hero logo sizing */ -img.hero-logo { - max-width: 360px; +/* landing-page hero logo (inline svg): the linework uses + * `fill: currentColor` so it inherits the theme text colour + * (auto-flips light<->dark), and the faces are transparent so + * the page background shows through. */ +svg.hero-logo { + display: block; width: 60%; + max-width: 360px; + height: auto; + margin: 0 auto 1.5rem; + color: var(--pst-color-text-base); } diff --git a/docs/_static/tractor_logo_hero.html b/docs/_static/tractor_logo_hero.html new file mode 100644 index 00000000..27460752 --- /dev/null +++ b/docs/_static/tractor_logo_hero.html @@ -0,0 +1,456 @@ + diff --git a/docs/index.rst b/docs/index.rst index 98759aea..dc0b77ef 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,7 +1,5 @@ -.. image:: _static/tractor_logo_side.svg - :class: hero-logo - :align: center - :alt: tractor +.. raw:: html + :file: _static/tractor_logo_hero.html tractor =======