Migrate addtional images to new color scheme
This commit is contained in:
3
themes/tsc_vfl/assets/css/dynamic.css
Normal file
3
themes/tsc_vfl/assets/css/dynamic.css
Normal file
@@ -0,0 +1,3 @@
|
||||
:root {
|
||||
--external-link-icon: url({{ (resources.Get "img/download.png" | fingerprint).Permalink }})
|
||||
}
|
||||
@@ -143,7 +143,7 @@ h1 {
|
||||
margin: 0 5px 0 0;
|
||||
top: 3px;
|
||||
position: relative;
|
||||
content: url('img/download.png');
|
||||
content: var(--external-link-icon);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
themes/tsc_vfl/assets/img/download.png
Normal file
BIN
themes/tsc_vfl/assets/img/download.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 522 B |
48
themes/tsc_vfl/assets/img/download.svg
Normal file
48
themes/tsc_vfl/assets/img/download.svg
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
width="15"
|
||||
height="15"
|
||||
viewBox="0 0 15 15"
|
||||
sodipodi:docname="download.svg"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
inkscape:export-filename="./download.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="41.766441"
|
||||
inkscape:cx="8.5235896"
|
||||
inkscape:cy="7.7813669"
|
||||
inkscape:window-width="1919"
|
||||
inkscape:window-height="1005"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g1" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g1">
|
||||
<path
|
||||
id="path2"
|
||||
style="fill:#193f78;fill-opacity:1;stroke:none;stroke-width:3;stroke-linecap:round"
|
||||
d="M 4.4293935,3.3998588 V 11.348824 L 11.971334,7.4222269 Z M 14.98811,7.5060263 A 7.5179973,7.5060263 0 0 1 7.4701123,15.012053 7.5179973,7.5060263 0 0 1 -0.04788494,7.5060263 7.5179973,7.5060263 0 0 1 7.4701123,0 7.5179973,7.5060263 0 0 1 14.98811,7.5060263 Z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/tsc_vfl/assets/img/mail.png
Normal file
BIN
themes/tsc_vfl/assets/img/mail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 399 B |
93
themes/tsc_vfl/assets/img/mail.svg
Normal file
93
themes/tsc_vfl/assets/img/mail.svg
Normal file
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
width="17.280001"
|
||||
height="14.4"
|
||||
viewBox="0 0 17.280001 14.4"
|
||||
sodipodi:docname="mail.svg"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
inkscape:export-filename="./mail.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1" />
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showguides="true"
|
||||
inkscape:zoom="21.974326"
|
||||
inkscape:cx="13.606788"
|
||||
inkscape:cy="10.28473"
|
||||
inkscape:window-width="1919"
|
||||
inkscape:window-height="1005"
|
||||
inkscape:window-x="1919"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g3">
|
||||
<sodipodi:guide
|
||||
position="1.2969681,12.420417"
|
||||
orientation="0,-1"
|
||||
id="guide1"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g1">
|
||||
<g
|
||||
id="g2"
|
||||
style="display:none"
|
||||
sodipodi:insensitive="true">
|
||||
<rect
|
||||
style="fill:#193f78;stroke-width:3;stroke-linecap:round"
|
||||
id="rect1"
|
||||
width="17.2474"
|
||||
height="14.380419"
|
||||
x="0.022753827"
|
||||
y="0.022753827" />
|
||||
<path
|
||||
style="baseline-shift:baseline;display:none;overflow:visible;opacity:1;vector-effect:none;fill:#ffffff;stroke-linecap:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 0.01367188,-0.28320313 a 0.30000001,0.30000001 0 0 0 -0.18359375,0.3828125 L 0.55078125,2.1425781 8.4824219,6.484375 16.712891,2.2167969 17.527344,0.10742187 a 0.30000001,0.30000001 0 0 0 -0.171875,-0.38671875 0.30000001,0.30000001 0 0 0 -0.388672,0.17187501 L 16.234375,1.7890625 8.4902344,5.8027344 1.0410156,1.7265625 0.39648438,-0.09960937 a 0.30000001,0.30000001 0 0 0 -0.3828125,-0.18359376 z"
|
||||
id="path1" />
|
||||
<path
|
||||
style="baseline-shift:baseline;display:inline;overflow:visible;opacity:1;vector-effect:none;fill:#ffffff;stroke-linecap:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
sodipodi:type="inkscape:offset"
|
||||
inkscape:radius="0.59067476"
|
||||
inkscape:original="M 0.013671875 -0.28320312 A 0.30000001 0.30000001 0 0 0 -0.16992188 0.099609375 L 0.55078125 2.1425781 L 8.4824219 6.484375 L 16.712891 2.2167969 L 17.527344 0.10742188 A 0.30000001 0.30000001 0 0 0 17.355469 -0.27929688 A 0.30000001 0.30000001 0 0 0 16.966797 -0.10742188 L 16.234375 1.7890625 L 8.4902344 5.8027344 L 1.0410156 1.7265625 L 0.39648438 -0.099609375 A 0.30000001 0.30000001 0 0 0 0.013671875 -0.28320312 z "
|
||||
xlink:href="#path2"
|
||||
id="path3"
|
||||
inkscape:href="#path2"
|
||||
d="M -0.18359375,-0.83984375 C -0.62318467,-0.68462423 -0.88158129,-0.14288076 -0.7265625,0.296875 l 0.72070312,2.0429688 A 0.59073383,0.59073383 0 0 0 0.26757813,2.6601563 L 8.1992188,7.0019531 a 0.59073383,0.59073383 0 0 0 0.5546875,0.00586 L 16.984375,2.7402344 a 0.59073383,0.59073383 0 0 0 0.279297,-0.3105469 l 0.814453,-2.109375 a 0.59073383,0.59073383 0 0 0 0.002,-0.001953 c 0.16561,-0.43384688 -0.07715,-0.97986604 -0.509766,-1.14843751 h -0.002 c -0.435309,-0.16789112 -0.984735,0.0742176 -1.152343,0.50976563 l -0.652344,1.6875 L 8.4980469,5.1328125 1.5234375,1.3164062 0.953125,-0.29492188 V -0.296875 C 0.79812885,-0.7358333 0.25777246,-0.99344973 -0.18164062,-0.83984375 Z" />
|
||||
<path
|
||||
style="baseline-shift:baseline;display:none;overflow:visible;opacity:1;vector-effect:none;fill:#ffffff;stroke-linecap:round;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 0.01367188,-0.28320313 a 0.30000001,0.30000001 0 0 0 -0.18359375,0.3828125 L 0.55078125,2.1425781 8.4824219,6.484375 16.712891,2.2167969 17.527344,0.10742187 a 0.30000001,0.30000001 0 0 0 -0.171875,-0.38671875 0.30000001,0.30000001 0 0 0 -0.388672,0.17187501 L 16.234375,1.7890625 8.4902344,5.8027344 1.0410156,1.7265625 0.39648438,-0.09960937 a 0.30000001,0.30000001 0 0 0 -0.3828125,-0.18359376 z"
|
||||
id="path2" />
|
||||
</g>
|
||||
<g
|
||||
id="g3"
|
||||
style="display:inline">
|
||||
<path
|
||||
id="rect2"
|
||||
style="display:none;fill:#193f78;stroke-width:3;stroke-linecap:round"
|
||||
d="m 0.43945312,0.0234375 0.60156248,1.703125 7.4492188,4.0761719 7.7441406,-4.0136719 0.681641,-1.765625 z m -0.41601562,0.625 V 14.402344 H 17.269531 V 0.77539062 L 16.712891,2.2167969 8.4824219,6.484375 0.55078125,2.1425781 Z" />
|
||||
<path
|
||||
id="rect3"
|
||||
style="display:inline;fill:#193f78;stroke-width:3;stroke-linecap:round"
|
||||
d="m 1.0664062,0.0234375 0.4570313,1.2929687 6.9746094,3.8164063 7.2656251,-3.765625 0.519531,-1.34375 z M 0.0234375,2.40625 V 14.402344 H 17.269531 V 2.4140625 l -0.0059,0.015625 A 0.59073383,0.59073383 0 0 1 16.984375,2.7402344 L 8.7539062,7.0078125 A 0.59073383,0.59073383 0 0 1 8.1992188,7.0019531 L 0.26757812,2.6601562 A 0.59073383,0.59073383 0 0 1 0.0234375,2.40625 Z" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@@ -15,6 +15,10 @@
|
||||
{{ $scss := resources.Get "css/main.scss" | css.Sass $options }}
|
||||
{{ if hugo.IsProduction }}{{ $scss = $scss | minify | fingerprint }}{{ end }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $scss.Permalink }}" />
|
||||
{{ with resources.Get "css/dynamic.css" }}
|
||||
{{ $dynamicCss := resources.ExecuteAsTemplate "css/dyn-config.css" $.Page . }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $dynamicCss.Permalink }}" />
|
||||
{{ end }}
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="name">
|
||||
{{ with $.Get "mail" }}
|
||||
<a href="{{ printf "mailto:%s" . | encoding.Base64Encode }}" class="mail-link">
|
||||
<img src="/img/mail.jpg" class="mail-icon"></a>
|
||||
<img src="{{ (resources.Get "/img/mail.png" | fingerprint).Permalink }}" class="mail-icon"></a>
|
||||
{{ end }}
|
||||
{{ .Params.title }}
|
||||
</div>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 536 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
Reference in New Issue
Block a user