Improve image full-size viewing
authorLanius Trolling <lanius@laniustrolling.dev>
Wed, 8 Mar 2023 12:39:08 +0000 (07:39 -0500)
committerLanius Trolling <lanius@laniustrolling.dev>
Wed, 8 Mar 2023 12:39:08 +0000 (07:39 -0500)
src/main/kotlin/info/mechyrdia/lore/parser_tags.kt
src/main/kotlin/info/mechyrdia/lore/view_tpl.kt
src/main/resources/static/images/icon.svg
src/main/resources/static/init.js
src/main/resources/static/style.css

index cdd6f154ca2af298fff4ebe3f631b2b6f6f8a28f..a266ff6d59a4898f63db109fe14c426583b60ad1 100644 (file)
@@ -154,7 +154,7 @@ enum class TextParserFormattingTag(val type: TextParserTagType<Unit>) {
                                
                                imageSvg
                        } else
-                               "<a href=\"/assets/images/$imageUrl\" title=\"Click to view full size\"><img src=\"/assets/images/$imageUrl\"$sizeAttrs/></a>"
+                               "<a class=\"thumb\" href=\"/assets/images/$imageUrl\" title=\"Click to view full size\"><img src=\"/assets/images/$imageUrl\"$sizeAttrs/></a>"
                }
        ),
        MODEL(
index 6ea34ea71209f927cfe2b78a5e6d247599dbac2e..5848eb59d7cf6072d66fd21e3405ef7bb9769d93 100644 (file)
@@ -77,6 +77,14 @@ fun ApplicationCall.page(pageTitle: String, navBar: List<NavItem>? = null, sideb
                                }
                        }
                        
