Changes for page InfoboxStyles

Last modified by Mads Pedersen on 2026/07/28 06:53

From version 1.1
edited by Mads Pedersen
on 2026/01/20 14:09
Change comment: There is no comment for this version
To version 2.1
edited by Mads Pedersen
on 2026/01/20 14:21
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,20 @@
1 +.xwiki-infobox {
2 + float: right;
3 + width: 280px;
4 + margin: 0 0 1em 1em;
5 + border: 1px solid #aaa;
6 + background: #f8f9fa;
7 + font-size: 0.9em;
8 +}
9 +.xwiki-infobox table { width: 100%; border-collapse: collapse; }
10 +.xwiki-infobox caption { background: #e5e5e5; font-weight: bold; padding: 6px; }
11 +.xwiki-infobox th, .xwiki-infobox td {
12 + border-top: 1px solid #aaa;
13 + padding: 6px;
14 + text-align: left;
15 + vertical-align: top;
16 +}
17 +.xwiki-infobox .xwiki-infobox-image { text-align: center; padding: 6px; }
18 +.xwiki-infobox .xwiki-infobox-image img { width: 100%; height: auto; }
19 +.xwiki-infobox .xwiki-infobox-image-caption { font-size: 0.85em; color: #555; margin-top: 4px; }
20 +
Use this extension
... ... @@ -1,0 +1,1 @@
1 +onDemand