mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-11-21 19:15:51 +00:00
Added ability to put drop shadows under images in figures using rst-class.
.. code-block:: rst
.. rst-class:: dropshadow
.. figure:: path/to/image.png
:scale: 100%
:alt: Alt text for figure.
Caption for figure.
Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
This commit is contained in:
@@ -520,3 +520,10 @@ div.linenodiv:before { /*add extra new line to make sure code and line numbers a
|
||||
}
|
||||
|
||||
/*End support for multi-column sections*/
|
||||
|
||||
|
||||
/*Add drop shadow to figures*/
|
||||
|
||||
div.figure.dropshadow img {
|
||||
box-shadow: 10px 10px 10px LightGray;
|
||||
}
|
||||
@@ -147,6 +147,8 @@ Upload image
|
||||
|
||||
See Figure 1.
|
||||
|
||||
.. rst-class:: dropshadow
|
||||
|
||||
.. figure:: ../../_figures/digitalocean/01-digitalocean.png
|
||||
:scale: 100 %
|
||||
:alt: DigitalOcean - Upload custom images
|
||||
|
||||
Reference in New Issue
Block a user