Move read online into div. Update SVG trans text
This commit is contained in:
parent
ad7179e5df
commit
547e1da7c5
|
@ -12,7 +12,8 @@
|
|||
<polygon points="360,895 510,895 595,810 595,660" fill="#5BCEFA"/>
|
||||
<polygon points="390,895 480,895 595,780 595,690" fill="#F5A9B8"/>
|
||||
<polygon points="420,895 450,895 595,750 595,720" fill="#FFF"/>
|
||||
<text y="946" x="-270" font-size="19" font-weight="bold" fill="black" transform="rotate(-45)" font-family="sans">Trans rights!</text>
|
||||
<text y="935" x="-212" font-size="19" font-weight="bold" fill="black" transform="rotate(-45)" font-family="sans" style="text-anchor:middle">Trans rights</text>
|
||||
<text y="955" x="-212" font-size="19" font-weight="bold" fill="black" transform="rotate(-45)" font-family="sans" style="text-anchor:middle">are human rights</text>
|
||||
<polygon points="5,130 5,200 330,5 220,5" fill="red"></polygon>
|
||||
<text y="150" x="-20" transform="rotate(-31)" fill="#e5d579" font-weight="bold" font-size="20" font-family="sans">Comrades Library</text>
|
||||
<rect y="5" width="590px" style="fill: none; stroke-width:5; stroke: currentColor" x="5" height="890px"/>
|
||||
|
@ -30,9 +31,9 @@
|
|||
{% if this.subtitle %}<p class="subtitle">{{ this.subtitle }}</p>{% endif %}
|
||||
{% if this.author %}<p>{{ this.author }}</p>{% endif %}
|
||||
<p class="italics">{% if this.publisher %}{{ this.publisher }}, {% endif %}{{ this.pub_date }}</p>
|
||||
{% if this.html %}<p class="mt-1"><a href="/lib/html/{{ this.html }}/">Read online</a></p>{% endif %}
|
||||
<div class="mt-2">
|
||||
{% if this.epub %}<p>Download EPUB:</p>{% for item in this.epub %}<p>{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<a href="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<a href="/lib/epub/{{ url }}">comlib.encryptionin.space</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endfor %}{% endif %}
|
||||
{% if this.html %}<p><a href="/lib/html/{{ this.html }}/">Read online</a></p>{% endif %}
|
||||
{% if this.epub %}<p {% if this.html %}class="mt-1"{% endif %}>Download EPUB:</p>{% for item in this.epub %}<p>{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<a href="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<a href="/lib/epub/{{ url }}">comlib.encryptionin.space</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endfor %}{% endif %}
|
||||
{% if this.orig %}<p {% if this.epub %}class="mt-1"{% endif %}>Download source PDF:</p>{% for item in this.orig %}<p>{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<a href="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<a href="/lib/cache/{{ url }}">cached</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endfor %}{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue