From 356b3fe7c489ed429060a89f52ae5497fdcffcd7 Mon Sep 17 00:00:00 2001 From: Gabriel <gabriel@libresolutions.network> Date: Tue, 7 Mar 2023 02:00:03 -0500 Subject: [PATCH] major overhaul, should much more refined. --- layouts/404.html | 288 +--------------------- layouts/_default/baseof.html | 11 - layouts/_default/list.html | 293 +--------------------- layouts/_default/single.html | 286 +-------------------- layouts/index.html | 287 +--------------------- layouts/partials/footer.html | 6 +- layouts/partials/header.html | 18 +- layouts/partials/nav.html | 8 +- layouts/partials/spritesheet.html | 396 ++++++++++++++++++++++++++++++ static/css/theme.css | 256 ++++++++++++------- static/js/multimedia.js | 0 11 files changed, 582 insertions(+), 1267 deletions(-) delete mode 100644 layouts/_default/baseof.html create mode 100644 layouts/partials/spritesheet.html create mode 100644 static/js/multimedia.js diff --git a/layouts/404.html b/layouts/404.html index a021e01..cc5dfb0 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,292 +1,8 @@ <!DOCTYPE html> <html> {{partial "head" .}} - <body> - <svg style="display:none;"> - <symbol id="shrink" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 71.298823,69.935263 H -0.03828632 V 47.871962 H 48.197793 V 0.02489375 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 130.09,71.338352 V 0.0012511 h 22.0633 V 48.237331 h 47.84706 v 23.101021 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 128.67057,130.06552 h 71.3371 v 22.0633 H 151.7716 v 47.84707 h -23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 69.879393,128.66243 v 71.3371 H 47.816094 V 151.76345 H -0.03097146 v -23.10102 z" - /> - </g> - </symbol> - <symbol id="loop" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:12.8675;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 162.21491,61.314175 A 74.835358,74.835358 0 0 1 154.64285,152.9351 74.835358,74.835358 0 0 1 63.965737,168.08076 74.835358,74.835358 0 0 1 27.028787,83.894118 74.835358,74.835358 0 0 1 99.575333,27.425293" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.03207;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 98.430641,10.898139 V 44.814313 L 123.1298,27.657939 Z" - /> - </g> - </symbol> - <symbol id="substack" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.819292,74.079299 H 164.18071" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.891493,29.66426 H 164.25291" - /> - <path - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:6.14662;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-opacity:1" - d="M 24.935915,106.69884 H 175.06409 v 84.5545 l -74.82841,-43.26855 -75.299765,43.26855 z" - /> - </g> - </symbol> - <symbol id="expand" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M -0.03828632,0.02489375 H 71.298823 V 22.088195 H 23.062744 V 69.935263 H -0.03828632 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 200.00036,0.0012511 V 71.338352 h -22.0633 V 23.102272 H 130.09 V 0.0012511 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 200.00767,199.97589 h -71.3371 v -22.0633 h 48.23607 v -47.84707 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m -0.03097146,199.99953 v -71.3371 H 22.032328 v 48.23608 h 47.847065 v 23.10102 z" - /> - </g> - </symbol> - <symbol id="pause" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="57.219501" - y="42.457039" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="115.24053" - y="42.650131" /> - </g> - </symbol> - <symbol id="link" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 124.73051,54.085411 32.40251,-37.913745 c 14.1507,-16.55752582 47.43594,12.112318 33.3954,28.540963 L 121.22371,125.80514 C 106.92066,142.54096 73.29526,114.26912 87.828318,97.264184 L 97.64213,85.781162" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 82.334206,140.08015 49.931702,177.99389 C 35.780999,194.55141 2.4957562,165.88157 16.536295,149.45293 L 85.841002,68.360413 C 100.14406,51.624595 133.76946,79.896436 119.2364,96.901374 l -9.81381,11.483016" - /> - </g> - </symbol> - <symbol id="btc" - viewBox="0 0 200 200" - > - - - <g> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="100" - cy="100" - r="92.324692" /> - <text - xml:space="preserve" - style="font-weight:bold;font-size:179.605px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;opacity:0.99;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - x="83.549644" - y="186.25789" - transform="rotate(-15.468221)"><tspan - - - style="fill-opacity:1;stroke:none;stroke-width:4;stroke-dasharray:none" - x="83.549644" - y="186.25789">B</tspan></text> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.400417" - y="47.026237" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.457565" - y="47.152031" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.380985" - y="186.2144" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.41478" - y="186.15088" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="22.285784" - y="167.17883" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="23.174849" - y="62.679756" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - </g> - </symbol> - <symbol id="rss" - viewBox="0 0 200 200" - > - - - <g> - <rect - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5.45099;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="193.26019" - height="193.26019" - x="3.3699021" - y="3.3699021" - ry="30.002089" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:4.99999;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 25.944181,155.41081 a 26.28293,26.28293 0 0 1 26.42547,-26.09156 26.28293,26.28293 0 0 1 26.139523,26.37803 26.28293,26.28293 0 0 1 -26.330502,26.1874 26.28293,26.28293 0 0 1 -26.235185,-26.28289" /> - <path - style="opacity:0.99;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 28.637164,75.172279 c -0.900788,0 0,18.954039 0,18.954039 0,0 33.553756,2.826066 57.320652,26.592962 25.956314,25.95631 22.707424,64.01135 22.707424,64.01135 h 19.95267 c 0,0 -1.62239,-51.39849 -28.14709,-77.92319 C 79.262441,85.599061 54.800874,75.172279 28.637164,75.172279 Z" - /> - <path - style="opacity:0.99;stroke-width:5.88811;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 30.597006,21.978507 v 23.437232 c 0,0 55.693972,5.054483 88.892344,38.252831 38.87023,38.87021 36.05298,99.58282 36.05298,99.58282 h 22.22907 c 0,0 -0.46149,-73.73327 -41.43329,-114.705068 C 99.709109,31.917324 30.597006,21.978507 30.597006,21.978507 Z" - /> - </g> - </symbol> - <symbol id="play" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 68.503477,169.27357 c -5.757834,-3.32429 -4.829598,-135.759422 0,-138.547791 5.258545,-3.036022 106.900773,62.443169 106.900773,71.382371 0,9.46586 -101.820676,70.09842 -106.900773,67.16542 z" - /> - </g> - </symbol> - <symbol id="tag" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 6.281763,111.86211 c 0,12.99786 67.485752,80.84067 77.193916,80.84067 9.757909,0 74.315171,-70.29527 89.112641,-85.09274 6.99227,-6.99228 6.83158,-88.060832 6.83158,-88.060832 0,0 -77.7666,3.606593 -84.025496,7.220168 C 76.605972,37.616882 6.281763,99.864196 6.281763,111.86211 Z" - /> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="138.22505" - cy="-78.649734" - r="10.656578" - transform="rotate(46.321904)" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 32.307964,111.18133 59.64203,59.64203 z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 45.070354,98.671666 104.71238,158.3137 Z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 57.643191,85.97246 59.642029,59.64203 z" - /> - </g> - </symbol> - </svg> + <body> + {{partial "spritesheet" .}} {{partial "header" .}} <main> <article> diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index 5f8e2ec..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,11 +0,0 @@ -<!DOCTYPE html> -<html> - {{- partial "head.html" . -}} - <body> - {{- partial "header.html" . -}} - <div id="content"> - {{- block "main" . }}{{- end }} - </div> - {{- partial "footer.html" . -}} - </body> -</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 90b2b83..229b2b2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,304 +2,19 @@ <html> {{partial "head" .}} <body> - <svg style="display:none;"> - <symbol id="shrink" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 71.298823,69.935263 H -0.03828632 V 47.871962 H 48.197793 V 0.02489375 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 130.09,71.338352 V 0.0012511 h 22.0633 V 48.237331 h 47.84706 v 23.101021 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 128.67057,130.06552 h 71.3371 v 22.0633 H 151.7716 v 47.84707 h -23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 69.879393,128.66243 v 71.3371 H 47.816094 V 151.76345 H -0.03097146 v -23.10102 z" - /> - </g> - </symbol> - <symbol id="loop" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:12.8675;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 162.21491,61.314175 A 74.835358,74.835358 0 0 1 154.64285,152.9351 74.835358,74.835358 0 0 1 63.965737,168.08076 74.835358,74.835358 0 0 1 27.028787,83.894118 74.835358,74.835358 0 0 1 99.575333,27.425293" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.03207;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 98.430641,10.898139 V 44.814313 L 123.1298,27.657939 Z" - /> - </g> - </symbol> - <symbol id="substack" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.819292,74.079299 H 164.18071" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.891493,29.66426 H 164.25291" - /> - <path - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:6.14662;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-opacity:1" - d="M 24.935915,106.69884 H 175.06409 v 84.5545 l -74.82841,-43.26855 -75.299765,43.26855 z" - /> - </g> - </symbol> - <symbol id="expand" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M -0.03828632,0.02489375 H 71.298823 V 22.088195 H 23.062744 V 69.935263 H -0.03828632 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 200.00036,0.0012511 V 71.338352 h -22.0633 V 23.102272 H 130.09 V 0.0012511 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 200.00767,199.97589 h -71.3371 v -22.0633 h 48.23607 v -47.84707 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m -0.03097146,199.99953 v -71.3371 H 22.032328 v 48.23608 h 47.847065 v 23.10102 z" - /> - </g> - </symbol> - <symbol id="pause" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="57.219501" - y="42.457039" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="115.24053" - y="42.650131" /> - </g> - </symbol> - <symbol id="link" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 124.73051,54.085411 32.40251,-37.913745 c 14.1507,-16.55752582 47.43594,12.112318 33.3954,28.540963 L 121.22371,125.80514 C 106.92066,142.54096 73.29526,114.26912 87.828318,97.264184 L 97.64213,85.781162" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 82.334206,140.08015 49.931702,177.99389 C 35.780999,194.55141 2.4957562,165.88157 16.536295,149.45293 L 85.841002,68.360413 C 100.14406,51.624595 133.76946,79.896436 119.2364,96.901374 l -9.81381,11.483016" - /> - </g> - </symbol> - <symbol id="btc" - viewBox="0 0 200 200" - > - - - <g> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="100" - cy="100" - r="92.324692" /> - <text - xml:space="preserve" - style="font-weight:bold;font-size:179.605px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;opacity:0.99;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - x="83.549644" - y="186.25789" - transform="rotate(-15.468221)"><tspan - - - style="fill-opacity:1;stroke:none;stroke-width:4;stroke-dasharray:none" - x="83.549644" - y="186.25789">B</tspan></text> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.400417" - y="47.026237" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.457565" - y="47.152031" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.380985" - y="186.2144" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.41478" - y="186.15088" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="22.285784" - y="167.17883" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="23.174849" - y="62.679756" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - </g> - </symbol> - <symbol id="rss" - viewBox="0 0 200 200" - > - - - <g> - <rect - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5.45099;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="193.26019" - height="193.26019" - x="3.3699021" - y="3.3699021" - ry="30.002089" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:4.99999;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 25.944181,155.41081 a 26.28293,26.28293 0 0 1 26.42547,-26.09156 26.28293,26.28293 0 0 1 26.139523,26.37803 26.28293,26.28293 0 0 1 -26.330502,26.1874 26.28293,26.28293 0 0 1 -26.235185,-26.28289" /> - <path - style="opacity:0.99;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 28.637164,75.172279 c -0.900788,0 0,18.954039 0,18.954039 0,0 33.553756,2.826066 57.320652,26.592962 25.956314,25.95631 22.707424,64.01135 22.707424,64.01135 h 19.95267 c 0,0 -1.62239,-51.39849 -28.14709,-77.92319 C 79.262441,85.599061 54.800874,75.172279 28.637164,75.172279 Z" - /> - <path - style="opacity:0.99;stroke-width:5.88811;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 30.597006,21.978507 v 23.437232 c 0,0 55.693972,5.054483 88.892344,38.252831 38.87023,38.87021 36.05298,99.58282 36.05298,99.58282 h 22.22907 c 0,0 -0.46149,-73.73327 -41.43329,-114.705068 C 99.709109,31.917324 30.597006,21.978507 30.597006,21.978507 Z" - /> - </g> - </symbol> - <symbol id="play" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 68.503477,169.27357 c -5.757834,-3.32429 -4.829598,-135.759422 0,-138.547791 5.258545,-3.036022 106.900773,62.443169 106.900773,71.382371 0,9.46586 -101.820676,70.09842 -106.900773,67.16542 z" - /> - </g> - </symbol> - <symbol id="tag" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 6.281763,111.86211 c 0,12.99786 67.485752,80.84067 77.193916,80.84067 9.757909,0 74.315171,-70.29527 89.112641,-85.09274 6.99227,-6.99228 6.83158,-88.060832 6.83158,-88.060832 0,0 -77.7666,3.606593 -84.025496,7.220168 C 76.605972,37.616882 6.281763,99.864196 6.281763,111.86211 Z" - /> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="138.22505" - cy="-78.649734" - r="10.656578" - transform="rotate(46.321904)" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 32.307964,111.18133 59.64203,59.64203 z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 45.070354,98.671666 104.71238,158.3137 Z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 57.643191,85.97246 59.642029,59.64203 z" - /> - </g> - </symbol> - </svg> + {{partial "spritesheet" .}} {{partial "header" .}} <main> {{ if .Content}} <article>{{.Content}}</article> {{end}} - </main> - <main class="posts"> + <div class="posts"> {{range .Pages}} {{partial "post" .}} {{end}} + </div> </main> - <div class="spacer"></div> - <hr> + {{partial "footer" .}} </body> </html> \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e9ff294..eaa0df2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,291 +2,7 @@ <html> {{partial "head" .}} <body> - <svg style="display:none;"> - <symbol id="shrink" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 71.298823,69.935263 H -0.03828632 V 47.871962 H 48.197793 V 0.02489375 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 130.09,71.338352 V 0.0012511 h 22.0633 V 48.237331 h 47.84706 v 23.101021 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 128.67057,130.06552 h 71.3371 v 22.0633 H 151.7716 v 47.84707 h -23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 69.879393,128.66243 v 71.3371 H 47.816094 V 151.76345 H -0.03097146 v -23.10102 z" - /> - </g> - </symbol> - <symbol id="loop" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:12.8675;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 162.21491,61.314175 A 74.835358,74.835358 0 0 1 154.64285,152.9351 74.835358,74.835358 0 0 1 63.965737,168.08076 74.835358,74.835358 0 0 1 27.028787,83.894118 74.835358,74.835358 0 0 1 99.575333,27.425293" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.03207;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 98.430641,10.898139 V 44.814313 L 123.1298,27.657939 Z" - /> - </g> - </symbol> - <symbol id="substack" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.819292,74.079299 H 164.18071" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.891493,29.66426 H 164.25291" - /> - <path - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:6.14662;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-opacity:1" - d="M 24.935915,106.69884 H 175.06409 v 84.5545 l -74.82841,-43.26855 -75.299765,43.26855 z" - /> - </g> - </symbol> - <symbol id="expand" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M -0.03828632,0.02489375 H 71.298823 V 22.088195 H 23.062744 V 69.935263 H -0.03828632 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 200.00036,0.0012511 V 71.338352 h -22.0633 V 23.102272 H 130.09 V 0.0012511 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 200.00767,199.97589 h -71.3371 v -22.0633 h 48.23607 v -47.84707 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m -0.03097146,199.99953 v -71.3371 H 22.032328 v 48.23608 h 47.847065 v 23.10102 z" - /> - </g> - </symbol> - <symbol id="pause" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="57.219501" - y="42.457039" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="115.24053" - y="42.650131" /> - </g> - </symbol> - <symbol id="link" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 124.73051,54.085411 32.40251,-37.913745 c 14.1507,-16.55752582 47.43594,12.112318 33.3954,28.540963 L 121.22371,125.80514 C 106.92066,142.54096 73.29526,114.26912 87.828318,97.264184 L 97.64213,85.781162" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 82.334206,140.08015 49.931702,177.99389 C 35.780999,194.55141 2.4957562,165.88157 16.536295,149.45293 L 85.841002,68.360413 C 100.14406,51.624595 133.76946,79.896436 119.2364,96.901374 l -9.81381,11.483016" - /> - </g> - </symbol> - <symbol id="btc" - viewBox="0 0 200 200" - > - - - <g> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="100" - cy="100" - r="92.324692" /> - <text - xml:space="preserve" - style="font-weight:bold;font-size:179.605px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;opacity:0.99;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - x="83.549644" - y="186.25789" - transform="rotate(-15.468221)"><tspan - - - style="fill-opacity:1;stroke:none;stroke-width:4;stroke-dasharray:none" - x="83.549644" - y="186.25789">B</tspan></text> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.400417" - y="47.026237" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.457565" - y="47.152031" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.380985" - y="186.2144" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.41478" - y="186.15088" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="22.285784" - y="167.17883" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="23.174849" - y="62.679756" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - </g> - </symbol> - <symbol id="rss" - viewBox="0 0 200 200" - > - - - <g> - <rect - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5.45099;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="193.26019" - height="193.26019" - x="3.3699021" - y="3.3699021" - ry="30.002089" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:4.99999;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 25.944181,155.41081 a 26.28293,26.28293 0 0 1 26.42547,-26.09156 26.28293,26.28293 0 0 1 26.139523,26.37803 26.28293,26.28293 0 0 1 -26.330502,26.1874 26.28293,26.28293 0 0 1 -26.235185,-26.28289" /> - <path - style="opacity:0.99;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 28.637164,75.172279 c -0.900788,0 0,18.954039 0,18.954039 0,0 33.553756,2.826066 57.320652,26.592962 25.956314,25.95631 22.707424,64.01135 22.707424,64.01135 h 19.95267 c 0,0 -1.62239,-51.39849 -28.14709,-77.92319 C 79.262441,85.599061 54.800874,75.172279 28.637164,75.172279 Z" - /> - <path - style="opacity:0.99;stroke-width:5.88811;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 30.597006,21.978507 v 23.437232 c 0,0 55.693972,5.054483 88.892344,38.252831 38.87023,38.87021 36.05298,99.58282 36.05298,99.58282 h 22.22907 c 0,0 -0.46149,-73.73327 -41.43329,-114.705068 C 99.709109,31.917324 30.597006,21.978507 30.597006,21.978507 Z" - /> - </g> - </symbol> - <symbol id="play" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 68.503477,169.27357 c -5.757834,-3.32429 -4.829598,-135.759422 0,-138.547791 5.258545,-3.036022 106.900773,62.443169 106.900773,71.382371 0,9.46586 -101.820676,70.09842 -106.900773,67.16542 z" - /> - </g> - </symbol> - <symbol id="tag" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 6.281763,111.86211 c 0,12.99786 67.485752,80.84067 77.193916,80.84067 9.757909,0 74.315171,-70.29527 89.112641,-85.09274 6.99227,-6.99228 6.83158,-88.060832 6.83158,-88.060832 0,0 -77.7666,3.606593 -84.025496,7.220168 C 76.605972,37.616882 6.281763,99.864196 6.281763,111.86211 Z" - /> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="138.22505" - cy="-78.649734" - r="10.656578" - transform="rotate(46.321904)" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 32.307964,111.18133 59.64203,59.64203 z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 45.070354,98.671666 104.71238,158.3137 Z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 57.643191,85.97246 59.642029,59.64203 z" - /> - </g> - </symbol> - </svg> + {{partial "spritesheet" .}} {{partial "header" .}} <main> {{ if .Content}} diff --git a/layouts/index.html b/layouts/index.html index 0d7c1df..00181bd 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,298 +2,13 @@ <html> {{partial "head" .}} <body> - <svg style="display:none;"> - <symbol id="shrink" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 71.298823,69.935263 H -0.03828632 V 47.871962 H 48.197793 V 0.02489375 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 130.09,71.338352 V 0.0012511 h 22.0633 V 48.237331 h 47.84706 v 23.101021 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 128.67057,130.06552 h 71.3371 v 22.0633 H 151.7716 v 47.84707 h -23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 69.879393,128.66243 v 71.3371 H 47.816094 V 151.76345 H -0.03097146 v -23.10102 z" - /> - </g> - </symbol> - <symbol id="loop" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:12.8675;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 162.21491,61.314175 A 74.835358,74.835358 0 0 1 154.64285,152.9351 74.835358,74.835358 0 0 1 63.965737,168.08076 74.835358,74.835358 0 0 1 27.028787,83.894118 74.835358,74.835358 0 0 1 99.575333,27.425293" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.03207;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 98.430641,10.898139 V 44.814313 L 123.1298,27.657939 Z" - /> - </g> - </symbol> - <symbol id="substack" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.819292,74.079299 H 164.18071" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 35.891493,29.66426 H 164.25291" - /> - <path - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:6.14662;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-opacity:1" - d="M 24.935915,106.69884 H 175.06409 v 84.5545 l -74.82841,-43.26855 -75.299765,43.26855 z" - /> - </g> - </symbol> - <symbol id="expand" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M -0.03828632,0.02489375 H 71.298823 V 22.088195 H 23.062744 V 69.935263 H -0.03828632 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="M 200.00036,0.0012511 V 71.338352 h -22.0633 V 23.102272 H 130.09 V 0.0012511 Z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 200.00767,199.97589 h -71.3371 v -22.0633 h 48.23607 v -47.84707 h 23.10103 z" - /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m -0.03097146,199.99953 v -71.3371 H 22.032328 v 48.23608 h 47.847065 v 23.10102 z" - /> - </g> - </symbol> - <symbol id="pause" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="57.219501" - y="42.457039" /> - <rect - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - width="34.369987" - height="121.93053" - x="115.24053" - y="42.650131" /> - </g> - </symbol> - <symbol id="link" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 124.73051,54.085411 32.40251,-37.913745 c 14.1507,-16.55752582 47.43594,12.112318 33.3954,28.540963 L 121.22371,125.80514 C 106.92066,142.54096 73.29526,114.26912 87.828318,97.264184 L 97.64213,85.781162" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 82.334206,140.08015 49.931702,177.99389 C 35.780999,194.55141 2.4957562,165.88157 16.536295,149.45293 L 85.841002,68.360413 C 100.14406,51.624595 133.76946,79.896436 119.2364,96.901374 l -9.81381,11.483016" - /> - </g> - </symbol> - <symbol id="btc" - viewBox="0 0 200 200" - > - - - <g> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="100" - cy="100" - r="92.324692" /> - <text - xml:space="preserve" - style="font-weight:bold;font-size:179.605px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;opacity:0.99;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - x="83.549644" - y="186.25789" - transform="rotate(-15.468221)"><tspan - - - style="fill-opacity:1;stroke:none;stroke-width:4;stroke-dasharray:none" - x="83.549644" - y="186.25789">B</tspan></text> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.400417" - y="47.026237" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.457565" - y="47.152031" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="43.380985" - y="186.2144" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="9.3419447" - height="15.677465" - x="66.41478" - y="186.15088" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="22.285784" - y="167.17883" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - <rect - style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="28.949465" - height="19.075401" - x="23.174849" - y="62.679756" - rx="0" - ry="0" - transform="rotate(-15.468221)" /> - </g> - </symbol> - <symbol id="rss" - viewBox="0 0 200 200" - > - - - <g> - <rect - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5.45099;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - width="193.26019" - height="193.26019" - x="3.3699021" - y="3.3699021" - ry="30.002089" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke-width:4.99999;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 25.944181,155.41081 a 26.28293,26.28293 0 0 1 26.42547,-26.09156 26.28293,26.28293 0 0 1 26.139523,26.37803 26.28293,26.28293 0 0 1 -26.330502,26.1874 26.28293,26.28293 0 0 1 -26.235185,-26.28289" /> - <path - style="opacity:0.99;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 28.637164,75.172279 c -0.900788,0 0,18.954039 0,18.954039 0,0 33.553756,2.826066 57.320652,26.592962 25.956314,25.95631 22.707424,64.01135 22.707424,64.01135 h 19.95267 c 0,0 -1.62239,-51.39849 -28.14709,-77.92319 C 79.262441,85.599061 54.800874,75.172279 28.637164,75.172279 Z" - /> - <path - style="opacity:0.99;stroke-width:5.88811;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" - d="m 30.597006,21.978507 v 23.437232 c 0,0 55.693972,5.054483 88.892344,38.252831 38.87023,38.87021 36.05298,99.58282 36.05298,99.58282 h 22.22907 c 0,0 -0.46149,-73.73327 -41.43329,-114.705068 C 99.709109,31.917324 30.597006,21.978507 30.597006,21.978507 Z" - /> - </g> - </symbol> - <symbol id="play" - viewBox="0 0 200 200" - > - - - <g> - <ellipse - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" - cy="99.93528" - cx="100.03613" - rx="95.000404" - ry="95.057236" /> - <path - style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" - d="m 68.503477,169.27357 c -5.757834,-3.32429 -4.829598,-135.759422 0,-138.547791 5.258545,-3.036022 106.900773,62.443169 106.900773,71.382371 0,9.46586 -101.820676,70.09842 -106.900773,67.16542 z" - /> - </g> - </symbol> - <symbol id="tag" - viewBox="0 0 200 200" - > - - - <g> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 6.281763,111.86211 c 0,12.99786 67.485752,80.84067 77.193916,80.84067 9.757909,0 74.315171,-70.29527 89.112641,-85.09274 6.99227,-6.99228 6.83158,-88.060832 6.83158,-88.060832 0,0 -77.7666,3.606593 -84.025496,7.220168 C 76.605972,37.616882 6.281763,99.864196 6.281763,111.86211 Z" - /> - <circle - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - cx="138.22505" - cy="-78.649734" - r="10.656578" - transform="rotate(46.321904)" /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 32.307964,111.18133 59.64203,59.64203 z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="M 45.070354,98.671666 104.71238,158.3137 Z" - /> - <path - style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" - d="m 57.643191,85.97246 59.642029,59.64203 z" - /> - </g> - </symbol> - </svg> + {{partial "spritesheet" .}} {{partial "header" .}} <main> {{ if .Content}} <article>{{.Content}}</article> {{end}} </main> - <div class="spacer"></div> {{partial "footer" .}} </body> </html> \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a9cfa16..d810759 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,7 @@ <footer> - <p><a href="https://codeberg.org/gabe/valor">Valor</a> by <a href="https://gabe.rocks">Gabriel</a></p> + <div style="flex-direction:column;"> + <h2>Steal this look</h2> + <i>Use <a href="https://code.gabe.rocks/gabriel/valor">this theme</a> for your <a + href="https://gohugo.io">hugo</a> site</i> + </div> </footer> \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9a3a75d..3fcb296 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,23 +1,7 @@ <header> <a href="{{.Site.BaseURL}}"> - <h1>{{.Site.Title}}</h1> + <h2>{{.Site.Title}}</h2> </a> {{partial "nav" .}} - - <div> - <span>Subscribe via RSS</span> - {{ if .Site.Params.rss}} - <a href="{{.Site.BaseURL}}{{.Site.Params.rss}}"> - <svg class="icon"> - <use href="#rss"></use> - </svg> - </a> - {{else}} - <a href="{{.Site.BaseURL}}/index.xml"> - <svg class="icon"> - <use href="#rss"></use> - </svg> - </a> - {{end}} </div> </header> \ No newline at end of file diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index d995ce8..fb37f33 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,9 +1,11 @@ <nav>{{ range .Site.Sections }} <a href="{{.Permalink}}"> <h3>{{.Title}}</h3> - {{if .Params.icon}} - <img src="{{.Params.icon}}"> - {{end}} </a> {{end}} +<a href="/tags"> + <h3>Browse by Tags</h3></a> </nav> +<a href="/index.xml"> + <h3>RSS</h3> +</a> diff --git a/layouts/partials/spritesheet.html b/layouts/partials/spritesheet.html new file mode 100644 index 0000000..9badba3 --- /dev/null +++ b/layouts/partials/spritesheet.html @@ -0,0 +1,396 @@ +<svg style="display:none;"> + <symbol id="shrink" + viewBox="0 0 200 200" + > + + + <g> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="M 71.298823,69.935263 H -0.03828632 V 47.871962 H 48.197793 V 0.02489375 h 23.10103 z" + /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="M 130.09,71.338352 V 0.0012511 h 22.0633 V 48.237331 h 47.84706 v 23.101021 z" + /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m 128.67057,130.06552 h 71.3371 v 22.0633 H 151.7716 v 47.84707 h -23.10103 z" + /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m 69.879393,128.66243 v 71.3371 H 47.816094 V 151.76345 H -0.03097146 v -23.10102 z" + /> + </g> + </symbol> + <symbol id="loop" + viewBox="0 0 200 200" + > + + + <g> + <ellipse + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" + cy="99.93528" + cx="100.03613" + rx="95.000404" + ry="95.057236" /> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:12.8675;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 162.21491,61.314175 A 74.835358,74.835358 0 0 1 154.64285,152.9351 74.835358,74.835358 0 0 1 63.965737,168.08076 74.835358,74.835358 0 0 1 27.028787,83.894118 74.835358,74.835358 0 0 1 99.575333,27.425293" /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.03207;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 98.430641,10.898139 V 44.814313 L 123.1298,27.657939 Z" + /> + </g> + </symbol> + <symbol id="substack" + viewBox="0 0 200 200" + > + + + <g> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 35.819292,74.079299 H 164.18071" + /> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:22.7343;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 35.891493,29.66426 H 164.25291" + /> + <path + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:6.14662;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-opacity:1" + d="M 24.935915,106.69884 H 175.06409 v 84.5545 l -74.82841,-43.26855 -75.299765,43.26855 z" + /> + </g> + </symbol> + <symbol id="prev" + viewBox="0 0 120 120" + > + + + <g> + <path + style="fill:none !important;;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:20;stroke-dasharray:none;stroke-opacity:1" + d="M 116.6333,74.605732 H 49.837743 V 97.8903 L 3.3665561,59.544515 49.7379,22.109708 v 22.675377 h 66.8954 z" + /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:19.4028px;line-height:1.25;font-family:sans-serif;fill-opacity:1;stroke:none;stroke-width:0.264583" + x="39.456932" + y="66.934982" + ><tspan + + + style="font-weight:bold;font-size:19.4028px;stroke-width:0.264583" + x="39.456932" + y="66.934982">Prev</tspan></text> + </g> + </symbol> + <symbol id="headphones" + viewBox="0 0 210 210" + > + + + <g> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:14.6469;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 38.511665,103.48123 A 68.018555,68.018555 0 0 1 106.53022,35.462677 68.018555,68.018555 0 0 1 174.54877,103.48123" + /> + <ellipse + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke:none;stroke-width:14.6469;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + cx="66.965881" + cy="181.87686" + rx="2.6438539" + ry="28.201105" /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke-width:15;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m -106.70314,157.58701 a 40.838184,44.488354 0 0 1 -20.41909,38.52804 40.838184,44.488354 0 0 1 -40.83818,0 40.838184,44.488354 0 0 1 -20.4191,-38.52804" + transform="rotate(-90)" /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke-width:15;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m 187.35309,-52.263748 a 40.838184,44.488354 0 0 1 -20.41909,38.528045 40.838184,44.488354 0 0 1 -40.83819,-10e-7 40.838184,44.488354 0 0 1 -20.41909,-38.528044" + transform="rotate(90)" /> + <rect + style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.02322;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + width="9.0904961" + height="95.662933" + x="50.762516" + y="99.513329" /> + <rect + style="opacity:0.99;fill-opacity:0.992157;stroke-width:1.02322;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + width="9.0904961" + height="95.662933" + x="153.0656" + y="99.7257" /> + </g> + </symbol> + <symbol id="expand" + viewBox="0 0 200 200" + > + + + <g> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="M -0.03828632,0.02489375 H 71.298823 V 22.088195 H 23.062744 V 69.935263 H -0.03828632 Z" + /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="M 200.00036,0.0012511 V 71.338352 h -22.0633 V 23.102272 H 130.09 V 0.0012511 Z" + /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m 200.00767,199.97589 h -71.3371 v -22.0633 h 48.23607 v -47.84707 h 23.10103 z" + /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:9.40921;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m -0.03097146,199.99953 v -71.3371 H 22.032328 v 48.23608 h 47.847065 v 23.10102 z" + /> + </g> + </symbol> + <symbol id="pause" + viewBox="0 0 200 200" + > + + + <g> + <ellipse + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" + cy="99.93528" + cx="100.03613" + rx="95.000404" + ry="95.057236" /> + <rect + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + width="34.369987" + height="121.93053" + x="57.219501" + y="42.457039" /> + <rect + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:0.903084;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + width="34.369987" + height="121.93053" + x="115.24053" + y="42.650131" /> + </g> + </symbol> + <symbol id="link" + viewBox="0 0 200 200" + > + + + <g> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="m 124.73051,54.085411 32.40251,-37.913745 c 14.1507,-16.55752582 47.43594,12.112318 33.3954,28.540963 L 121.22371,125.80514 C 106.92066,142.54096 73.29526,114.26912 87.828318,97.264184 L 97.64213,85.781162" + /> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:13.2824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 82.334206,140.08015 49.931702,177.99389 C 35.780999,194.55141 2.4957562,165.88157 16.536295,149.45293 L 85.841002,68.360413 C 100.14406,51.624595 133.76946,79.896436 119.2364,96.901374 l -9.81381,11.483016" + /> + </g> + </symbol> + <symbol id="btc" + viewBox="0 0 200 200" + > + + + <g> + <circle + style="opacity:0.99;fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + cx="100" + cy="100" + r="92.324692" /> + <text + xml:space="preserve" + style="font-weight:bold;font-size:179.605px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;opacity:0.99;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + x="83.549644" + y="186.25789" + transform="rotate(-15.468221)"><tspan + + + style="fill-opacity:1;stroke:none;stroke-width:4;stroke-dasharray:none" + x="83.549644" + y="186.25789">B</tspan></text> + <rect + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="9.3419447" + height="15.677465" + x="43.400417" + y="47.026237" + rx="0" + ry="0" + transform="rotate(-15.468221)" /> + <rect + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="9.3419447" + height="15.677465" + x="66.457565" + y="47.152031" + rx="0" + ry="0" + transform="rotate(-15.468221)" /> + <rect + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="9.3419447" + height="15.677465" + x="43.380985" + y="186.2144" + rx="0" + ry="0" + transform="rotate(-15.468221)" /> + <rect + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="9.3419447" + height="15.677465" + x="66.41478" + y="186.15088" + rx="0" + ry="0" + transform="rotate(-15.468221)" /> + <rect + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="28.949465" + height="19.075401" + x="22.285784" + y="167.17883" + rx="0" + ry="0" + transform="rotate(-15.468221)" /> + <rect + style="opacity:0.99;fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="28.949465" + height="19.075401" + x="23.174849" + y="62.679756" + rx="0" + ry="0" + transform="rotate(-15.468221)" /> + </g> + </symbol> + <symbol id="rss" + viewBox="0 0 200 200" + > + + + <g> + <rect + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5.45099;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + width="193.26019" + height="193.26019" + x="3.3699021" + y="3.3699021" + ry="30.002089" /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke-width:4.99999;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="m 25.944181,155.41081 a 26.28293,26.28293 0 0 1 26.42547,-26.09156 26.28293,26.28293 0 0 1 26.139523,26.37803 26.28293,26.28293 0 0 1 -26.330502,26.1874 26.28293,26.28293 0 0 1 -26.235185,-26.28289" /> + <path + style="opacity:0.99;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" + d="m 28.637164,75.172279 c -0.900788,0 0,18.954039 0,18.954039 0,0 33.553756,2.826066 57.320652,26.592962 25.956314,25.95631 22.707424,64.01135 22.707424,64.01135 h 19.95267 c 0,0 -1.62239,-51.39849 -28.14709,-77.92319 C 79.262441,85.599061 54.800874,75.172279 28.637164,75.172279 Z" + /> + <path + style="opacity:0.99;stroke-width:5.88811;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:25" + d="m 30.597006,21.978507 v 23.437232 c 0,0 55.693972,5.054483 88.892344,38.252831 38.87023,38.87021 36.05298,99.58282 36.05298,99.58282 h 22.22907 c 0,0 -0.46149,-73.73327 -41.43329,-114.705068 C 99.709109,31.917324 30.597006,21.978507 30.597006,21.978507 Z" + /> + </g> + </symbol> + <symbol id="email" + viewBox="0 0 210 210" + > + + + <g> + <path + style="fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers" + d="M 199.7532,30.626328 V 156.0798 H 6.7479992 V 30.626328 Z" + /> + <path + style="fill:none !important;;fill-opacity:1;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers" + d="M 199.7532,30.626328 155.51095,121.36055 H 43.227339 L 8.4585796,30.626328" + /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:66.3222px;line-height:1.25;font-family:sans-serif;fill-opacity:1;stroke:none;stroke-width:0.264583" + x="72.000824" + y="94.79673" + ><tspan + + + style="font-weight:bold;font-size:66.3222px;stroke-width:0.264583" + x="72.000824" + y="94.79673">@</tspan></text> + </g> + </symbol> + <symbol id="next" + viewBox="0 0 120 120" + > + + + <g> + <path + style="fill:none !important;;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:20;stroke-dasharray:none;stroke-opacity:1" + d="M 3.3666991,45.394268 H 70.162259 V 22.1097 L 116.63345,60.455485 70.262102,97.890292 V 75.214915 H 3.3666991 Z" + /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:19.4028px;line-height:1.25;font-family:sans-serif;fill-opacity:1;stroke:none;stroke-width:0.264583" + x="39.456932" + y="66.934982" + ><tspan + + + style="font-weight:bold;font-size:19.4028px;stroke-width:0.264583" + x="39.456932" + y="66.934982">Next</tspan></text> + </g> + </symbol> + <symbol id="play" + viewBox="0 0 200 200" + > + + + <g> + <ellipse + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:9.68031;stroke-linejoin:round;stroke-opacity:1" + cy="99.93528" + cx="100.03613" + rx="95.000404" + ry="95.057236" /> + <path + style="opacity:0.99;fill-opacity:0.992157;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" + d="m 68.503477,169.27357 c -5.757834,-3.32429 -4.829598,-135.759422 0,-138.547791 5.258545,-3.036022 106.900773,62.443169 106.900773,71.382371 0,9.46586 -101.820676,70.09842 -106.900773,67.16542 z" + /> + </g> + </symbol> + <symbol id="tag" + viewBox="0 0 200 200" + > + + + <g> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="m 6.281763,111.86211 c 0,12.99786 67.485752,80.84067 77.193916,80.84067 9.757909,0 74.315171,-70.29527 89.112641,-85.09274 6.99227,-6.99228 6.83158,-88.060832 6.83158,-88.060832 0,0 -77.7666,3.606593 -84.025496,7.220168 C 76.605972,37.616882 6.281763,99.864196 6.281763,111.86211 Z" + /> + <circle + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + cx="138.22505" + cy="-78.649734" + r="12.46391" + transform="rotate(46.321904)" /> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="m 32.307964,111.18133 59.64203,59.64203 z" + /> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="M 45.070354,98.671666 104.71238,158.3137 Z" + /> + <path + style="opacity:0.99;fill:none !important;;fill-opacity:0.992157;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:25;stroke-dasharray:none;stroke-opacity:1" + d="m 57.643191,85.97246 59.642029,59.64203 z" + /> + </g> + </symbol> + </svg> \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css index 793f0d6..c0fe9ba 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -7,11 +7,92 @@ body { margin: 0; width: 100vw; display: flex; + align-items: flex-start; + flex-direction: row; + justify-content: space-evenly; + font-size: 18px; +} + +@media screen and (prefers-color-scheme:dark) { + body { + --theme-color-primary: rgb(0, 0, 0); + --theme-color-secondary: white; + --theme-accent: #1291e5; + + } +} + +header, +footer { + font-size:16px; + min-width: min-content; + width:20vw; + margin: 0; + display: flex; flex-direction: column; align-items: center; - justify-content: space-around; - flex-wrap: wrap; - font-size: 18px; + justify-content: flex-start; + flex-wrap: nowrap; + padding:5px; +} + +main { + display:flex; + flex-direction: column; + align-items: center; + width: 60vw; + max-width: 60vw; +} + +nav { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; +} + +nav>* { + margin: 1rem; + text-align: center; + +} +nav a { + text-decoration: none; +} + + +@media screen and (orientation:portrait) { + body { + font-size:20px; + flex-direction: column; + } + + header, + footer { + width: 100vw; + max-width: unset; + min-height:unset; + margin: 0; + display: flex; + flex-direction: row; + flex-wrap: wrap; + align-items: center; + justify-content: space-around; + padding:5px; + } + + nav{ + flex-direction: row; + justify-content: center; + width:100%; + flex-wrap: wrap; + } + main { + max-width: unset; + width:100%; + align-items: center; + } + } svg { @@ -25,27 +106,13 @@ a:hover { color: var(--theme-accent); } -hr { - width: 100%; - color: var(--theme-accent); - margin-top:25px; - margin-bottom:25px; -} - -@media screen and (prefers-color-scheme:dark) { - body { - --theme-color-primary: rgb(0, 0, 0); - --theme-color-secondary: white; - --theme-accent: #1291e5; - - } -} iframe { - width:100%; - min-height:25rem; - height:25vw; + width: 100%; + min-height: 25rem; + height: 25vw; } + img, video, iframe, @@ -53,57 +120,56 @@ audio { max-width: 90vw; max-height: 100%; } + .gif { - max-height:50vh; + max-height: 50vh; } + .gallery { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; + overflow: hidden; + width:100%; + max-width: 100%; +} + +.gallery>* { + max-width: 25vw; + max-height: 20vw; +} +.image-container{ overflow:hidden; - max-width:95%; +} +.image-container a { + height: 100%; } -.gallery >*{ - max-width:25vw; - max-height:20vw; +.image-container img { + max-height: 100%; } -.image-container a{ - height:100%; -} -.image-container img{ - max-height:100%; -} - -.gallery > img{ - max-width:600px; - max-height:400px; +.gallery>img { + max-width: 600px; + max-height: 400px; } -header, -footer { - width: 100vw; - margin: 0; - display: flex; + +.tag-list{ + display:flex; flex-direction: row; flex-wrap: wrap; align-items: center; - justify-content: space-around; + justify-content: space-evenly; } - -nav { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; +.tag-link{ + margin:3px; } - -nav>* { - margin: 1rem; +.tag-link:hover{ + color:var(--theme-color-secondary) } .icon { @@ -116,21 +182,20 @@ div { align-items: center; justify-content: center; flex-direction: row; - flex-wrap: wrap; + text-align:center; } article { display: flex; flex-direction: column; align-items: center; - width: 100%; - padding-left:10px; - padding-right:10px; - max-width: 60rem; - font-size:24px; + width: 60rem; + max-width: 100%; + font-size: 20px; } + article img { - max-width:90%; + max-width: 90%; } article p, @@ -143,12 +208,14 @@ article h2 { width: 100%; text-align: left; } -article .highlight{ - width:100%; + +article .highlight { + width: 100%; align-items: flex-start; } -article .highlight pre{ - width:100%; + +article .highlight pre { + width: 100%; text-align: left; } @@ -166,35 +233,34 @@ article h1 {} .post { flex-direction: row; flex-wrap: wrap; - display:flex; + display: flex; align-items: center; - margin:1rem; - background-color:#151515; - border:2px solid #252525; - padding:25px; - border-radius:25px; - max-width: 90vw; + margin: 1rem; + padding: 25px; + border-radius: 25px; + font-size:14px; } -.post>*{ - margin:15px; +.post>* { + margin: 15px; } -.post h2{ + +.post h2 { text-align: center; } -.post p{ + +.post p,.post h2 { max-width: 460px; } -.post-image{ - width:25rem; - height:15rem; + +.post-image { + height: 15rem; background-position: top center; background-size: contain; background-repeat: no-repeat; } -@media screen and (orientation:portrait){ - .post-image{} -} + +@media screen and (orientation:portrait) {} .post-tags a { margin: 5px; @@ -210,16 +276,28 @@ article h1 {} background-color: transparent !important; } -article .gallery{ - width: 80vw; - max-width: 90vw; + +h3 { + margin: 0; } -h3{ +article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after { + content: "↗️"; + font-size: 20px; + margin: 5px; + text-decoration: none; +} + +.image-container a::after, a::after { + content: "" !important; + margin: 0 !important; + font-size: 0; +} + +hr{ + color:var(--theme-accent); + width:100%; margin:0; -} -article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:20px;margin:5px;text-decoration: none;} -.image-container a::after, .liberapay-container a::after{ - content: "" !important;margin:0 !important;font-size:0; -} - + margin-top:1rem; + margin-bottom:1rem; +} \ No newline at end of file diff --git a/static/js/multimedia.js b/static/js/multimedia.js new file mode 100644 index 0000000..e69de29