Template:Print Button alt: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 24: Line 24:
   padding: .5em;
   padding: .5em;
   border-radius: .3em;
   border-radius: .3em;
  transform: translate(-14em, -.5em);
   position: absolute;
   position: absolute;
  left: 50%;
  transform: translate(0, -.5em);
   box-shadow: 0 3px 6px rgba(0,0,0,0.6);
   box-shadow: 0 3px 6px rgba(0,0,0,0.6);
   transition: .2s;
   transition: .2s;
Line 44: Line 45:
</html>
</html>
<p class="noprint" style="text-align:center; margin-top:20px;"><html><a onclick="openExportOptions();" href="#">Download/export</a></html>{{#if:{{{tree-like view|}}}|&nbsp;· [[{{{tree-like view|}}}|Go to tree-like view]]|}}{{#if:{{{audiobook|}}}|&nbsp;· [[{{{audiobook|}}}|Go to audiobook]]|}}{{#if:{{{epub|}}}|&nbsp;· <span class="plainlinks">[https://wittgensteinproject.org/ebooks/{{{epub}}} Downolad EPUB]</span>|}}</p>
<p class="noprint" style="text-align:center; margin-top:20px;"><html><a onclick="openExportOptions();" href="#">Download/export</a></html>{{#if:{{{tree-like view|}}}|&nbsp;· [[{{{tree-like view|}}}|Go to tree-like view]]|}}{{#if:{{{audiobook|}}}|&nbsp;· [[{{{audiobook|}}}|Go to audiobook]]|}}{{#if:{{{epub|}}}|&nbsp;· <span class="plainlinks">[https://wittgensteinproject.org/ebooks/{{{epub}}} Downolad EPUB]</span>|}}</p>
<div class="export-options" style="display: none;" id="export-options"><html><img src="images/0/03/White-cross.png" class="export-options-close-button" width="10px" onclick="closeExportOptions()"></html><html><a onclick="print();" href="#">Download/print PDF</a></html><span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span></div>
<div class="export-options" style="display: none;" id="export-options"><html><img src="images/0/03/White-cross.png" class="export-options-close-button" width="10px" onclick="closeExportOptions()"><a onclick="print();" href="#">Customisable PDF</a></html> ·
{{#if:{{{external export|}}}|
[https://github.com/wittgenstein-project/wittgenstein-published-works/raw/main/pdf/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}.pdf Static PDF] ·
[https://github.com/wittgenstein-project/wittgenstein-published-works/raw/main/epub/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}.epub EPUB] ·
[https://github.com/wittgenstein-project/wittgenstein-published-works/blob/main/markdown/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}/{{#replace:{{PAGENAMEE}}|_|%20}}.md Markdown] ·
<span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span> ·
[[Private:Private:Downloading, exporting, and manipulating the texts]]
|}}
</div>
</includeonly>
</includeonly>