From: Vladimír Vondruš Date: Sat, 18 Nov 2017 15:18:01 +0000 (+0100) Subject: doc: push for better semantics of notes and blocks. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=710037bc02022c2e5c97aa075faed76af4e9e837;p=blog.git doc: push for better semantics of notes and blocks. --- diff --git a/doc/css/components.rst b/doc/css/components.rst index 4fdabc12..02cdb338 100644 --- a/doc/css/components.rst +++ b/doc/css/components.rst @@ -70,66 +70,69 @@ the color style as well. Text and links always have the default color, except for :css:`.m-block.m-dim`. It's also possible to have a block without the border, just add :css:`.m-flat` class to it. +It's recommended to use the :html:` .. raw:: html
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
@@ -145,65 +148,68 @@ Besides notes, there is a frame element defined by :css:`.m-frame`, which just wraps your content in a slightly rounded border. No color classes apply to a frame. +Like with blocks, tt's recommended to use the :html:` .. raw:: html
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+