From: Vladimír Vondruš Date: Thu, 29 Dec 2022 15:50:27 +0000 (+0100) Subject: css: document that a can be .m-fullwidth. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=f638267c6aee5649c1806d20f3ad593ad04a3e2d;p=blog.git css: document that a
can be .m-fullwidth. I kinda forgot all the particulars since I made this five years ago, so better document everything for my old soul. --- diff --git a/doc/css/components.rst b/doc/css/components.rst index 4e5790c1..7d7be75d 100644 --- a/doc/css/components.rst +++ b/doc/css/components.rst @@ -519,11 +519,13 @@ bold, all :html:`
` and :html:`` are aligned to left while table
-Rows are highlighted on hover, if you want to disable that, put :css:`.m-flat` -CSS class on the :html:`` element. You can also put :css:`.m-thin` onto -:html:`` or :html:`
` elements to remove the bold styling. Similarly to other -components, you can color particular :html:`
` elements -using the color classes from above: +Use the :css:`.m-fullwidth` CSS class on the :html:`` element to make +the table span the full width instead of being centered. Rows are highlighted +on hover, if you want to disable that, put :css:`.m-flat` on the +:html:`
` element. You can also put :css:`.m-thin` onto :html:`` or :html:`
` +elements to remove the bold styling. Similarly to other components, you can +color particular :html:`
` elements using the color classes +from above: .. raw:: html