MiiFox.net/index.handlebars

378 lines
14 KiB
Handlebars
Executable file

<html>
<head>
<title>MiiFox</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta http-equiv="Cache-control" content="no-cache, max-age=64800">
<link rel="shortcut icon" type="image/png" href="favicon.png">
<style>
body{
font-size: 0;
padding: 0;
margin: 0;
background-color: #1A1A1A;
color: #bbb;
line-height: 1.5;
}
h1{
}
body>section{
padding: 15px;
}
body>section>article{
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: #444;
font-size: initial;
margin: 1em;
padding: 1em 2em;
}
code{
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) inset, 0 6px 20px 0 rgba(0, 0, 0, 0.19) inset;
background-color: #333;
display: block;
padding: 2em 3em;
margin: 0 -1em;
overflow: auto;
}
h1{
color: white;
text-align: center;
font-size: 2rem;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: #333;
top:0;
margin: 0;
padding: 0.125em 0;
}
a{
color: lightgray;
}
main{
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
display: flex;
flex-direction: column;
background-color: #222;
}
#mainImage>*{
display: inline-block;
overflow: hidden;
height: 0px;
margin: 0;
}
#mainImage>div>a:first-child>img{
object-fit: contain;
display: inline-block;
max-height: 80vh;
max-width: 100%;
align-self: center;
}
#mainImage>div>img:first-child{
object-fit: contain;
display: inline-block;
max-height: 80vh;
max-width: 100%;
align-self: center;
}
#mainImage>div{
background-color: #111;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
justify-content: center;
align-content: space-between;
}
#mainImage>div>div:last-child{
background-color: #282828;
flex-basis: 17em;
flex-grow: 1;
max-width: 100%;
overflow-y: auto;
}
#mainImage>div>div>p{
margin: 1em;
}
#mainImage>div>div>h2{
color: white;
text-align: center;
}
#gallery,#picgallery{
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
justify-content: center;
align-content: space-between;
}
#gallery>a,#picgallery>a{
display: block;
max-width: 256px;
flex-basis: 208px;
flex-grow: 1;
height: 192px;
background-origin: border-box;
margin: 0;
}
#chars{
width: 100%;
display: block;
overflow-x: scroll;
overflow-y: none;
white-space: nowrap;
}
#chars>a{
display: inline-block;
width: 256px;
height: 192px;
background-image: url("sona.webp");
background-origin: border-box;
margin: 0;
}
#artists{
width: 100%;
box-sizing: border-box;
display: block;
overflow-x: scroll;
overflow-y: none;
white-space: nowrap;
padding: 1rem;
}
#artists>a{
font-size: 1rem;
margin: 0.25em;
padding: 0.25em 0.5em;
border-radius: 1em;
background-color: #333;
text-decoration: none;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}
#artists>a:visited{
background-color: #444;
}
dl{
line-height: 2.5em;
display:flex;
justify-content: left;
flex-wrap: wrap;
flex-direction: row;
}
dl dt{
display: inline;
padding: 0.25rem;
}
dl dd:not(:empty)::after{
content: ":";
opacity: 0.5;
}
dl dd{
display: inline;
}
dl a{
font-size: 1rem;
padding: 0.25em 0.5em;
border-radius: 1em;
background-color: #333;
text-decoration: none;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}
dl a:visited{
background-color: #444;
}
h2{
position: relative;
text-align: center;
color: white;
background-color: #333;
margin: 0;
padding: 1em;
}
.artistName::before{
content: "Art by ";
opacity: 0.5;
}
h2>a{
text-decoration: none;
background-color: #444;
color: #333;
border-radius: 999px;
width: 1.5em;
height: 1.5em;
}
h2>span{
position: relative;
z-index: 2;
}
h2>:first-child:not(span){
position:absolute;
left: 1em;
}
h2>:last-child:not(span){
position:absolute;
right: 1em;
}
#pictures>h2{
font-size: 2rem;
}
#phototag{
padding-top: 1em;
font-size: 2rem;
background-color: #1A1A1A;
}
#pictures>h2>span{
font-size: 1rem;
opacity: 0.7;
}
#pictures>h2>span::before{
content: " - ";
font-size: 1rem;
opacity: 0.7;
}
.chartag ~ .chartag{
display: None;
}
.month1::after{content: " Jan "}
.month2::after{content: " Feb "}
.month3::after{content: " Mar "}
.month4::after{content: " Apr "}
.month5::after{content: " May "}
.month6::after{content: " Jun "}
.month7::after{content: " Jul "}
.month8::after{content: " Aug "}
.month9::after{content: " Sep "}
.month10::after{content: " Oct "}
.month11::after{content: " Nov "}
.month12::after{content: " Dec "}
{{#chars}}
#char{{name}}:target ~ main>#gallery>a:not(.char{{name}}){ display: none; }
#char{{name}}:target ~ main>#pictures>#picgallery>a:not(.char{{name}}){ display: none; }
#char{{name}}:target ~ main>#pictures>h2:not(.char{{name}}){ display: none; }
#char{{name}}:target ~ main>h2.char{{name}}{ font-size: 2rem; }
#char{{name}}:target ~ main>#pictures{ display: none; }
{{/chars}}
{{#artists}}
#artist{{name}}:target ~ main>#gallery>a:not(.artist{{name}}){ display: none; }
#artist{{name}}:target ~ main>h2.artist{{name}}{ font-size: 2rem; }
#artist{{name}}:target ~ main>#pictures{ display: None; }
{{/artists}}
#mainImage>span{
position: relative;
top: -48px;
}
{{#art}}
#img{{index}}:target ~ #mainImage>.mainimg{{index}}{ height:initial; font-size: 1rem; }
{{/art}}
{{#pict}}{{#content}}
#pict{{index}}:target ~ #mainImage>.mainpict{{index}}{ height:initial; font-size: 1rem; }
{{#characters}}
#char{{.}}:target ~ main> #pictures{ display: initial; font-size: 2em; }
{{/characters}}
{{/content}}{{/pict}}
</style>
</head>
<body>
<section>
<article>
<p>Hello, and welcome to my ugly website.</p>
<p>The art posted below is strictly of my sona's, except for some cameo's of friends and <a href="#img48">one</a> exception.</p>
<p>This website will be updaten... one day. Not today tho. Enough CSS for today!</p>
</article>
</section>
<h1>Gallery</h1>
{{#chars}}
<span id="char{{name}}" class="charTarget"></span>
{{/chars}}
{{#artists}}
<span id="artist{{name}}" class="artistTarget"></span>
{{/artists}}
<main>
<div id="chars">
{{#chars}}
<a href="#char{{name}}" alt="{{name}}" style="background-position: -{{x}}px -{{y}}px;"></a>
{{/chars}}
</div>
<div id="artists">
<span style="font-size: 1rem;">Artist:</span>
{{#artists}}
<a href="#artist{{name}}">{{name}}</a>
{{/artists}}
</div>
{{#art}}<span id="img{{index}}"></span>{{/art}}
{{#pict}}{{#content}}<span id="pict{{index}}"></span>{{/content}}{{/pict}}
<div id="mainImage">
{{#art}}
<div class="mainimg{{index}}">
{{#next}}<a href="#img{{.}}">{{/next}}<img src="img/{{index}}.png" title="{{title}}" alt="{{title}}" height="{{height}}" loading="lazy"></img>{{#next}}</a>{{/next}}
<div>
<h2>{{#previous}}<a href="#img{{.}}">&larr;</a>{{/previous}}<span>{{title}}</span>{{#next}}<a href="#img{{.}}">&rarr;</a>{{/next}}</h2>
{{#description}}<p>{{&.}}</p>{{/description}}
<dl>
<span><dd>Characters</dd>{{#characters}}<dt><a href="#char{{.}}">{{.}}</a></dt>{{/characters}}{{#extrachars}}<dt>{{.}}</dt>{{/extrachars}}</span>
<span><dd>Artist</dd><dt><a href="#artist{{artist}}">{{artist}}</a></dt></span>
<span><dd></dd><dt><span class="month{{month}}">{{day}}</span>{{year}}</dt></span>
</dl>
</div>
</div>
{{/art}}
{{#pict}}{{#content}}
<div class="mainpict{{index}}">
{{#next}}<a href="#pict{{.}}">{{/next}}<img src="pict/{{index}}.jpg" title="{{title}}" alt="{{title}}" height="{{height}}" loading="lazy"></img>{{#next}}</a>{{/next}}
<div>
<h2>{{#previous}}<a href="#pict{{.}}">&larr;</a>{{/previous}}<span>{{title}}</span>{{#next}}<a href="#pict{{.}}">&rarr;</a>{{/next}}</h2>
{{#description}}<p>{{&.}}</p>{{/description}}
<dl>
<span>{{#characters}}<dd class="chartag">Characters</dd><dt><a href="#char{{.}}">{{.}}</a></dt>{{/characters}}{{#extrachars}}<dt>{{.}}</dt>{{/extrachars}}</span>
<span><dd></dd><dt><span class="month{{month}}">{{day}}</span>{{year}}</dt></span>
</dl>
</div>
</div>
{{/content}}{{/pict}}
</div>
{{#artists}}
<h2 class="artistName artist{{name}}">{{name}}</h2>
{{/artists}}
{{#chars}}
<h2 class="charName char{{name}}">{{name}}</h2>
{{/chars}}
<div id="gallery">
{{#art}}
<a href="#img{{index}}" title="{{title}}" alt="{{title}}" style="background-position: -{{x}}px -{{y}}px; background-image: url('{{sheet}}'); {{#colour}}background-color: {{.}};{{/colour}}" class="{{#characters}}char{{.}} {{/characters}}artist{{artist}}"></a>
{{/art}}
</div>
<div id="pictures">
<h1 id="phototag">Pictures</h1>
{{#pict}}
<h2 class="{{#content}}{{#characters}}char{{.}} {{/characters}}{{/content}}">{{chapter}}<span><span class="month{{month}}">{{day}}</span>{{year}}</span></h2>
<div id="picgallery">
{{#content}}
<a href="#pict{{index}}" title="{{title}}" alt="{{title}}" style="background-position: -{{x}}px -{{y}}px; background-image: url('{{sheet}}'); {{#colour}}background-color: {{.}};{{/colour}}" class="{{#characters}}char{{.}} {{/characters}}"></a>
{{/content}}
</div>
{{/pict}}
</div>
</main>
<section>
<article>
<p>Anyways, public signatures</p>
<code>-----BEGIN PGP PUBLIC KEY BLOCK-----
<hr/>
xsDNBGGbbZwBDAC3D2Ry4OOJFhm1Qmc0/tM8PNCTqu0jHvsoNgJDnux5dSFzctmO<br/>MH4R/+9uRyjrEKgSSWpCXj1E0oMDQYY5lnUnxkLiCAMwMA/Xe8J5cRktXZ7+KZAY<br/>iNsBeJD7eODsk8kzSwLHi+nbpEQS30DcPgo/BpPksKgtcgJWAcjhdnSIPaRRS6EA<br/>aisEU222mGdd+Y5wPvH1JrbErcbqt8k94uXiE2u0v8dUTMSM9IFJ64vMdQSexOcZ<br/>lKYbayAJzbtb3fqMIsBL0Uzup0fmWgLTvQ3j0quACF+X2VRBDyMvlYvokECt4v9Q<br/>dqU1xKWLX91nVa5R3Bp7muWHynY1X0Zj5k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ZKLaY7kOtOQJjt+SZNrmATwDTKvKXlQMle509nvC4gHW2Gj<br/>rHBRIiezHq6ukN0EzH4s9BGTf0jDWhINtt2OvAR3X7xRwQEZOJyYCujno1COKId1<br/>pM1kN9wixrmHjW87vOHJAOUq9iZXREarI4LvLqHx/MorUPTZIUrKN7aKvMGdMAsf<br/>v7ZskfwKaxgh2o893VEfYckdHIL3NBJYRr7+uBlpMH3A6I9nw72uKwMCKHnIti5x<br/>xwRNWX0Je+e5hr1yBC6XOCIZkfTQhjXs3kLzighmHbIA301ygMuppkZFTgekNEGt<br/>EUxegWHyr5E2MClcJoHnMnFTa9cXCSjKzrqHTgKaWY8wMFk23BgdABEBAAHCwPwE<br/>GAEIACYWIQQ7T8OAUML9LmE+DyM05iTXKm0cBgUCYZttngUJBaOagAIbDAAKCRA0<br/>5iTXKm0cBkrJC/sFV8kAL4cDo9nF2W4635eyvKTDaE73pOIIE0yqFPzasT8AHcPO<br/>+vdwnhkqgI1HgHQ423lAxHb3afPvLJGxNDOBKaccF/wSVIvjiv+Z+gwgnYY/i72m<br/>x6nSGH5JNXIBIc6ffNLRIH9+v8rsJM7fNyQN1CPlyx5zD2xRXXNPYi+MiclBiDDR<br/>gocA9CRIxMUpF+hEG6LeveUZbhDq1jKMzsE2e7gNiGTGoNXrsVxA7W0ksnY0g4m/<br/>sscv9LY01jPNBS3wS0CZ9YK5aZnBcxze/5YBHqEshh4ttViTxlmMWN+GqdX8esmD<br/>oyAM249eOGR3G+X++MMGzfTuhq+xoRLiAc9aHdbyp7650gzAKdHvyXJgu8FcuFwm<br/>4TvM/yFYJ72QKZWOtYu8psaWi57waJeBxnuEC+nLEmdH+bkrxthYsgvi66lG5BLU<br/>GUU0HdmM4G1uRU7p2YKbHX16k98zPmuxzN28f4bGRdkMiLpMxFx1GzOZhyk7FhN0<br/>Q2Nk/87YeiJE6RI=<br/>=YXR8
<hr/>
-----END PGP PUBLIC KEY BLOCK-----
</code>
<p>
Ewwww, that was ugly. But I gotto dump it somewhere. Mail adress is this domain name, repeated twice.
</p>
</article>
</section>
</body>
</html>