+                       div {
+                               id = "thumb-view"
+                               div(classes = "bg")
+                               img(alt = "Click to close full size") {
+                                       title = "Click to close full size"
+                               }
+                       }
+                       
                        request.queryParameters["error"]?.let { errorMessage ->
                                div {
                                        id = "error-popup"
index cd2dbdd88a8b2210d69e930ac5a2c305b91a6ece..e4187ac1241e23bc0f01d802ea5888bf3f9704bf 100644 (file)
@@ -1,87 +1,28 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <svg
-               xmlns="http://www.w3.org/2000/svg"
                version="1.1"
                viewBox="0 -24 128 128"
                height="256px"
-               width="256px">
-       <defs
-                       id="defs2">
-               <clipPath
-                               id="clipPath959">
-                       <rect
-                                       style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.74999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
-                                       id="rect961"
-                                       width="576"
-                                       height="360"
-                                       x="11.999997"
-                                       y="-1.1444092e-05"
-                                       rx="72"
-                                       ry="72"/>
-               </clipPath>
+               width="256px"
+               xmlns="http://www.w3.org/2000/svg">
+       <defs>
+               <linearGradient
+                               id="linearGradient1830"
+                               x1="64"
+                               y1="16"
+                               x2="64"
+                               y2="96"
+                               gradientUnits="userSpaceOnUse">
+                       <stop
+                                       style="stop-color:#ec6;stop-opacity:1;"
+                                       offset="0"/>
+                       <stop
+                                       style="stop-color:#a82;stop-opacity:1;"
+                                       offset="1"/>
+               </linearGradient>
        </defs>
-       <g
-                       transform="translate(0,-217)"
-                       id="layer1">
-               <g
-                               clip-path="url(#clipPath959)"
-                               id="g855"
-                               transform="matrix(0.22222222,0,0,0.22222222,-2.666666,217)"
-                               style="stroke-width:1.19062495">
-                       <rect
-                                       id="rect817"
-                                       y="0"
-                                       x="0"
-                                       height="360"
-                                       width="600"
-                                       style="fill:#ffcc33;stroke-width:1.19062495"/>
-                       <polygon
-                                       id="polygon819"
-                                       points="600,360 600,324 60,0 0,0 0,36 540,360 "
-                                       style="fill:#ffffff;stroke-width:1.19062495"/>
-                       <polygon
-                                       id="polygon821"
-                                       points="0,360 0,324 540,0 600,0 600,36 60,360 "
-                                       style="fill:#ffffff;stroke-width:1.19062495"/>
-                       <circle
-                                       id="ellipse823"
-                                       cy="180"
-                                       cx="300"
-                                       r="150"
-                                       style="fill:#ffffff;stroke-width:1.19062495"/>
-                       <polygon
-                                       id="polygon825"
-                                       points="600,360 600,339.75 33.75,0 0,0 0,20.25 566.25,360 "
-                                       style="fill:#000000;stroke-width:1.19062495"/>
-                       <polygon
-                                       id="polygon827"
-                                       points="0,360 0,339.75 566.25,0 600,0 600,20.25 33.75,360 "
-                                       style="fill:#000000;stroke-width:1.19062495"/>
-                       <circle
-                                       id="ellipse829"
-                                       cy="180"
-                                       cx="300"
-                                       r="135"
-                                       style="fill:#000000;stroke-width:1.19062495"/>
-                       <circle
-                                       id="ellipse831"
-                                       cy="180"
-                                       cx="300"
-                                       r="105"
-                                       style="fill:#ffffff;stroke-width:1.19062495"/>
-                       <g
-                                       id="g835"
-                                       transform="matrix(3,0,0,3,300,191.25)"
-                                       style="stroke-width:1.19062495">
-                               <path
-                                               id="path833"
-                                               d="m -1.266704,23.778129 c -1.537976,-1.75464 -1.571822,-2.10765 -0.459874,-4.79639 0.150439,-0.36377 -0.112142,-0.23308 -0.896696,0.44631 -0.655233,0.56739 -1.482703,1.0189 -2.021186,1.10286 -1.654672,0.25799 -2.182575,0.67965 -2.182575,1.74329 0,0.52345 -0.06805,0.95164 -0.15123,0.95156 -0.428121,-4.8e-4 -0.992507,-1.04979 -0.992507,-1.84528 0,-1.1674 0.625845,-1.73918 2.625496,-2.39874 1.199991,-0.3958 1.692435,-0.71591 2.135763,-1.38835 0.9526,-1.44489 0.737478,-1.65152 -0.827451,-0.79473 -1.59832,0.87506 -2.889925,0.98115 -4.417046,0.36282 -0.816105,-0.33045 -1.111578,-0.34717 -1.593667,-0.0901 -1.194321,0.63682 -1.292751,1.56673 -0.282539,2.66923 0.492449,0.53743 0.559391,0.70267 0.233375,0.57608 -0.251428,-0.0977 -0.502036,-0.17753 -0.55691,-0.17753 -0.264693,0 -0.875311,-1.60855 -0.875311,-2.30584 0,-1.28964 1.130372,-1.80725 3.949337,-1.80843 3.214575,-9.8e-4 4.518877,-0.71753 5.37184,-2.94962 0.514679,-1.34684 0.417693,-1.9089 -0.361909,-2.09737 -1.058648,-0.25592 -1.334359,-0.5868 -1.334359,-1.60137 0,-0.91139 0.0062,-0.91696 0.395657,-0.35432 0.524909,0.75837 1.273265,0.72378 1.795654,-0.083 0.536373,-0.8284 0.203861,-2.14266 -0.871739,-3.44558 l -0.730766,-0.8852 -0.910443,0.92134 c -0.500745,0.50672 -1.159057,1.41447 -1.46292,2.01721 -0.419085,0.8313 -0.607728,1.00888 -0.781316,0.73548 -0.179494,-0.28268 -0.418748,-0.13852 -1.109415,0.66841 -1.245472,1.45514 -1.173036,1.67116 0.561783,1.67533 1.908554,0.005 2.605178,0.20957 2.605178,0.76659 0,0.24911 0.17156,0.597 0.381245,0.77311 0.393009,0.33007 0.496885,1.19619 0.228384,1.90426 -0.128845,0.33978 -0.226073,0.31277 -0.618855,-0.17186 -0.406156,-0.50115 -0.534723,-0.53258 -1.001214,-0.24477 -0.693773,0.42803 -1.063835,0.1817 -0.874407,-0.58205 0.16074,-0.64811 -0.435325,-1.16479 -1.339031,-1.1607 -0.69083,0.003 -4.834261,3.20771 -5.043154,3.90042 -0.263135,0.87259 -0.874101,1.48601 -1.311067,1.31632 -0.223827,-0.0869 -0.643121,0.13894 -1.018492,0.5486 -0.350927,0.38298 -0.684181,0.64963 -0.74057,0.59258 -0.05639,-0.0571 0.110739,-0.78519 0.371396,-1.61807 0.38267,-1.22273 0.639827,-1.60655 1.335522,-1.99332 0.92742,-0.51562 2.826745,-2.26031 2.652543,-2.4366 -0.05827,-0.059 -0.678917,0.0853 -1.379209,0.32075 -0.876661,0.29466 -1.231426,0.53828 -1.138963,0.78211 0.179599,0.47361 -1.752024,1.02066 -2.387924,0.67627 -0.49312,-0.26707 -1.768107,-0.10382 -1.986878,0.25439 -0.221918,0.36337 -0.870818,0.26078 -0.870818,-0.13766 0,-0.2003 0.502089,-0.90975 1.115757,-1.57658 0.997309,-1.08368 1.206424,-1.19821 1.969769,-1.07883 0.9164,0.14333 3.522728,-0.27954 3.522728,-0.57155 0,-0.097 -0.862372,-0.36584 -1.916381,-0.5973 -1.488659,-0.32691 -2.057472,-0.35578 -2.548531,-0.12938 -0.47568,0.21933 -0.705935,0.21681 -0.930252,-0.0102 -0.431062,-0.43622 -0.908137,-0.3733 -1.745723,0.23025 -0.736879,0.53098 -0.738186,0.531 -0.738186,0.0119 0,-0.28595 0.296444,-0.72786 0.658762,-0.98201 0.36232,-0.25417 0.845234,-0.66466 1.07314,-0.91223 0.552514,-0.60014 1.355241,-0.56825 2.177826,0.0865 0.663698,0.52832 3.725539,1.23626 5.427071,1.25482 0.701903,0.008 0.98832,-0.20506 1.956005,-1.45274 1.07998,-1.39246 1.273001,-2.07907 0.500097,-1.77893 -0.579444,0.22501 -0.404513,-0.24671 0.216332,-0.58337 0.660262,-0.35804 2.342474,-2.69467 2.018619,-2.80391 -0.119284,-0.0403 -1.122656,0.3838 -2.229717,0.9423 -2.211425,1.11566 -4.871725,1.90831 -5.916734,1.76296 l -0.671046,-0.0933 0.63541,-0.28094 c 0.889191,-0.39313 1.913097,-1.56793 2.390912,-2.74323 0.530007,-1.30368 0.521897,-1.32705 -0.276782,-0.79748 -3.054432,2.02528 -6.373977,2.84353 -8.785927,2.16568 -0.902324,-0.25359 -1.320233,-0.75432 -0.635409,-0.76135 1.074988,-0.0109 6.287241,-3.55212 6.289602,-4.27303 7.63e-4,-0.19664 -0.835486,-0.28617 -2.604229,-0.27882 -2.790155,0.0115 -4.074726,-0.34134 -5.225823,-1.43566 l -0.594273,-0.56497 2.125693,-0.28507 c 1.704551,-0.2286 2.387189,-0.4582 3.44558,-1.15888 0.725936,-0.48059 1.321941,-0.9606 1.324452,-1.06671 0.0025,-0.10609 -0.471469,-0.1929 -1.053291,-0.1929 -1.594373,0 -3.67165,-0.76481 -4.854596,-1.78737 l -1.056507,-0.91325 2.153165,-0.1318 c 1.704149,-0.10431 2.324786,-0.25546 2.976151,-0.72482 1.02149,-0.73605 1.032642,-0.96567 0.0565,-1.16323 -1.428742,-0.28917 -3.505191,-1.46364 -4.441095,-2.51196 -0.512524,-0.5741 -0.871622,-1.10476 -0.797996,-1.17927 0.07363,-0.0745 0.499895,-0.007 0.947261,0.15148 0.911187,0.32144 3.790274,0.39302 3.782458,0.094 -0.0028,-0.10609 -0.584779,-0.54011 -1.293347,-0.96449 -1.430677,-0.85689 -3.258274,-2.70744 -3.884906,-3.9337 L -25,-19.702331 l 1.080326,0.49624 c 0.594181,0.27294 1.637607,0.49879 2.318725,0.50189 1.072296,0.005 1.195961,-0.046 0.921994,-0.38016 -0.174024,-0.21219 -0.451524,-0.3858 -0.616673,-0.3858 -0.706905,0 -3.791295,-4.36994 -3.378928,-4.78725 0.07293,-0.0738 0.689595,0.15145 1.370367,0.50053 0.680772,0.34911 1.635729,0.67518 2.122124,0.72461 l 0.884355,0.0899 -0.08755,-1.00113 -0.08755,-1.00113 0.812825,0.93682 c 0.447057,0.51527 0.921769,0.93683 1.054917,0.93683 0.515268,0 3.330207,1.56724 3.806264,2.11917 0.840323,0.97425 1.227358,2.11052 1.064599,3.12548 -0.113992,0.71085 -0.034,1.07045 0.32826,1.47581 0.337896,0.37811 0.473581,0.90308 0.460667,1.78236 -0.0166,1.12914 0.04838,1.27434 0.690522,1.54351 0.982104,0.41167 1.309934,0.88494 1.474012,2.12795 0.13808,1.04605 0.16143,1.06828 1.041156,0.99149 0.621202,-0.0542 1.113125,0.0912 1.588357,0.46945 0.627195,0.49925 0.724151,0.51188 1.089679,0.14199 0.220675,-0.22332 0.639729,-0.5352 0.93123,-0.69307 l 0.530002,-0.28705 -0.520074,-0.41858 c -0.639267,-0.51452 -1.018939,-1.24254 -1.090154,-2.0904 -0.107567,-1.28065 -0.02255,-1.35286 0.784253,-0.66587 0.430093,0.36623 0.895758,0.66587 1.034807,0.66587 0.597264,0 0.979,-0.79285 0.979,-2.03332 0,-1.09612 -0.09758,-1.36316 -0.626211,-1.71367 -0.563649,-0.37373 -0.703105,-0.3764 -1.395877,-0.0266 -0.729528,0.36829 -0.756518,0.3637 -0.517525,-0.0881 0.541348,-1.02361 0.09246,-1.03403 -1.354128,-0.0314 -1.381115,0.95723 -1.989939,1.13451 -2.81115,0.81856 -0.982644,-0.37807 -1.32557,-1.30022 -0.82871,-2.22848 l 0.396665,-0.74107 0.01016,0.69827 c 0.01972,1.35306 1.428725,1.53466 3.614715,0.46588 0.586239,-0.28663 1.330339,-0.52114 1.653556,-0.52114 0.86923,0 0.718091,-0.41557 -0.46712,-1.2844 -1.383946,-1.01451 -2.597661,-1.05089 -3.093759,-0.0928 l -0.352328,0.68049 -0.545362,-0.55189 c -1.191382,-1.20562 -0.300048,-3.48292 1.443327,-3.68759 0.438365,-0.0514 0.709091,-0.25999 0.770799,-0.59372 0.208201,-1.12599 1.039687,-1.15758 3.594604,-0.13651 2.209083,0.88284 2.923957,0.95456 3.283769,0.3294 0.230767,-0.40094 0.259908,-0.38618 0.266792,0.13503 0.006,0.44851 -0.172409,0.6216 -0.763771,0.74128 -0.735253,0.14881 -0.751313,0.17873 -0.341853,0.63659 0.488398,0.54613 1.372827,0.62938 1.825012,0.17178 0.237218,-0.24005 0.304997,-0.18491 0.304997,0.24816 0,0.30624 -0.222073,0.67707 -0.4935,0.82406 -0.48424,0.26226 -0.482566,0.29234 0.0894,1.60386 0.584587,1.34045 1.166584,1.8972 1.166584,1.11599 0,-0.22962 0.237159,-0.88792 0.527021,-1.46288 l 0.52702,-1.04541 -0.540298,-0.38295 c -0.77022,-0.54594 -0.513934,-0.94114 0.623161,-0.96095 1.131549,-0.0197 1.477517,-0.52124 0.526228,-0.76286 -0.444296,-0.11284 -0.646467,-0.3389 -0.646467,-0.72285 0,-0.54302 0.01001,-0.54482 0.357354,-0.0642 0.398556,0.55157 0.747119,0.48963 3.871809,-0.68814 1.30873,-0.49329 1.667474,-0.53883 2.223932,-0.28224 0.396691,0.1829 0.663487,0.51498 0.663487,0.82582 0,0.35638 0.167559,0.51993 0.532653,0.51993 1.936674,0 3.004446,2.64601 1.527211,3.78458 -0.577665,0.44523 -0.670037,0.41376 -1.011447,-0.34451 -0.267889,-0.59499 -0.411389,-0.65755 -1.208161,-0.5267 -0.914235,0.15013 -2.636057,1.27972 -2.636057,1.72936 0,0.13427 0.200155,0.24466 0.444787,0.24531 0.244633,7.8e-4 1.131028,0.28727 1.969768,0.63691 0.83874,0.34963 1.764598,0.63845 2.057458,0.6418 0.637918,0.008 1.367498,-0.74267 1.389861,-1.42875 0.01326,-0.40597 0.06033,-0.38218 0.263786,0.13328 0.58031,1.4701 -0.515276,2.78981 -2.010064,2.42126 -0.376413,-0.0928 -1.162488,-0.49843 -1.746836,-0.90141 -1.473995,-1.01648 -2.122894,-0.96506 -1.17648,0.0932 0.416566,0.46581 0.406794,0.46845 -0.317705,0.0861 -0.969212,-0.51146 -1.213456,-0.499 -1.739,0.0887 -0.320828,0.35874 -0.414486,0.84085 -0.357097,1.83822 0.100256,1.74249 0.576384,2.10748 1.69639,1.30045 l 0.795951,-0.57356 v 0.95775 c 0,0.62532 -0.220546,1.25035 -0.635409,1.80077 -0.713209,0.94625 -0.768657,1.13455 -0.334086,1.13455 0.165728,0 0.557762,0.24379 0.871187,0.54176 l 0.569863,0.54175 0.590254,-0.56328 c 0.459744,-0.43874 0.800997,-0.5355 1.543368,-0.43764 0.907997,0.11971 0.953117,0.0909 0.953117,-0.60937 0,-1.16666 0.532961,-2.04751 1.559537,-2.57749 0.88369,-0.45621 0.94084,-0.55458 0.80703,-1.389 -0.0967,-0.60323 -0.009,-1.10777 0.26969,-1.53696 0.26219,-0.40493 0.41371,-1.18599 0.41371,-2.1326 0,-2.07439 0.88031,-3.13487 3.68599,-4.4404 1.19814,-0.55751 2.3108,-1.27517 2.6408,-1.70327 l 0.57027,-0.73986 -0.16401,0.76681 c -0.0902,0.42176 -0.18377,0.88472 -0.20794,1.02881 -0.081,0.48291 1.71608,0.12041 3.18787,-0.64304 l 1.45265,-0.75352 -0.26114,0.70069 c -0.52623,1.41189 -2.15837,3.65034 -3.08082,4.22529 -0.52116,0.32484 -0.95066,0.67743 -0.95442,0.78352 -0.0138,0.38962 2.18639,0.16653 3.2716,-0.33172 0.61492,-0.28232 1.16265,-0.46817 1.21719,-0.41299 0.15037,0.15218 -1.65653,2.51142 -2.55755,3.33935 -0.43688,0.40144 -1.36574,1.0944 -2.06412,1.53988 -0.98326,0.62723 -1.15999,0.83139 -0.78322,0.90483 0.69374,0.13519 3.48992,-0.1032 4.04845,-0.34517 0.44687,-0.19359 0.45031,-0.16436 0.0686,0.58258 -0.68065,1.33198 -2.78283,2.64068 -4.88182,3.03917 -1.1287,0.21428 -1.01159,0.59748 0.40621,1.32918 0.86678,0.44732 1.55268,0.5787 3.02127,0.5787 h 1.89993 l -0.71284,0.75295 c -0.97017,1.02474 -2.87667,1.80838 -4.8542,1.99525 -0.90456,0.0854 -1.64465,0.22997 -1.64465,0.32109 0,0.0911 0.6284,0.55106 1.39646,1.02212 1.09273,0.67019 1.87601,0.92078 3.60142,1.15216 l 2.20498,0.2957 -0.81718,0.69584 c -1.14819,0.97769 -2.56859,1.31639 -5.43256,1.29541 -1.36295,-0.0101 -2.4781,0.0698 -2.4781,0.17724 0,0.72369 3.5531,3.27814 5.5914,4.01987 0.69906,0.25439 1.27102,0.54166 1.27102,0.63838 0,0.26366 -2.11779,0.75133 -3.26282,0.75133 -1.44559,0 -4.01372,-0.86968 -5.63291,-1.90755 -1.30429,-0.83603 -1.40345,-0.8615 -1.480949,-0.38032 -0.128713,0.79929 1.892589,3.2867 2.688229,3.30812 0.17474,0.005 0.3177,0.13921 0.3177,0.29889 0,0.76887 -4.586921,-0.55263 -7.307201,-2.10518 -0.753489,-0.43005 -1.33436,-0.63123 -1.33436,-0.46215 0,0.4055 1.182598,2.01533 2.002436,2.72583 0.536631,0.46506 0.579732,0.57767 0.221496,0.5787 -0.244632,7.8e-4 -0.444787,0.12649 -0.444787,0.27951 0,0.27169 1.655539,2.4801 2.160392,2.88187 0.621355,0.49447 5.451034,-0.36138 6.451904,-1.14332 0.72652,-0.5676 1.24516,-0.59948 1.78709,-0.10985 2.26327,2.0448 2.75998,2.86931 1.14921,1.90757 -0.79597,-0.47525 -0.98223,-0.49902 -1.54067,-0.19657 -0.5085,0.27539 -0.73547,0.28068 -1.13762,0.0265 -0.40653,-0.25692 -0.86429,-0.23229 -2.39888,0.12899 -1.04306,0.24558 -1.89648,0.5291 -1.89648,0.63004 0,0.30185 2.34936,0.69912 3.26857,0.5527 0.76451,-0.12177 0.97093,-0.009 1.96977,1.07637 1.1585,1.25884 1.48788,2.1488 0.67097,1.81286 -1.17436,-0.48293 -1.93923,-0.60955 -2.3472,-0.3886 -0.61786,0.33462 -2.20545,-0.15237 -2.35256,-0.72164 -0.1165,-0.45087 -2.129518,-1.26029 -2.415235,-0.97116 -0.193584,0.1959 2.183665,2.46647 2.582345,2.46647 0.63681,0 1.13581,0.9231 1.8075,3.34364 0.17205,0.61999 0.14739,0.61308 -0.68893,-0.1929 -0.47705,-0.45976 -1.11708,-0.83592 -1.42229,-0.83592 -0.38032,0 -0.60523,-0.20282 -0.71479,-0.6446 -0.18308,-0.73813 -2.222473,-2.68265 -3.687353,-3.5158 -0.545369,-0.31018 -0.991578,-0.6584 -0.991578,-0.77381 0,-0.11541 -0.325397,-0.20984 -0.723099,-0.20984 -0.711643,0 -1.717144,0.78847 -1.406448,1.10289 0.08747,0.0884 0.08637,0.35258 -0.0025,0.5868 -0.1276,0.3365 -0.237458,0.36206 -0.523481,0.12185 -0.400361,-0.33624 -1.411139,0.0416 -1.411139,0.52752 0,0.51303 -0.449535,-0.0267 -0.574877,-0.69024 -0.169766,-0.89868 0.574993,-2.61469 1.210286,-2.78863 0.27958,-0.0766 1.223162,-0.14076 2.096851,-0.1427 0.873687,-0.002 1.588522,-0.10028 1.588522,-0.2185 0,-0.11824 -0.415962,-0.75528 -0.924357,-1.41563 C 6.82362,7.950469 6.661677,7.845789 6.404016,8.202389 6.14876,8.555639 6.04253,8.468859 5.648902,7.585509 5.396961,7.020119 4.744554,6.116549 4.199107,5.577559 3.21611,4.606219 3.203123,4.602039 2.723247,5.102349 c -0.664852,0.69325 -1.544126,2.35087 -1.544126,2.91117 0,0.58146 1.029401,1.58023 1.628699,1.58023 0.248709,0 0.511682,-0.23018 0.584382,-0.51152 0.170525,-0.65986 0.582719,-0.40647 0.582719,0.35823 0,0.70047 -0.626239,1.3069 -1.588523,1.53825 -0.779659,0.18746 -0.876666,0.74941 -0.361908,2.09645 0.862707,2.2576 1.824224,2.7778 5.456682,2.95226 2.805009,0.13472 2.925524,0.16461 3.529986,0.87574 0.461952,0.54347 0.584681,0.912 0.468705,1.40737 -0.191557,0.81814 -0.925978,1.88128 -1.413109,2.04559 -0.197125,0.0665 -0.0472,-0.25337 0.33317,-0.71082 0.768612,-0.92437 0.811706,-1.11334 0.421964,-1.85028 -0.432408,-0.81762 -1.347633,-1.03458 -2.551342,-0.6048 -1.590052,0.5677 -2.730124,0.46097 -4.273825,-0.40009 -0.756854,-0.42216 -1.422935,-0.72017 -1.480181,-0.66225 -0.201973,0.20439 0.694012,1.65752 1.338157,2.17027 0.358833,0.28563 1.010125,0.59883 1.447314,0.69601 2.197685,0.48846 3.131103,1.79975 2.394229,3.36346 -0.482178,1.02322 -0.907654,1.14645 -0.73108,0.21172 0.167138,-0.88477 -0.791073,-1.91587 -1.780435,-1.91587 -0.919183,0 -1.616216,-0.3568 -2.671245,-1.36734 -0.716485,-0.68627 -0.824837,-0.72481 -0.817024,-0.29064 0.005,0.27531 0.17246,0.78991 0.372238,1.14356 0.694296,1.22907 0.483693,2.13045 -0.832813,3.56445 -0.667731,0.72733 -1.268193,1.31063 -1.334359,1.29624 -0.06617,-0.0144 -0.591866,-0.56416 -1.168225,-1.22171 z"
-                                               style="fill:#000000;stroke-width:1.19062495"/>
-                       </g>
-               </g>
-               <path
-                               id="rect815-8"
-                               d="m 16.000088,216.99972 c -8.8639991,0 -16.000056560368,7.13605 -16.000056560368,16.00005 v 48.00017 C 3.1439632e-5,289.86394 7.1360889,297 16.000088,297 h 95.999822 c 8.864,0 16.00006,-7.13606 16.00006,-16.00006 v -48.00017 c 0,-8.864 -7.13606,-16.00005 -16.00006,-16.00005 z m 0,4.00027 h 95.999822 c 6.648,0 12.0003,5.35178 12.0003,11.99978 v 48.00017 c 0,6.648 -5.3523,11.99979 -12.0003,11.99979 H 16.000088 c -6.648,0 -11.9997842,-5.35179 -11.9997842,-11.99979 v -48.00017 c 0,-6.648 5.3517842,-11.99978 11.9997842,-11.99978 z"
-                               style="fill:#000000;fill-opacity:0.33333333;fill-rule:nonzero;stroke:none;stroke-width:1.74999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"/>
-       </g>
+       <path
+                       d="m 61.16257,93.263012 c -3.44507,-3.930396 -3.52089,-4.721141 -1.03012,-10.743918 0.33698,-0.814847 -0.2512,-0.522102 -2.0086,0.999736 -1.46772,1.270948 -3.32126,2.282339 -4.52745,2.470407 -3.70647,0.577895 -4.88897,1.522419 -4.88897,3.904963 0,1.172539 -0.15243,2.131687 -0.33876,2.131497 -0.95899,-10e-4 -2.22321,-2.351522 -2.22321,-4.13342 0,-2.61498 1.40189,-3.895764 5.88111,-5.373183 2.68797,-0.886587 3.79105,-1.603638 4.7841,-3.109906 2.13383,-3.236559 1.65195,-3.699409 -1.85349,-1.780197 -3.58024,1.960136 -6.47342,2.197781 -9.89417,0.812712 -1.82807,-0.740201 -2.48994,-0.777661 -3.56982,-0.201824 -2.67527,1.426477 -2.89576,3.509479 -0.63288,5.979081 1.10308,1.203848 1.25303,1.573983 0.52276,1.290423 -0.56321,-0.218848 -1.12457,-0.397668 -1.24748,-0.397668 -0.59291,0 -1.9607,-3.603152 -1.9607,-5.165088 0,-2.88879 2.53204,-4.048241 8.84651,-4.05088 7.20065,-0.0021 10.12228,-1.607271 12.03292,-6.607148 1.15288,-3.016934 0.93563,-4.275939 -0.81068,-4.698115 -2.37136,-0.573261 -2.98896,-1.314436 -2.98896,-3.587072 0,-2.041511 0.014,-2.053993 0.88627,-0.793677 1.17579,1.698745 2.85212,1.621264 4.02226,-0.185926 1.20148,-1.855613 0.45666,-4.799559 -1.95269,-7.718093 l -1.63691,-1.982853 -2.0394,2.063806 c -1.12166,1.135047 -2.59628,3.168409 -3.27693,4.518546 -0.93876,1.862116 -1.36132,2.259889 -1.75015,1.647481 -0.40207,-0.633205 -0.93799,-0.310288 -2.48509,1.497239 -2.78986,3.259513 -2.6276,3.743399 1.25839,3.752744 4.27516,0.0112 5.83559,0.469438 5.83559,1.717158 0,0.558007 0.3843,1.337277 0.854,1.731767 0.88033,0.739354 1.11302,2.679469 0.51157,4.265543 -0.2886,0.761111 -0.50639,0.700606 -1.38623,-0.38497 -0.90978,-1.122573 -1.19778,-1.192977 -2.24271,-0.548283 -1.55406,0.95879 -2.38299,0.407014 -1.95867,-1.303787 0.36005,-1.45177 -0.97514,-2.609136 -2.99943,-2.599972 -1.54747,0.007 -10.82875,7.185267 -11.29666,8.736941 -0.58944,1.954606 -1.95799,3.328664 -2.93679,2.94856 -0.50138,-0.194655 -1.4406,0.311226 -2.28142,1.228868 -0.78608,0.857871 -1.53258,1.455172 -1.65888,1.327379 -0.12629,-0.127913 0.24806,-1.758824 0.83193,-3.624483 0.85718,-2.738917 1.43321,-3.598672 2.99156,-4.465035 2.07743,-1.154992 6.33191,-5.063098 5.9417,-5.457987 -0.13049,-0.132169 -1.52077,0.19107 -3.08942,0.718479 -1.96373,0.660038 -2.7584,1.205752 -2.55129,1.751929 0.4023,1.060891 -3.92453,2.28628 -5.34895,1.514844 -1.10459,-0.598239 -3.96056,-0.232556 -4.4506,0.569836 -0.49709,0.813944 -1.95063,0.584147 -1.95063,-0.308363 0,-0.448666 1.12468,-2.037834 2.49929,-3.531543 2.23398,-2.427439 2.70238,-2.683985 4.41228,-2.416574 2.05275,0.321055 7.89091,-0.62617 7.89091,-1.280273 0,-0.217273 -1.9317,-0.819481 -4.29269,-1.337956 -3.33459,-0.732276 -4.60873,-0.796947 -5.70872,-0.289813 -1.06551,0.4913 -1.58128,0.485657 -2.08375,-0.02282 -0.96559,-0.977131 -2.03422,-0.836191 -3.91042,0.515759 -1.65061,1.189399 -1.65353,1.189441 -1.65353,0.02667 0,-0.640528 0.66403,-1.630408 1.47561,-2.199706 0.81161,-0.56934 1.89333,-1.488838 2.40384,-2.043393 1.23764,-1.34432 3.03575,-1.272887 4.87833,0.193759 1.48668,1.183435 8.3452,2.769222 12.15664,2.810797 1.57227,0.01792 2.21384,-0.459335 4.38145,-3.254144 2.41915,-3.119112 2.85152,-4.65712 1.12021,-3.984803 -1.29794,0.504027 -0.90611,-0.55263 0.48458,-1.306748 1.47899,-0.802008 5.24715,-6.036064 4.52171,-6.280765 -0.2672,-0.09028 -2.51475,0.859712 -4.99457,2.110758 -4.95357,2.499081 -10.91265,4.274615 -13.25347,3.949031 l -1.50314,-0.208992 1.42332,-0.629307 c 1.99178,-0.880609 4.28533,-3.512167 5.35563,-6.144838 1.18722,-2.920242 1.16905,-2.972592 -0.61998,-1.786356 -6.84193,4.536628 -14.27771,6.36951 -19.68048,4.851131 -2.0212,-0.568045 -2.95733,-1.689681 -1.42332,-1.705425 2.40798,-0.02443 14.08342,-7.956754 14.08872,-9.571593 0.001,-0.440483 -1.8715,-0.641026 -5.83348,-0.62456 -6.24995,0.02576 -9.12739,-0.764604 -11.70584,-3.21588 l -1.33117,-1.265529 4.76155,-0.638562 c 3.8182,-0.512062 5.3473,-1.026372 7.71809,-2.59589 1.6261,-1.076524 2.96115,-2.151753 2.96678,-2.389432 0.006,-0.237645 -1.05609,-0.432104 -2.35937,-0.432104 -3.5714,0 -8.2245,-1.713174 -10.87429,-4.003704 l -2.36658,-2.045682 4.82309,-0.295231 c 3.81729,-0.233654 5.20753,-0.572232 6.66658,-1.623598 2.28813,-1.648752 2.31311,-2.163102 0.12657,-2.605637 C 18.45509,15.70041 13.80384,13.069595 11.70742,10.721358 10.55937,9.435373 9.7549903,8.2466929 9.9199103,8.079789 10.08486,7.9129111 11.03968,8.064109 12.04178,8.4191057 c 2.04105,0.720027 8.49021,0.880367 8.47269,0.2105584 -0.006,-0.237641 -1.3099,-1.2098458 -2.89709,-2.1604569 C 14.41267,4.5497583 10.31885,0.40452243 8.91519,-2.3423006 L 8,-4.1332652 l 2.41992,1.1115795 c 1.33097,0.6113854 3.66825,1.1172878 5.19395,1.1242308 2.40194,0.011201 2.67895,-0.1030328 2.06527,-0.8515572 -0.38982,-0.4753047 -1.01141,-0.8641931 -1.38135,-0.8641931 -1.58347,0 -8.49251,-9.7886698 -7.5688,-10.7234418 0.16338,-0.165312 1.54469,0.339246 3.06962,1.121187 1.52493,0.782004 3.66403,1.512405 4.75357,1.623127 l 1.98094,0.201374 -0.19612,-2.242533 -0.19613,-2.242531 1.82073,2.098479 c 1.0014,1.154206 2.06475,2.098501 2.36301,2.098501 1.1542,0 7.45966,3.5106162 8.52604,4.7469426 1.88232,2.1823198 2.74927,4.7275647 2.38469,7.00107804 C 32.98,1.6612805 33.15914,2.4667854 33.97065,3.374791 c 0.75689,0.8469684 1.06081,2.0229016 1.03188,3.9924889 -0.0372,2.5292761 0.10837,2.8545231 1.54677,3.4574631 2.19991,0.922142 2.93426,1.982269 3.3018,4.766611 0.3093,2.343154 0.36159,2.392948 2.33218,2.22094 1.3915,-0.121402 2.4934,0.204286 3.55791,1.051567 1.40492,1.118321 1.6221,1.146613 2.44089,0.318057 0.4943,-0.500235 1.43299,-1.198848 2.08595,-1.552476 l 1.18721,-0.642991 -1.16498,-0.937621 c -1.43195,-1.152526 -2.28241,-2.783291 -2.44193,-4.682498 -0.24096,-2.8686583 -0.0505,-3.0304082 1.75672,-1.491552 0.96342,0.820357 2.0065,1.491552 2.31797,1.491552 1.33787,0 2.19296,-1.775984 2.19296,-4.5546391 0,-2.4553102 -0.21859,-3.0534797 -1.40271,-3.8386228 C 51.45069,2.1359156 51.13831,2.1299347 49.5865,2.9134811 47.95236,3.7384508 47.8919,3.7281689 48.42725,2.7161376 49.63987,0.4232512 48.63435,0.39991019 45.39399,2.6457986 42.30031,4.7899947 40.93653,5.1871007 39.09703,4.4793716 36.89592,3.6324962 36.12776,1.5668791 37.24072,-0.51242526 l 0.88852,-1.65999714 0.0228,1.56412574 c 0.0442,3.03085606 3.20034,3.43764196 8.09696,1.0435701 1.31316,-0.64204874 2.97995,-1.16735365 3.70396,-1.16735365 1.94708,0 1.60852,-0.93087649 -1.04636,-2.87705679 -3.10004,-2.2725013 -5.81874,-2.3539951 -6.93001,-0.2078704 l -0.78921,1.5243003 -1.22161,-1.2362354 c -2.6687,-2.7005907 -0.67211,-7.8017455 3.23305,-8.2602055 0.98194,-0.115129 1.58837,-0.582377 1.72658,-1.329934 0.46638,-2.522218 2.3289,-2.592978 8.05191,-0.305781 4.94835,1.977565 6.54967,2.138215 7.35565,0.737854 0.51692,-0.898104 0.58219,-0.865043 0.59761,0.302471 0.014,1.004662 -0.3862,1.392381 -1.71084,1.660467 -1.64698,0.333336 -1.68295,0.400355 -0.76575,1.4259608 1.094,1.2233335 3.07513,1.4098119 4.08801,0.3847874 0.53137,-0.5377126 0.6832,-0.4141979 0.6832,0.5558787 0,0.6859781 -0.49744,1.5166375 -1.10544,1.8458945 -1.08469,0.5874633 -1.08094,0.6548414 0.20026,3.5926511 1.30948,3.00260876 2.61315,4.2497286 2.61315,2.49981737 0,-0.51434915 0.53123,-1.98894327 1.18053,-3.27685467 l 1.18052,-2.3417175 -1.21027,-0.8578087 c -1.72529,-1.2229051 -1.15122,-2.1081556 1.39589,-2.1525288 2.53466,-0.044116 3.30962,-1.1675782 1.17875,-1.7088072 -0.99522,-0.252762 -1.44809,-0.759137 -1.44809,-1.619184 0,-1.216364 0.0224,-1.220397 0.80047,-0.143807 0.89277,1.235519 1.67356,1.096771 8.67286,-1.541433 2.93155,-1.104969 3.73514,-1.20698 4.9816,-0.632217 0.88858,0.409691 1.48621,1.153552 1.48621,1.849835 0,0.798292 0.37534,1.164644 1.19314,1.164644 4.33816,0 6.72995,5.9270655 3.42096,8.4774641 -1.29398,0.9973151 -1.50089,0.9268233 -2.26564,-0.7717029 -0.60008,-1.3327789 -0.92153,-1.4729113 -2.70629,-1.1798103 -2.04788,0.3362937 -5.90475,2.8665744 -5.90475,3.8737686 0,0.30076499 0.44834,0.54804098 0.99632,0.54949707 0.54797,0.00168 2.53349,0.64348382 4.41227,1.42667739 1.87878,0.78317024 3.9527,1.43012914 4.6087,1.43763304 1.42894,0.01792 3.06319,-1.6635814 3.1133,-3.2004025 0.0297,-0.9093727 0.13511,-0.8560824 0.59088,0.29854994 C 91.91041,2.5257401 89.45629,5.481889 86.10797,4.6563363 85.26481,4.448466 83.50401,3.5398534 82.19506,2.6371797 78.89332,0.36026349 77.43978,0.47544074 79.55974,2.8459461 80.49286,3.88936 80.47096,3.8952729 78.8481,3.0388066 76.67706,1.893139 76.12995,1.9210487 74.95272,3.2375162 74.23407,4.0410941 74.02428,5.1210205 74.15283,7.3551305 74.3774,11.25831 75.44394,12.075886 77.95274,10.268139 l 1.78294,-1.284774 v 2.145373 c 0,1.400719 -0.49403,2.800786 -1.42332,4.033727 -1.59758,2.119601 -1.72179,2.541393 -0.74835,2.541393 0.37123,0 1.24938,0.546089 1.95146,1.213543 l 1.27648,1.213521 1.32218,-1.261749 c 1.02982,-0.982774 1.79423,-1.199518 3.45714,-0.98031 2.03391,0.268149 2.13499,0.203615 2.13499,-1.36499 0,-2.613318 1.19383,-4.586426 3.49335,-5.773584 1.97947,-1.0219063 2.10749,-1.2422565 1.80776,-3.1113571 -0.21663,-1.351237 -0.0202,-2.4814048 0.6041,-3.4427948 0.58731,-0.9070416 0.92671,-2.6566166 0.92671,-4.7770241 0,-4.6466351 1.97188,-7.0221103 8.25662,-9.946499 2.68383,-1.248824 5.1762,-2.856383 5.9154,-3.815328 L 109.9876,-16 l -0.36739,1.717654 c -0.20206,0.944742 -0.41164,1.981774 -0.46579,2.304536 -0.18145,1.081721 3.84403,0.269718 7.14083,-1.440409 l 3.25394,-1.687889 -0.58495,1.569547 c -1.17875,3.162636 -4.83475,8.176768 -6.90103,9.4646542 -1.1674,0.7276435 -2.12948,1.5174453 -2.1379,1.7550873 -0.0309,0.872749 4.8975,0.3730266 7.32837,-0.7430529 1.37743,-0.6323994 2.60435,-1.0487028 2.72651,-0.9250985 0.33684,0.3408833 -3.71063,5.6255851 -5.7289,7.4801468 -0.97862,0.8992247 -3.05927,2.4514573 -4.62364,3.4493337 -2.2025,1.4049934 -2.59838,1.8623127 -1.75441,2.0268206 1.55398,0.3028232 7.81742,-0.2311711 9.06853,-0.7731833 1.00099,-0.4336406 1.00869,-0.3681664 0.15367,1.3049796 -1.52466,2.9836385 -6.23354,5.9151265 -10.93528,6.8077435 -2.52829,0.479985 -2.26595,1.338357 0.90992,2.977365 1.94159,1.001998 3.478,1.29629 6.76764,1.29629 h 4.25585 l -1.59677,1.686607 c -2.17318,2.295417 -6.44374,4.050776 -10.87341,4.469355 -2.02621,0.191301 -3.68401,0.515135 -3.68401,0.719248 0,0.204063 1.40761,1.234377 3.12807,2.28955 2.44771,1.501228 4.20226,2.062546 8.06718,2.580832 l 4.93915,0.66237 -1.83047,1.558688 c -2.57195,2.190024 -5.75364,2.948714 -12.16895,2.901712 -3.05299,-0.02261 -5.55094,0.156355 -5.55094,0.397024 0,1.621063 7.95895,7.343039 12.52474,9.004514 1.56589,0.569831 2.84708,1.213314 2.84708,1.429971 0,0.590601 -4.74384,1.682981 -7.30872,1.682981 -3.23811,0 -8.99073,-1.948081 -12.61771,-4.272914 -2.92161,-1.872708 -3.14374,-1.929762 -3.31733,-0.851922 -0.28832,1.790418 4.2394,7.362219 6.02163,7.410192 0.39142,0.0112 0.71164,0.311836 0.71164,0.669518 0,1.722267 -10.27469,-1.237891 -16.36812,-4.715603 -1.68779,-0.963312 -2.98894,-1.41396 -2.98894,-1.035214 0,0.908318 2.649,4.514333 4.48545,6.10586 1.20205,1.041738 1.2986,1.293979 0.49615,1.296289 -0.54797,0.0014 -0.99633,0.283337 -0.99633,0.6261 0,0.608586 3.70842,5.555427 4.83928,6.455392 1.39184,1.107614 12.21032,-0.809491 14.45227,-2.561041 1.62741,-1.271417 2.78916,-1.342837 4.00308,-0.246059 5.06973,4.580345 6.18236,6.427256 2.57423,4.272962 -1.78297,-1.064567 -2.20019,-1.117806 -3.4511,-0.440321 -1.13903,0.616873 -1.64744,0.628725 -2.54826,0.05936 -0.91063,-0.575508 -1.936022,-0.520338 -5.3735,0.288937 -2.33645,0.550096 -4.24812,1.185178 -4.24812,1.411286 0,0.676147 5.26257,1.566032 7.3216,1.238053 1.71251,-0.272766 2.17489,-0.02016 4.4123,2.411065 2.59503,2.819806 3.33285,4.813321 1.50296,4.060814 -2.63055,-1.081768 -4.34387,-1.365399 -5.25772,-0.870466 -1.38402,0.749546 -4.94021,-0.341315 -5.26974,-1.616477 -0.26097,-1.009949 -4.77012,-2.823056 -5.41013,-2.175401 -0.43363,0.438818 4.89141,5.524898 5.78445,5.524898 1.42646,0 2.54422,2.067748 4.04881,7.489753 0.385378,1.388786 0.330138,1.373302 -1.54321,-0.432097 -1.06859,-1.029859 -2.50226,-1.872455 -3.18593,-1.872455 -0.85191,0 -1.35571,-0.454317 -1.60113,-1.443909 -0.4101,-1.653411 -4.97834,-6.009141 -8.25967,-7.875393 -1.22163,-0.694811 -2.22113,-1.474816 -2.22113,-1.733336 0,-0.25852 -0.7289,-0.47004 -1.61974,-0.47004 -1.59409,0 -3.8464,1.766175 -3.15045,2.470471 0.19593,0.198015 0.19347,0.789785 -0.006,1.314435 -0.28582,0.753753 -0.5319,0.811018 -1.17259,0.27294 -0.89681,-0.753179 -3.16096,0.09319 -3.16096,1.181651 0,1.149188 -1.00696,-0.05979 -1.28772,-1.546143 -0.38027,-2.01304 1.28799,-5.856909 2.71104,-6.246534 0.62626,-0.171581 2.73988,-0.315301 4.69694,-0.319641 1.95706,-0.0042 3.5583,-0.224624 3.5583,-0.489444 0,-0.264862 -0.93176,-1.69183 -2.07057,-3.171014 -1.79603,-2.332896 -2.15879,-2.567384 -2.73594,-1.768596 -0.57178,0.791276 -0.80973,0.596887 -1.69146,-1.381814 -0.56434,-1.266468 -2.02574,-3.29047 -3.24754,-4.497805 -2.20191,-2.175806 -2.23101,-2.185165 -3.30593,-1.064475 -1.48927,1.552884 -3.45884,5.26595 -3.45884,6.521021 0,1.302478 2.30587,3.53972 3.64829,3.53972 0.5571,0 1.14617,-0.515604 1.30902,-1.145807 0.38198,-1.478085 1.30528,-0.910487 1.30528,0.802442 0,1.569048 -1.40277,2.927453 -3.55828,3.445677 -1.74644,0.419915 -1.96374,1.678682 -0.81068,4.69605 1.93246,5.057021 4.08626,6.222277 12.22296,6.613063 6.28322,0.301776 6.55317,0.368728 7.90718,1.961655 1.03476,1.217374 1.30968,2.042889 1.0499,3.152511 -0.42909,1.832637 -2.07419,4.214076 -3.16537,4.582132 -0.44157,0.148956 -0.10571,-0.567548 0.7463,-1.592234 1.72169,-2.070597 1.81823,-2.493887 0.9452,-4.144638 -0.9686,-1.83146 -3.01869,-2.317454 -5.71501,-1.35475 -3.56171,1.271648 -6.11547,1.032575 -9.57336,-0.896199 -1.69536,-0.945644 -3.18738,-1.613187 -3.3156,-1.48344 -0.45242,0.45783 1.55458,3.712835 2.99746,4.861401 0.80379,0.639814 2.26268,1.341379 3.24199,1.559065 4.92281,1.094151 7.01366,4.031441 5.36307,7.53415 -1.08008,2.292015 -2.03315,2.568051 -1.63762,0.474254 0.37439,-1.981887 -1.77201,-4.291543 -3.98817,-4.291543 -2.05897,0 -3.62032,-0.799235 -5.9836,-3.062849 -1.60491,-1.537246 -1.84762,-1.623576 -1.83012,-0.651029 0.0112,0.616691 0.3863,1.769395 0.83381,2.561574 1.55522,2.753113 1.08347,4.772215 -1.86551,7.984379 -1.49572,1.629209 -2.84075,2.935803 -2.98897,2.903573 -0.14821,-0.0323 -1.32578,-1.263714 -2.61682,-2.736625 z"
+                       fill="url(#linearGradient1830)"
+                       style="fill-opacity:1;stroke:#fd7;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;paint-order:markers stroke fill"/>
 </svg>
index e59c1cf9236d4f9712601aa5248edc1b6247fd87..a96343eaddf39f7b7c4da5e0f9f9cb30ed60ef9e 100644 (file)
                }
        });
 
