Add new icons

This commit is contained in:
timvisee 2019-07-02 00:01:46 +02:00
parent 3de3a34258
commit 7590acbaa2
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
7 changed files with 40 additions and 3 deletions

View File

@ -0,0 +1,3 @@
<svg id="glyphicons-halflings" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path id="anchor" d="M17.40717,11.03564l-3.98945.48951a.5.5,0,0,0-.29266.84985l.56439.56445L12.62891,14H11V8.66724A3.50462,3.50462,0,1,0,8,8.6333V14H6.37109L5.31055,12.93945l.56439-.56445a.5.5,0,0,0-.29266-.84985l-3.98945-.48951a.5.5,0,0,0-.55719.55713l.48963,3.98951a.5.5,0,0,0,.84979.2926l.81439-.81433,1.5,1.5A1.49977,1.49977,0,0,0,5.75,17H7.81818l1.27746,1.75647a.5.5,0,0,0,.80872,0L11.18182,17H13.25a1.49977,1.49977,0,0,0,1.06055-.43945l1.5-1.5.81439.81433a.5.5,0,0,0,.84979-.2926l.48963-3.98951A.5.5,0,0,0,17.40717,11.03564ZM9.53125,7a1.5,1.5,0,1,1,1.5-1.5A1.50168,1.50168,0,0,1,9.53125,7Z"/>
</svg>

After

Width:  |  Height:  |  Size: 695 B

View File

@ -0,0 +1,3 @@
<svg id="glyphicons-halflings" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path id="calendar" d="M9,8.5v1a.5.5,0,0,1-.5.5h-1A.5.5,0,0,1,7,9.5v-1A.5.5,0,0,1,7.5,8h1A.5.5,0,0,1,9,8.5ZM12.5,12h-1a.5.5,0,0,0-.5.5v1a.5.5,0,0,0,.5.5h1a.5.5,0,0,0,.5-.5v-1A.5.5,0,0,0,12.5,12Zm0-4h-1a.5.5,0,0,0-.5.5v1a.5.5,0,0,0,.5.5h1a.5.5,0,0,0,.5-.5v-1A.5.5,0,0,0,12.5,8Zm-4,4h-1a.5.5,0,0,0-.5.5v1a.5.5,0,0,0,.5.5h1a.5.5,0,0,0,.5-.5v-1A.5.5,0,0,0,8.5,12ZM17,4V16a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V4A2.00229,2.00229,0,0,1,5,2V3.5a.5.5,0,0,0,.5.5h1A.5.5,0,0,0,7,3.5v-1A.5.5,0,0,1,7.5,2h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,0,.5.5h1a.5.5,0,0,0,.5-.5v-1a.5.5,0,0,1,.5-.5h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,0,.5.5h1a.5.5,0,0,0,.5-.5V2A2.00229,2.00229,0,0,1,17,4ZM15.00146,16,15.00024,6H5V16Z"/>
</svg>

After

Width:  |  Height:  |  Size: 773 B

View File

@ -0,0 +1,3 @@
<svg id="glyphicons-halflings" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path id="clock" d="M11,7v3a.99943.99943,0,0,1-1,1H8A1,1,0,0,1,8,9H9V7a1,1,0,0,1,2,0Zm7,3a8,8,0,1,1-8-8A8.00917,8.00917,0,0,1,18,10Zm-2,0a6,6,0,1,0-6,6A6.00657,6.00657,0,0,0,16,10Z"/>
</svg>

After

Width:  |  Height:  |  Size: 280 B

View File

@ -0,0 +1,17 @@
#glyphicons-halflings {
display: inline-block;
max-width: 1.2em;
max-height: 1.2em;
margin-bottom: -5px;
fill: $color-text;
}
#{headings(1,6)} {
#glyphicons-halflings {
fill: $color-header;
}
}
.muted #glyphicons-halflings {
fill: $color-text-muted;
}

View File

@ -5,4 +5,5 @@
@import "_base";
@import "_layout";
@import "_components";
@import "_icons";
@import "_responsive";

View File

@ -1,5 +1,9 @@
{% if id %}
<a class="anchor" href="#{{ id }}" aria-label="Anchor link for: {{ id }}">🔗</a>
<a class="anchor" href="#{{ id }}" aria-label="Anchor link for: {{ id }}">
{{ load_data(path="static/icons/glyphicons-halflings-138-anchor.svg") | safe }}
</a>
{% else %}
<a class="anchor" href="#" aria-label="Anchor link">🔗</a>
<a class="anchor" href="#" aria-label="Anchor link">
{{ load_data(path="static/icons/glyphicons-halflings-138-anchor.svg") | safe }}
</a>
{% endif %}

View File

@ -1,20 +1,26 @@
{% macro meta(page) %}
<span class="meta muted">
{#
<svg style="margin-bottom:-3px" class="i-clock" viewBox="0 0 32 32"
width="16" height="16" fill="none" stroke="currentcolor"
stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<circle cx="16" cy="16" r="14"/>
<path d="M16 8 L16 16 20 20"/>
</svg>
#}
{{ load_data(path="static/icons/glyphicons-halflings-27-clock.svg") | safe }}
<span>{{ page.reading_time }} minute read</span>
{% if page.date %}
&nbsp;&nbsp;
{#
<svg style="margin-bottom: -3px" class="i-edit" viewBox="0 0 32 32"
width="16" height="16" fill="none" stroke="currentcolor"
stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 7 L25 2 5 22 3 29 10 27 Z M21 6 L26 11 Z M5 22 L10 27 Z"/>
</svg>
#}
{{ load_data(path="static/icons/glyphicons-halflings-21-calendar.svg") | safe }}
Published: {{ page.date | date(format="%F") }}
{% endif %}
</span>