774 lines
18 KiB
HTML
774 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<style>
|
|
body {
|
|
font-family: "Ubuntu", sans-serif;
|
|
}
|
|
a.G, a.R, a.X {
|
|
display: inline-block;
|
|
border: 2px solid transparent;
|
|
overflow: hidden;
|
|
}
|
|
img {
|
|
max-height: 200px;
|
|
max-width: 100%;
|
|
}
|
|
a.X {
|
|
border: 2px solid red;
|
|
}
|
|
a.X img {
|
|
filter: blur(1rem);
|
|
}
|
|
a.R {
|
|
border: 2px solid orange;
|
|
}
|
|
a.R img {
|
|
filter: blur(0.5rem);
|
|
}
|
|
a.X img:hover, a.R img:hover {
|
|
filter: blur(0);
|
|
}
|
|
main {
|
|
max-width: 1024px;
|
|
border: 1px solid #ccc;
|
|
margin: 0 auto;
|
|
padding: 0.5rem;
|
|
overflow: none;
|
|
text-align: center;
|
|
}
|
|
footer {
|
|
max-width: 1024px;
|
|
margin: 0 auto;
|
|
padding: 1rem 0;
|
|
font-size: 10pt;
|
|
text-align: right;
|
|
}
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.modal .inner {
|
|
width: calc(100% - 2rem);
|
|
max-height: calc(100vh - 2rem);
|
|
max-width: 1024px;
|
|
position: relative;
|
|
overflow: scroll;
|
|
margin: 1rem auto;
|
|
padding: 0;
|
|
background-color: #fff;
|
|
}
|
|
.modal .meta {
|
|
padding: 1rem;
|
|
margin: 0 auto;
|
|
}
|
|
.show {
|
|
display: block !important;
|
|
}
|
|
.modal .img {
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
.modal .img img {
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
}
|
|
dt {
|
|
font-weight: bold;
|
|
}
|
|
table {
|
|
margin: 0 auto;
|
|
min-width: 50%;
|
|
}
|
|
td {
|
|
padding: 5px;
|
|
}
|
|
tbody tr:nth-child(even) td {
|
|
background-color: #eee;
|
|
}
|
|
thead th {
|
|
border-bottom: 2px solid #888;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>Artist</h1>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Artist</th>
|
|
<th>Images</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><a href="K_98">K_98</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="aethyr">aethyr</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ailuranthropy">ailuranthropy</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="aixarata">aixarata</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="allytha">allytha</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="amon">amon</a></td>
|
|
<td>7 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="amon-omega">amon-omega</a></td>
|
|
<td>9 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="anuvia">anuvia</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="art-decade">art-decade</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="aspenbear">aspenbear</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="babydoll">babydoll</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="bambolbi">bambolbi</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="barroo">barroo</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="bastion">bastion</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="bencoon">bencoon</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="blindcerberus">blindcerberus</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="blueotter">blueotter</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="bombed">bombed</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="boneitis">boneitis</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="bramblefell">bramblefell</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="cadmiumtea">cadmiumtea</a></td>
|
|
<td>13 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="casparr">casparr</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="cinna">cinna</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="clipey">clipey</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="creamsiclepanda">creamsiclepanda</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="creeps">creeps</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="cubi">cubi</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="cutievomit">cutievomit</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="dead_hombre">dead_hombre</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="dibs">dibs</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="dinoyeen">dinoyeen</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="donryu">donryu</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="dontknow">dontknow</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ekbellatrix">ekbellatrix</a></td>
|
|
<td>23 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="em">em</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="embriel">embriel</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="emily-lorange">emily-lorange</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="erin-middendorf">erin-middendorf</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="etuix">etuix</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="evendimly">evendimly</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="fenn">fenn</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="flashwhite">flashwhite</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="flynxy">flynxy</a></td>
|
|
<td>6 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="forrest">forrest</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="foxvomit">foxvomit</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="frostyfawn">frostyfawn</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="gavinwolf">gavinwolf</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="glacier">glacier</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="goccart">goccart</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="greg">greg</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="grey">grey</a></td>
|
|
<td>41 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="grio">grio</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="gwyn">gwyn</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="harlem">harlem</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="heather-bruton">heather-bruton</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="idess">idess</a></td>
|
|
<td>19 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="inuhein">inuhein</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="irisjay">irisjay</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ishaway">ishaway</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="jailbird">jailbird</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="jd">jd</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="jill0r">jill0r</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="joemeyer">joemeyer</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="jonas">jonas</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kacey-miyagami">kacey-miyagami</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kalika">kalika</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kamui">kamui</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kappy">kappy</a></td>
|
|
<td>9 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kathy-lu">kathy-lu</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="keovi">keovi</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kimbasnowpaw">kimbasnowpaw</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kitsumi">kitsumi</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="knux">knux</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kris">kris</a></td>
|
|
<td>62 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kris-dovne">kris-dovne</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="kuna">kuna</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lady-rain">lady-rain</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="leah">leah</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lexy">lexy</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lith">lith</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lorxus">lorxus</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lu">lu</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lumi">lumi</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="lutea">lutea</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="madshyarts">madshyarts</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="makyo">makyo</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="malameux">malameux</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="mando">mando</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="matricies">matricies</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="mithmeoi">mithmeoi</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="mondeis">mondeis</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="moody-ferret">moody-ferret</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="muzz">muzz</a></td>
|
|
<td>11 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="n">n</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="nic">nic</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="nightphysics">nightphysics</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="nomax">nomax</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="nova">nova</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="nutcase">nutcase</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="o-kemono">o-kemono</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="oce">oce</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="oitnily">oitnily</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="oli">oli</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="onnanoko">onnanoko</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="orcaowl">orcaowl</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="os">os</a></td>
|
|
<td>30 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="patto">patto</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="pmoss">pmoss</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="pouchmonster">pouchmonster</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="pupbii">pupbii</a></td>
|
|
<td>23 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="red-dog">red-dog</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="redacteur">redacteur</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="redrusker">redrusker</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="rhari">rhari</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ritsuka">ritsuka</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="roryfrancis">roryfrancis</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ryunwoofie">ryunwoofie</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="sedona">sedona</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="shaggi">shaggi</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="shawnthegirl">shawnthegirl</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="sigil">sigil</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="sinereous">sinereous</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="slushy">slushy</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="smashingrenders">smashingrenders</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="sontra">sontra</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="stupidsnowfox">stupidsnowfox</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="tabbiewolf">tabbiewolf</a></td>
|
|
<td>4 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="talenshi">talenshi</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ten">ten</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="thayrustback">thayrustback</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="tinymochadeer">tinymochadeer</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="tizzlebizzle">tizzlebizzle</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="tkg">tkg</a></td>
|
|
<td>3 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="tod">tod</a></td>
|
|
<td>6 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="ultrafox">ultrafox</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="wooperworks">wooperworks</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="yamshkey">yamshkey</a></td>
|
|
<td>1 image</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="zambuka">zambuka</a></td>
|
|
<td>2 images</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="zhenya">zhenya</a></td>
|
|
<td>6 images</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</main>
|
|
<footer>
|
|
Site built using <a href="https://commorg.projects.makyo.io" target="_blank">commission organizer</a> on 2021-10-09.
|
|
</footer>
|
|
<div class="modal">
|
|
<div class="inner">
|
|
<div class="meta"></div>
|
|
<div class="img"></div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
const root = window.location.pathname.replace(/\/by-.+$/, '/');
|
|
const modal = document.querySelector('.modal');
|
|
const img = document.querySelector('.img');
|
|
const meta = document.querySelector('.meta');
|
|
const scroll = {
|
|
top: window.scrollY,
|
|
left: window.scrollX,
|
|
behavior: 'auto'
|
|
};
|
|
let mustLoadHash = window.location.hash !== '';
|
|
|
|
function loadHash() {
|
|
if (!mustLoadHash) {
|
|
mustLoadHash = true;
|
|
return;
|
|
}
|
|
hash = window.location.hash.replace('#', '');
|
|
if (hash !== '') {
|
|
scroll.top = window.scrollY;
|
|
scroll.left = window.scrollX;
|
|
document.querySelectorAll('.G, .R, .X').forEach(thumb => {
|
|
if (thumb.attributes.href.textContent === hash) {
|
|
thumb.click();
|
|
}
|
|
});
|
|
} else {
|
|
hideModal();
|
|
window.scrollTo(scroll);
|
|
}
|
|
}
|
|
function hideModal() {
|
|
modal.classList.remove('show');
|
|
// There's an edge case here, where if you load the page with
|
|
// no hash, click an image, then click back, it adds an empty
|
|
// hash to the URL (e.g: example.com/#). The problem with this
|
|
// is that it adds to the history, so if you click back from
|
|
// there, it goes to the location without the hash, then adds
|
|
// the hash again, meaning you can't back out of the page
|
|
// after clicking an image.
|
|
//
|
|
// The web is a mess and computers were a mistake.
|
|
if (window.location.hash !== '') {
|
|
window.location.hash = '';
|
|
}
|
|
}
|
|
|
|
document.body.addEventListener('keydown', evt => {
|
|
if (evt.key === 'Escape') {
|
|
hideModal();
|
|
}
|
|
});
|
|
modal.addEventListener('click', evt => {
|
|
hideModal();
|
|
});
|
|
window.onhashchange = loadHash;
|
|
|
|
document.querySelectorAll('.G, .R, .X').forEach(thumb => {
|
|
thumb.addEventListener('click', evt => {
|
|
const imgName = thumb.attributes.href.textContent;
|
|
const parts = imgName.split('.')[0].split('--');
|
|
const title = parts[1].replace(/-/g, ' ');
|
|
const characters = parts[2].split('-').map(c => `<a href="${root}by-character/${c}">${c}</a>`).join(', ');
|
|
evt.preventDefault();
|
|
modal.classList.add('show');
|
|
mustLoadHash = true;
|
|
window.location.hash = imgName;
|
|
img.innerHTML = `<a href="${imgName}" target="_blank"><img src="${imgName}" title="${title}" alt="${title}" /></a>`;
|
|
meta.innerHTML = `<h2>${title}</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Artist</th>
|
|
<th>Characters</th>
|
|
<th>Rating</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a href="${root}by-artist/${parts[0]}">${parts[0]}</a></td>
|
|
<td>${characters}</td>
|
|
<td><a href="${root}by-rating/${parts[3]}">${parts[3]}</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>`;
|
|
});
|
|
});
|
|
|
|
loadHash();
|
|
</script>
|
|
</body>
|
|
</html>
|