Difference between revisions of "Template:Wc-en-1920-1931"

From Data JW United
Jump to navigation Jump to search
Line 5: Line 5:
 
Note:
 
Note:
 
This template needs the following css on your instance:
 
This template needs the following css on your instance:
<code>.cover-image-template {
+
<code>.dynamic-size-image {
 
width:100%;
 
width:100%;
 
height:100%;
 
height:100%;
Line 44: Line 44:
 
<div id="cover-left-side-body" style="background-color: #f8f9fa;border:1px solid #c8ccd1;padding: 12px 24px 12px 24px;display: flex;align-items: center;">
 
<div id="cover-left-side-body" style="background-color: #f8f9fa;border:1px solid #c8ccd1;padding: 12px 24px 12px 24px;display: flex;align-items: center;">
 
<div id="cover-page" style="flex: 1;display: flex;justify-content: center;">
 
<div id="cover-page" style="flex: 1;display: flex;justify-content: center;">
[[File:{{{1}}}|class=cover-image-template|''“{{{1}}}”'']]
+
[[File:{{{1}}}|class=dynamic-size-image|''“{{{1}}}”'']]
 
</div>
 
</div>
 
 

Revision as of 09:15, 3 October 2020


Template:Wc-en-00 Note: This template needs the following css on your instance: .dynamic-size-image { width:100%; height:100%; }