Change some User Manual images to scale dynamically with the viewport width

This commit is contained in:
Kovid Goyal 2014-02-13 14:05:34 +05:30
parent b469439270
commit 46172c0e1d
4 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,7 @@ it, a tooltip will appear describing the setting.
.. image:: images/conv_dialog.png
:align: center
:alt: Ebook conversion dialog
:scale: 50
:class: half-width-img
.. contents:: Contents
:depth: 1

View File

@ -21,6 +21,7 @@ you the differences in text, styles and images in the chosen books.
.. image:: images/diff.png
:alt: The compare tool
:align: center
:class: fit-img
Understanding the comparison view
----------------------------------

View File

@ -17,6 +17,7 @@ You can use this editor by right clicking on any book in |app| and selecting
.. image:: images/edit-book.png
:alt: The Edit Book tool
:align: center
:class: fit-img
.. contents:: Contents
:depth: 2

View File

@ -4,6 +4,8 @@
<style type="text/css">
.float-left-img { float: left; margin-right: 1em; margin-bottom: 1em }
.float-right-img { float: right; margin-left: 1em; margin-bottom: 1em }
.half-with-img { max-width: 50% }
.fit-img { max-width: 95% }
</style>
{% endblock %}