[Bf-docboard-svn] bf-manual: [7529] trunk/blender_docs: Epub: Wrap content around right aligned images

Aaron Carlisle noreply at blender.org
Tue Jan 5 17:44:42 CET 2021


Revision: 7529
          https://developer.blender.org/rBM7529
Author:   Blendify
Date:     2021-01-05 17:44:42 +0100 (Tue, 05 Jan 2021)
Log Message:
-----------
Epub: Wrap content around right aligned images

Modified Paths:
--------------
    trunk/blender_docs/manual/conf.py

Added Paths:
-----------
    trunk/blender_docs/resources/theme/css/epub_overrides.css

Modified: trunk/blender_docs/manual/conf.py
===================================================================
--- trunk/blender_docs/manual/conf.py	2021-01-05 05:48:34 UTC (rev 7528)
+++ trunk/blender_docs/manual/conf.py	2021-01-05 16:44:42 UTC (rev 7529)
@@ -433,6 +433,8 @@
 # visual space.
 epub_theme = 'epub'
 
+epub_css_files = ["css/epub_overrides.css"]
+
 # The language of the text. It defaults to the language option
 # or 'en' if the language is not set.
 #

Added: trunk/blender_docs/resources/theme/css/epub_overrides.css
===================================================================
--- trunk/blender_docs/resources/theme/css/epub_overrides.css	                        (rev 0)
+++ trunk/blender_docs/resources/theme/css/epub_overrides.css	2021-01-05 16:44:42 UTC (rev 7529)
@@ -0,0 +1,12 @@
+/*
+ * This stylesheet is applied after the theme's default one,
+ * and thus any overrides or additions can be added here.
+ *
+ * More info:
+ *		https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_css_file
+ */
+
+.align-right {
+   float: right;
+   margin: 0 0 24px 24px;
+}


Property changes on: trunk/blender_docs/resources/theme/css/epub_overrides.css
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the Bf-docboard-svn mailing list