Skip to content

Commit

Permalink
center images
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Oct 14, 2024
1 parent 703e74c commit dd80625
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 1 deletion.
5 changes: 5 additions & 0 deletions source/1-Characters/1-Bennets-Badgers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Jane Bennet
.. image:: ../img/Marauder.webp
:width: 45%
:alt: Marauder BattleMech
:align: center

* Mech: `Marauder C <http://masterunitlist.info/Unit/Details/2032/marauder-c>`_
* Sarna: `Marauder article <https://www.sarna.net/wiki/Marauder>`_
Expand All @@ -21,6 +22,7 @@ Elizabeth Bennet
.. image:: ../img/Atlas.webp
:width: 45%
:alt: Atlas BattleMech
:align: center

* Mech: `Atlas C 2 <http://masterunitlist.info/Unit/Details/8431/atlas-c-2>`_
* Sarna: `Atlas article <https://www.sarna.net/wiki/Atlas>`_
Expand All @@ -34,6 +36,7 @@ Mary Bennet
.. image:: ../img/Catapult.webp
:width: 45%
:alt: Catapult BattleMech
:align: center

* Mech: `Catapult CPLT-C5A <http://masterunitlist.info/Unit/Details/484/catapult-cplt-c5a>`_
* Sarna: `Catapult article <https://www.sarna.net/wiki/Catapult>`_
Expand All @@ -47,6 +50,7 @@ Catherine Bennet
.. image:: ../img/GriffinIIC.webp
:width: 45%
:alt: Griffin IIC BattleMech
:align: center

* Mech: `Griffin IIC 2 <http://masterunitlist.info/Unit/Details/1311/griffin-iic-2>`_
* Sarna: `Griffin IIC article <https://www.sarna.net/wiki/Griffin_IIC>`_
Expand All @@ -60,6 +64,7 @@ Lydia Bennet
.. image:: ../img/ShadowHawkIIC.webp
:width: 45%
:alt: Shadow Hawk IIC BattleMech
:align: center

* Mech: `Shadow Hawk IIC 3 <http://masterunitlist.info/Unit/Details/2913/shadow-hawk-iic-3>`_
* Sarna: `Shadow Hawk IIC article <https://www.sarna.net/wiki/Shadow_Hawk_IIC>`_
Expand Down
5 changes: 5 additions & 0 deletions source/1-Characters/2-Snow-Ravens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Star Captain Fitzwilliam Darcy
.. image:: ../img/WarCrow.webp
:width: 45%
:alt: War Crow OmniMech
:align: center

* Mech: `War Crow B <http://masterunitlist.info/Unit/Details/7547/war-crow-b>`_
* Sarna: `War Crow article <https://www.sarna.net/wiki/War_Crow>`_
Expand All @@ -21,6 +22,7 @@ Star Commander Charles Bingley
.. image:: ../img/Crossbow.webp
:width: 45%
:alt: Crossbow OmniMech
:align: center

* Mech: `Crossbow G <http://masterunitlist.info/Unit/Details/8237/crossbow-g>`_
* Sarna: `Crossbow article <https://www.sarna.net/wiki/Crossbow_(OmniMech)>`_
Expand All @@ -34,6 +36,7 @@ Caroline
.. image:: ../img/Pouncer.webp
:width: 45%
:alt: Pouncer OmniMech
:align: center

* Mech: `Pouncer I <http://masterunitlist.info/Unit/Details/9263/pouncer-i>`_
* Sarna: `Pouncer article <https://www.sarna.net/wiki/Pouncer>`_
Expand All @@ -47,6 +50,7 @@ Louisa
.. image:: ../img/Adder.webp
:width: 45%
:alt: Adder OmniMech
:align: center

* Mech: `Adder I <http://masterunitlist.info/Unit/Details/7479/puma-adder-i>`_
* Sarna: `Adder article <https://www.sarna.net/wiki/Adder_(Puma)>`_
Expand All @@ -60,6 +64,7 @@ Philip
.. image:: ../img/MistLynx.webp
:width: 45%
:alt: Mist Lynx OmniMech
:align: center

* Mech: `Mist Lynx C <http://masterunitlist.info/Unit/Details/1829/koshi-mist-lynx-c>`_
* Sarna: `Mist Lynx article <https://www.sarna.net/wiki/Mist_Lynx_(Koshi)>`_
Expand Down
3 changes: 3 additions & 0 deletions source/1-Characters/3-Other.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Supervisor George Wickham
.. image:: ../img/BattleMaster.webp
:width: 45%
:alt: BattleMaster BattleMech
:align: center

* Mech: `BattleMaster BLG-1G <http://masterunitlist.info/Unit/Details/283/battlemaster-blr-1g>`_
* Sarna: `BattleMaster article <https://www.sarna.net/wiki/BattleMaster>`_
Expand All @@ -19,6 +20,7 @@ Capt Gardner
.. image:: ../img/Merlin.webp
:width: 45%
:alt: Merlin BattleMech
:align: center

* Mech: `Merlin MLN-1C <http://masterunitlist.info/Unit/Details/2180/merlin-mln-1c>`_
* Sarna: `Merlin article <https://www.sarna.net/wiki/Merlin_(BattleMech)>`_
Expand All @@ -32,6 +34,7 @@ Lt Gardner
.. image:: ../img/Merlin.webp
:width: 45%
:alt: Merlin BattleMech
:align: center

* Mech: `Merlin MLN-1D <http://masterunitlist.info/Unit/Details/9316/merlin-mln-1d>`_
* Sarna: `Merlin article <https://www.sarna.net/wiki/Merlin_(BattleMech)>`_
Expand Down
1 change: 1 addition & 0 deletions source/2-Locations/1-Jordan-Wais.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Jordan Wais is a relatively quiet core world of the Raven Alliance.
.. image:: ../img/Jordan_Wais_3151.webp
:width: 75%
:alt: Jordan Wais map
:align: center

* Planet Type: Terrestrial
* Diameter: 11.700,0 km
Expand Down
1 change: 1 addition & 0 deletions source/2-Locations/2-Alpheratz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Alpheratz IV is home to the Alliance Executive Parliament and has the largest mi
.. image:: ../img/Alpheratz_3151.webp
:width: 75%
:alt: Alpheratz map
:align: center

* Planet Type: Terrestrial
* Diameter: 15.098,3 km
Expand Down
1 change: 1 addition & 0 deletions source/2-Locations/3-Coraines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Coraines is a wealthy but minor system in the Raven Alliance.
.. image:: ../img/Coraines_3151.webp
:width: 75%
:alt: Coraines map
:align: center

* Planet Type: Terrestrial
* Diameter: 13,500,0 km
Expand Down
1 change: 1 addition & 0 deletions source/2-Locations/4-Halla.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Halla is an abandoned world near the Raven Alliance.
.. image:: ../img/Halla_3151.webp
:width: 75%
:alt: Halla map
:align: center

* Planet Type: Terrestrial
* Diameter: 12.000,0 km
Expand Down
5 changes: 4 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ['static']
html_static_path = ['.']
html_css_files = [
'css/custom.css',
]
6 changes: 6 additions & 0 deletions source/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
img.align-center {
margin-left: auto;
margin-right: auto;
display: block;
}

1 change: 1 addition & 0 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Follow Bennet's Badgers, a struggling family mercenary company, as they defend V
.. image:: img/PrideAndPrejudiceCover.webp
:width: 45%
:alt: Pride and Prejudice Cover
:align: center

.. toctree::
:maxdepth: 2
Expand Down

0 comments on commit dd80625

Please sign in to comment.