fix thumbnail padding
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 8 Nov 2016 08:14:17 +0000 (09:14 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 8 Nov 2016 08:21:09 +0000 (09:21 +0100)
asciidoc/mediawiki.conf
asciidoc/pve-html.conf

index bc51971..ef2d3ae 100644 (file)
@@ -300,8 +300,11 @@ endif::deprecated-quotes[]
 [paragraph]
 <div class="paragraph{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
 {thumbnail#}<a class="image" href="/pve-docs/images/screenshot/{thumbnail}">
 [paragraph]
 <div class="paragraph{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
 {thumbnail#}<a class="image" href="/pve-docs/images/screenshot/{thumbnail}">
-{thumbnail#}<img src="/pve-docs/images/screenshot/{thumbnail}" alt="{alt={thumbnail}}" width=250 style="float:{float=right};">
-{thumbnail#}</a>
+{thumbnail#}<img src="/pve-docs/images/screenshot/{thumbnail}" alt="{alt={thumbnail}}" width=250
+{thumbnail#}{float@left: style="padding\: 0 10px 0 0;float\:left;"}
+{thumbnail#}{float@right: style="padding\: 0 0 0 10px;float\:right;"}
+{thumbnail#}{float%} style="padding: 0 0 0 10px;float:right;"
+{thumbnail#}></a>
 {title#}<div class="title"><h5>{title}</h5></div>}
 <p>
 |
 {title#}<div class="title"><h5>{title}</h5></div>}
 <p>
 |
index 575ecae..74e0d13 100644 (file)
@@ -303,8 +303,11 @@ endif::deprecated-quotes[]
 [paragraph]
 <div class="paragraph{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
 {thumbnail#}<a class="image" href="images/screenshot/{thumbnail}">
 [paragraph]
 <div class="paragraph{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>
 {thumbnail#}<a class="image" href="images/screenshot/{thumbnail}">
-{thumbnail#}<img src="images/screenshot/{thumbnail}" alt="{alt={thumbnail}}" width=250 style="float:{float=right};">
-{thumbnail#}</a>
+{thumbnail#}<img src="images/screenshot/{thumbnail}" alt="{alt={thumbnail}}" width=250
+{thumbnail#}{float@left: style="padding\: 0 10px 0 0;float\:left;"}
+{thumbnail#}{float@right: style="padding\: 0 0 0 10px;float\:right;"}
+{thumbnail#}{float%} style="padding: 0 0 0 10px;float:right;"
+{thumbnail#}></a>
 {title?<div class="title">{title}</div>}<p>
 |
 </p></div>
 {title?<div class="title">{title}</div>}<p>
 |
 </p></div>