docs: wrap text around logos

issue510
David Wilson 6 years ago
parent b084d837e6
commit 861be2e3de

@ -27,6 +27,12 @@ div.body li {
width: 150px; width: 150px;
} }
.mitogen-right-200 {
float: right;
padding-left: 8px;
width: 200px;
}
.mitogen-right-225 { .mitogen-right-225 {
float: right; float: right;
padding-left: 8px; padding-left: 8px;
@ -50,3 +56,10 @@ div.body li {
padding-left: 8px; padding-left: 8px;
width: 350px; width: 350px;
} }
.mitogen-logo-wrap {
shape-margin: 8px;
shape-outside: polygon(
100% 0, 50% 10%, 24% 24%, 0% 50%, 24% 75%, 50% 90%, 100% 100%
);
}

@ -1,11 +1,10 @@
.. image:: images/ansible/ansible_mitogen.svg
:class: mitogen-right-225
Mitogen for Ansible Mitogen for Ansible
=================== ===================
.. image:: images/ansible/ansible_mitogen.svg
:class: mitogen-right-200 mitogen-logo-wrap
An extension to `Ansible`_ is included that implements connections over An extension to `Ansible`_ is included that implements connections over
Mitogen, replacing embedded shell invocations with pure-Python equivalents Mitogen, replacing embedded shell invocations with pure-Python equivalents
invoked via highly efficient remote procedure calls to persistent interpreters invoked via highly efficient remote procedure calls to persistent interpreters

@ -2,8 +2,6 @@
Mitogen Mitogen
======= =======
Mitogen is a Python library for writing distributed self-replicating programs.
.. raw:: html .. raw:: html
<style> <style>
@ -13,7 +11,9 @@ Mitogen is a Python library for writing distributed self-replicating programs.
</style> </style>
.. image:: images/mitogen.svg .. image:: images/mitogen.svg
:class: mitogen-right-225 :class: mitogen-right-200 mitogen-logo-wrap
Mitogen is a Python library for writing distributed self-replicating programs.
There is no requirement for installing packages, copying files around, writing There is no requirement for installing packages, copying files around, writing
shell snippets, upfront configuration, or providing any secondary link to a shell snippets, upfront configuration, or providing any secondary link to a

Loading…
Cancel
Save