mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-08-28 05:20:17 +02:00
Docs: update template and css for control screenshots in the docs
This commit is contained in:
@@ -254,6 +254,36 @@ div.footer {
|
|||||||
color: rgb(0,102,204);
|
color: rgb(0,102,204);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.control-appearance-figures {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: end;
|
||||||
|
column-gap: 1.0em;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
|
||||||
|
.appearance-figure {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
max-width: 500px;
|
||||||
|
flex-shrink: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.appearance-figure img {
|
||||||
|
max-height: 320px;
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
text-align: center;
|
||||||
|
text-align-last: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption a.headerlink {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.floatleft {
|
.floatleft {
|
||||||
position: relative;
|
position: relative;
|
||||||
float:left;
|
float:left;
|
||||||
|
@@ -60,26 +60,27 @@ TEMPLATE_APPEARANCE = '''
|
|||||||
|
|
||||||
|
|
|
|
||||||
|
|
||||||
.. figure:: _static/images/widgets/fullsize/wxmsw/%s
|
.. container:: control-appearance-figures
|
||||||
:alt: wxMSW
|
|
||||||
:figclass: floatleft
|
|
||||||
|
|
||||||
**wxMSW**
|
.. figure:: _static/images/widgets/fullsize/wxmsw/%s
|
||||||
|
:alt: wxMSW
|
||||||
|
:figclass: appearance-figure
|
||||||
|
|
||||||
|
**wxMSW**
|
||||||
|
|
||||||
|
|
||||||
.. figure:: _static/images/widgets/fullsize/wxmac/%s
|
.. figure:: _static/images/widgets/fullsize/wxmac/%s
|
||||||
:alt: wxMAC
|
:alt: wxMAC
|
||||||
:figclass: floatright
|
:figclass: appearance-figure
|
||||||
|
|
||||||
**wxMAC**
|
**wxMAC**
|
||||||
|
|
||||||
|
|
||||||
.. figure:: _static/images/widgets/fullsize/wxgtk/%s
|
.. figure:: _static/images/widgets/fullsize/wxgtk/%s
|
||||||
:alt: wxGTK
|
:alt: wxGTK
|
||||||
:figclass: floatcenter
|
:figclass: appearance-figure
|
||||||
|
|
||||||
**wxGTK**
|
|
||||||
|
|
||||||
|
**wxGTK**
|
||||||
|
|
||||||
|
|
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user