From 710037bc02022c2e5c97aa075faed76af4e9e837 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 18 Nov 2017 16:18:01 +0100 Subject: [PATCH] doc: push for better semantics of notes and blocks. --- doc/css/components.rst | 78 +++++++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 36 deletions(-) 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
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-- 2.30.2