Difference between revisions of "Template:Document"

From Regiapædia
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Mobile View --><div id="mf-HideOnDesktop" style="float:left; border:1px solid #cef2e0; background: #ffffff; width:100%;">
+
<!-- Mobile View --><div id="mf-HideOnDesktop" style="float:left; width:100%;">
<div style="float:left; width:65px; overflow:hidden;">[[File:Icon_pdf.png|60px|frameless|left|link={{{Path}}}|pdf]]</div>
+
<div style="float:left; width:65px; overflow:hidden;">[[File:Icon_pdf.png|60px|frameless|left|link=Documents|pdf]]</div>A downloadable pdf of this document is available '''[[:media:{{{Path}}}|{{{Name}}}]]'''.</div>
<div style="float:left; overflow:hidden;">A downloadable pdf of this document is available '''[{{{Path}}} {{{Name}}}]'''.</div></div>
+
<!-- Desktop View --><div id="mf-HideOnMobile" style="float:left; width: calc(100% - 250px);">
<!-- Desktop View --><div id="mf-HideOnMobile" style="float:left; width: calc(100% - 222px);">
+
<div style="float:left; width:60px; overflow:hidden; padding:3px 0px 0px 5px;">[[File:Icon_pdf.png|50px|frameless|left|link=Documents|pdf]]</div>
<div style="float:left; width:60px; overflow:hidden; padding:3px 0px 0px 5px;">[[File:Icon_pdf.png|50px|frameless|left|link={{{Path}}}|pdf]]</div>
+
<div style="float:left; width: calc(100% - 65px); overflow:hidden;">A downloadable pdf of this document is available<br> '''[[:media:{{{Path}}}|{{{Name}}}]]'''.</div></div>
<div style="float:left; width: calc(100% - 65px); overflow:hidden;">A downloadable pdf of this document is available<br> '''[{{{Path}}} {{{Name}}}]''' .</div></div>
 
 
<div style="clear: left; padding: 5px;"></div>
 
<div style="clear: left; padding: 5px;"></div>

Latest revision as of 07:14, 5 July 2017

pdf
A downloadable pdf of this document is available [[:media:{{{Path}}}|{{{Name}}}]].
pdf
A downloadable pdf of this document is available
[[:media:{{{Path}}}|{{{Name}}}]].