+       window.addEventListener("load", function () {
+               // Image previewing
+               const thumbView = document.getElementById("thumb-view");
+               const thumbViewImg = thumbView.getElementsByTagName("img")[0];
+               thumbView.addEventListener("click", e => {
+                       e.preventDefault();
+
+                       thumbView.classList.remove("visible");
+                       thumbViewImg.src = "";
+               });
+
+               const thumbs = document.querySelectorAll("a.thumb");
+               for (const thumb of thumbs) {
+                       thumb.onclick = e => {
+                               e.preventDefault();
+
+                               thumbViewImg.src = e.currentTarget.getAttribute("href");
+                               thumbView.classList.add("visible");
+                       };
+               }
+       });
+
        window.addEventListener("load", function () {
                // Mesh viewing
                async function loadObj(modelName) {
index a57e786d445cc519d9a1abd55f7f9716238473d8..81704708b4fb49db07bf49804c91aae18ef18161 100644 (file)
@@ -878,6 +878,42 @@ textarea.lang-tylan {
        font-family: 'Noto Sans Gothic', sans-serif;
 }
 
+#thumb-view {
+       display: none;
+}
+
+#thumb-view.visible {
+       z-index: 998;
+
+       display: unset;
+
+       position: fixed;
+       width: 100vw;
+       height: 100vh;
+       left: 0;
+       top: 0;
+}
+
+#thumb-view > .bg {
+       position: fixed;
+       width: 100vw;
+       height: 100vh;
+       left: 0;
+       top: 0;
+
+       background-color: rgba(0, 0, 0, 40%);
+}
+
+#thumb-view > img {
+       position: fixed;
+       top: 2vh;
+       left: 2vw;
+       width: 96vw;
+       height: 96vh;
+
+       object-fit: scale-down;
+}
+
 .flag-icon {
        object-fit: cover;
        aspect-ratio: 1;