From 5e96b3adeebb9c4017a21c5dd8589dd1e8305fcc Mon Sep 17 00:00:00 2001 From: Gabriel <gabriel@libresolutions.network> Date: Sat, 31 Dec 2022 16:21:36 -0500 Subject: [PATCH] Not sure if this is really an improvement.. --- layouts/_default/list.html | 294 ++++++++++++++++++++++++- layouts/_default/single.html | 289 ++++++++++++++++++++++++- layouts/index.html | 287 +++++++++++++++++++++++- layouts/partials/nav.html | 2 +- layouts/partials/post.html | 10 +- layouts/partials/profile.html | 71 +++--- layouts/shortcodes/video.html | 2 +- static/css/theme.css | 396 +++++++++++++++++++++------------- 8 files changed, 1157 insertions(+), 194 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index afcda8e..40c32d2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,12 +2,304 @@ <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> <div class="spacer"></div> {{partial "profile" .}} <div class="spacer"></div> <aside id="posts"> + <div class="post"> + <h3>Subscribe via RSS</h3> + <a href="index.xml"> + <svg class="icon icon-mid"> + <use href="#rss"></use> + </svg> + </a> + </div> {{range .Pages}} {{partial "post" .}} {{end}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 85054da..cefa9d1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,292 @@ <!DOCTYPE html> <html> {{partial "head" .}} - <body> - {{partial "profile" .}} + <body id="height-override"> + <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 "profile" .}} </body> </html> \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 1e2c0dc..7597cca 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,11 +2,296 @@ <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> <div class="spacer"></div> {{partial "profile" .}} <div class="spacer"></div> <aside id="posts"> - {{range first 4 .Site.RegularPages}} + {{range first 10 .Site.RegularPages}} {{partial "post" .}} {{end}} </aside> diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index d995ce8..5c830b4 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,6 +1,6 @@ <nav>{{ range .Site.Sections }} <a href="{{.Permalink}}"> - <h3>{{.Title}}</h3> + <h2>{{.Title}}</h2> {{if .Params.icon}} <img src="{{.Params.icon}}"> {{end}} diff --git a/layouts/partials/post.html b/layouts/partials/post.html index bee3f04..98d7169 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -1,4 +1,4 @@ -<article class="post"> +<div class="post"> <a href="{{.Permalink}}"><h2>{{.Title}}</h2></a> {{if .Date }} <p>{{.Date | time.Format "Jan 02 2006"}}</p> @@ -8,16 +8,10 @@ <video autoplay muted loop preload="true"> <source src="{{.Site.BaseURL}}{{.Params.gif}}"> </video> -{{else}} - {{if .Params.video}}<video controls loop preload="none"><source src="{{.Site.BaseURL}}{{.Params.video}}"></video> -{{else}} -{{if .Params.audio}}<audio controls preload="none"><source src="{{.Site.BaseURL}}{{.Params.audio}}"></audio> {{else}} {{if .Params.image}}<img loading="lazy" src="{{.Site.BaseURL}}{{.Params.image}}"> {{end}} {{end}} -{{end}} -{{end}} </a> <p>{{.Params.description}}</p> {{ if .GetTerms "tags" }} @@ -29,4 +23,4 @@ {{end}} </div> {{end}} -</article> \ No newline at end of file +</div> \ No newline at end of file diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html index 0c8081a..ab0140f 100644 --- a/layouts/partials/profile.html +++ b/layouts/partials/profile.html @@ -1,40 +1,51 @@ <main id="profile"> - <div> + <div> + {{ if .Site.Params.logo}} <a href="{{.Site.BaseURL}}"> - <img id='profilephoto' loading="lazy" src="{{.Site.Params.default_img}}"> - </a> + <img id="profilephoto" src="{{.Site.Params.logo}}"> + </a> + {{end}} <div id="profile-details"> - <a href="{{.Site.BaseURL}}"><h1>{{.Site.Title}}</h1></a> + <a href="{{.Site.BaseURL}}"> + <h1>{{.Site.Title}}</h1> + </a> + {{if .Site.Params.subtitle}} <p>{{.Site.Params.subtitle}}</p> - {{ if .Site.Data.details.links }} - <div id="profile-links"> - {{range .Site.Data.details.links}} - <a href="{{.linkurl}}">{{.linkname}}</a><br> - {{end}} + {{end}} </div> + {{ if .Site.Params.rss}} + <a href="{{.Site.Params.rss}}"> + <svg class="icon icon-mid"> + <use href="#rss"></use> + </svg> + + </a> + {{else}} + <a href="{{.Site.BaseURL}}/index.xml"> + <svg class="icon icon-mid"> + <use href="#rss"></use> + </svg> + </a> {{end}} </div> + {{partial "nav" .}} + <hr> + {{ if .Content}} + <article> + {{.Content}} - - - - </div> - - {{partial "nav" .}} - {{ if .Content}} - <article> - {{.Content}} - </article> - {{end}} - {{ if .GetTerms "tags" }} - <div class="post-tags"> - <span>Tags:</span> - {{range .GetTerms "tags" }} - <a href="{{.Permalink}}">{{.LinkTitle}}</a> - {{end}} - </div> - {{end}} - <div> + {{ if .GetTerms "tags" }} + <div class="post-tags"> + <span>Tags:</span> + {{range .GetTerms "tags" }} + <a href="{{.Permalink}}">{{.LinkTitle}}</a> + {{end}} + </div> + {{end}} + </article> + {{end}} <p><a href="https://codeberg.org/gabe/Valor">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p> - </div> + + + </main> \ No newline at end of file diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index 3056358..34ccdd4 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -64,7 +64,7 @@ } </style> <script src="/js/icons.js"></script> -<div class="media-container"> +<div class="video-container"> <div class="video-player"> <video preload="metadata" onclick="playthis(event)" onloadedmetadata="setup_video_metadata(event)" ontimeupdate="setup_video_metadata(event)"> diff --git a/static/css/theme.css b/static/css/theme.css index a8f4152..dea36ca 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1,150 +1,186 @@ -body{ +body { --theme-color-primary: rgba(255, 255, 255, 0.8); --theme-color-secondary: black; --theme-accent: #09448c; } -@media screen and (prefers-color-scheme:dark){ - body{ - --theme-color-primary:rgba(0, 0, 0, 0.8); - --theme-color-secondary:white; + +@media screen and (prefers-color-scheme:dark) { + body { + --theme-color-primary: rgba(0, 0, 0, 0.8); + --theme-color-secondary: white; --theme-accent: #2db1f3; } } -body{ - color:var(--theme-color-secondary); +body { + color: var(--theme-color-secondary); background-color: var(--theme-color-primary); background-image: url(/res/bg.png); background-size: 35vh; - display:flex; + display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; justify-content: space-evenly; - width:100%; - margin:0; - padding-top:1rem; + width: 100%; + margin: 0; overflow-x: hidden; font-weight: 500; } -.spacer{ - width:10vw; +.spacer { + width: 10vw; } -a,a:visited,hr{ - color:var(--theme-accent); +a, +a:visited, +hr { + color: var(--theme-accent); } -hr{ - width:100%; - color:var(--theme-accent); - margin-top:1rem; - margin-bottom:1rem; -} - -iframe, -video, -img, -audio{ - max-width:100%; - max-height: 30vh; -} -#profile img { - -} -audio{ - width:80%; -} -#profile{ - margin-bottom:1rem; +hr { width: 100%; - max-width: 80rem; - flex-shrink: none; + color: var(--theme-accent); + margin-top: 1rem; + margin-bottom: 1rem; } -#profile-details{ + +img, +audio, +video { + max-width: 100%; + max-height: 50vh; +} + +iframe { + max-width: 80%; + max-height: 100vh; + width: 60vw; + height: 25vw; +} + + +audio { + width: 80%; +} + +#profile article { + overflow-y: scroll; + max-width: 95%; + display:flex; + flex-direction: column; +} +article{ display:flex; flex-direction: column; align-items: center; } -#profile-links{ - display:flex; + +#profile-details { + display: flex; + flex-direction: column; + align-items: center; +} + +#profile-links { + display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-around; } -#profile-links>a{ - margin:0.5rem; + +#profile-links>a { + margin: 0.5rem; } -#posts{ - margin-bottom:1rem; +#posts { width: fit-content; display: flex; flex-direction: column; align-items: center; max-width: 40rem; + height: 95vh; + overflow-y: scroll; } -.post{ - width:100%; + +.post { + width: 90%; word-wrap: break-word; - margin-bottom:1rem; -} -.post h2{ - margin-top:0; -} - -#profilephoto{ - margin:1rem; - max-width: 10rem; - border-radius: 50%; - border: 0.5rem solid var(--theme-accent); -} -section{ - width: 100%; -} -#profile>nav, -#profile>div{ - display:flex; - flex-direction: row; - align-items: flex-start; - justify-content:space-evenly; - flex-wrap: wrap; -} -#profile>#details{ - flex-direction: column; - -} - -nav{ - display:flex; - flex-direction: row; - align-items: baseline; - justify-content:space-evenly; - flex-wrap: wrap; -} -nav>a{ -} - - -article,main > div,main>nav{ - display:flex; + margin-bottom: 1rem; + display: flex; flex-direction: column; align-items: center; - padding:1rem; + padding: 1rem; background-color: var(--theme-color-primary); color: var(--theme-color-secondary); - border:0.25rem solid var(--theme-accent); + border: 0.25rem solid var(--theme-accent); backdrop-filter: blur(0.5rem); border-radius: 1rem; - margin-bottom:1.5rem; - width:90%; + margin-bottom: 1.5rem; } + +.post h2 { + margin-top: 0; +} + +#profilephoto { + margin: 1rem; + max-width: 5rem; +} + +section { + width: 100%; +} + +nav { + width: 100%; +} + +#profile>nav, +#profile>div { + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-evenly; + flex-wrap: wrap; +} + +#profile-details { + flex-direction: column; + align-items: flex-start; +} +#profile-details>*{ + margin:0.25rem; +} +nav { + display: flex; + flex-direction: row; + align-items: baseline; + justify-content: space-evenly; + flex-wrap: wrap; +} + + + +#profile { + display: flex; + flex-direction: column; + align-items: center; + background-color: var(--theme-color-primary); + color: var(--theme-color-secondary); + border: 0.25rem solid var(--theme-accent); + backdrop-filter: blur(0.5rem); + border-radius: 1rem; + margin-bottom: 1.5rem; + width: 90%; + height:95vh +} + aside { - min-width:40vw; + min-width: 40vw; } article p, @@ -152,117 +188,177 @@ article h3, article h4, article ul, article ol, -article table{ +article table { text-align: left; - width:90%; + width: 90%; } -article p{ - width:90%; -} -article img{ - + +article p { + width: 90%; } +article img {} + blockquote { margin-left: 10%; padding-left: 2.5rem; - width:80%; + width: 80%; border-left: 0.5rem solid var(--theme-accent); font-style: italic; } -.gallery{ - width:80%; - display:flex; - flex-direction: row; - flex-wrap: wrap; - align-items: center; - justify-content: space-evenly; -} -.gallery>*{ - margin:0.1rem; - border:1px solid var(--theme-accent); -} -.gallery p{ - width:100%; - display:flex; +.gallery { + display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; } -audio{ - padding:1rem; +.gallery>* { + margin: 0.1rem; } -.post-tags{ - display:flex; +.gallery p { + width: 100%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + align-items: center; + justify-content: center; +} + +audio { + padding: 1rem; +} + +.post-tags { + display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-evenly; font-weight: bolder; - font-size:1.25rem -} -.post-tags>*{ - margin:0.5rem; + font-size: 1.25rem } -@media screen and (orientation: portrait){ - body{ +.post-tags>* { + margin: 0.5rem; +} + +@media screen and (orientation: portrait) { + body { flex-direction: column; align-items: center; justify-content: flex-start; flex-wrap: none; - padding:0; - font-size:1rem; - } - #profile,#posts{ - width:90%; - max-width: 90vw; - + padding: 0; + font-size: 1rem; + height: unset; } - #profile a>img{ - display:flex; + #profile, + #posts { + margin-top: 10px; + width: 90%; + max-width: 90vw; + height: unset; + display: flex; flex-direction: column; align-items: center; - width:100%; + padding: 1rem; + background-color: var(--theme-color-primary); + color: var(--theme-color-secondary); + border: 0.25rem solid var(--theme-accent); + backdrop-filter: blur(0.5rem); + border-radius: 1rem; + margin-bottom: 1.5rem; } + +} + + +#profile a>img { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; } -.link-preview{ - display:flex; +.link-preview { + display: flex; flex-direction: row; flex-wrap: nowrap; - padding:1.5%; + padding: 1.5%; justify-content: center; text-decoration: none; text-align: left; - width:80%; + width: 80%; } -.link-preview>div{ - margin:1rem; + +.link-preview>div { + margin: 1rem; } -.link-preview>img{ + +.link-preview>img { max-width: 20%; } -.link-preview>div>p{ + +.link-preview>div>p { text-decoration: none !important; color: var(--theme-color-secondary); } -.image-container{ - display:flex; +.image-container { + display: flex; flex-direction: column; align-items: center; max-width: 95%; } -.caption{ - padding-left:10%; - padding-right:10%; + +.caption { + padding-left: 10%; + padding-right: 10%; max-width: 90%; +} + +#height-override article,#height-override #profile { + height: unset; + max-height: unset; + overflow-y: unset; +} + +.audio-player{ + backdrop-filter: blur(1.5rem); +} + +article hr { + max-width:95%; + border-style:dashed; +} + +article h1,article h2{ + width:100%; + text-align: center; +} + +.icon{ + stroke:var(--theme-accent); + fill:var(--theme-accent); + margin:1rem; + +} +.icon-mid { + width:2.5rem; + height:2.5rem; +} +article a { + height:fit-content; +} + +.video-container{ + width:fit-content; + border: 0.15rem solid var(--theme-accent); } \ No newline at end of file