1
0
This commit is contained in:
syui 2024-04-27 12:19:58 +09:00
parent 377b84b858
commit e1c8b72032
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
35 changed files with 647 additions and 440 deletions

View File

@ -4,8 +4,6 @@ slug = "chara"
date = "2024-01-23"
+++
<div class="story">
## アイ
本名は`月見 唯(つきみ ゆい)`、通称、`アイ`。最も小さい物質を創り出すことができる
@ -18,12 +16,8 @@ date = "2024-01-23"
![](/chara/octo-ou.png)
</div>
<!--more-->
## ドライ
アイがガララ星に移り住んだとき一緒についてきたドラゴン

View File

@ -1,5 +1,5 @@
+++
date = "2023-05-20"
date = "2024-04-10"
title = "存在の花"
slug = "10"
type = "novel"

View File

@ -5,14 +5,10 @@ date = "2024-01-22"
aliases = ['manga']
+++
<div class="story">
地球で暮らしていたアイだったが、訳あって他の星で暮らし始めた。
ドラゴンのドライがついてきた。
</div>
<iframe src="https://manga.syui.ai" allowfullscreen frameborder="0" class="manga"></iframe>
<!--more-->

View File

@ -12,9 +12,9 @@
.container { margin: 50px auto 40px auto; width: 600px; text-align: center; }
a { color: #990000; text-decoration: none;}
a { color: #313131; text-decoration: none;}
a:hover { color: #4183c4;}
a:hover { color: #fff700;}
h1 { width: 800px; position:relative; left: -100px; letter-spacing: -1px; line-height: 60px; font-size: 60px; font-weight: 100; margin: 0px 0 50px 0; text-shadow: 0 1px 0 #fff; }
p { color: rgba(0, 0, 0, 0.5); margin: 20px 0; line-height: 1.6; }
@ -40,12 +40,12 @@
color: #ccc;
}
span.icon-phoenix-world{
span.icon-ai {
font-size: 50px;
}
}
</style>
<link rel="stylesheet" href="/bower_components/icomoon/css/icomoon.css" />
<link rel="stylesheet" href="https://syui.ai/bower_components/icomoon/style.css" />
</head>
<body>
@ -54,11 +54,10 @@ span.icon-phoenix-world{
<h1>404</h1>
<div id="suggestions">
</div>
<a href="/">
<span class="icon-phoenix-world"></span>
<span class="icon-ai"></span>
</a>
</div>

View File

@ -1,6 +1,7 @@
{{ partial "head.html" . }}
{{ partial "head-blog.html" . }}
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
<div id="container">
<div class="outer">
<div id="blog-archives" class="category">
@ -15,7 +16,10 @@
</div>
</div>
</div>
</div>
{{ partial "particles.html" . }}
{{ partial "footer" . }}
</body>
</html>

View File

@ -13,6 +13,8 @@
{{ partial "comment.html" . }}
</div>
{{ partial "particles.html" . }}
{{ partial "footer.html" . }}
</body>
</html>

View File

@ -5,6 +5,12 @@
</div>
<div class="stars">
{{ partial "particles.html" . }}
{{ partial "nasa.html" . }}
{{ partial "galaxy.html" . }}
</div>
{{ partial "footer.html" . }}
</body>

View File

@ -0,0 +1 @@
<iframe src="https://stars.chromeexperiments.com/" allowfullscreen frameborder="0" style="width:100%;height:700px;"></iframe>

View File

@ -7,12 +7,12 @@
{{ range .Data.Pages }}
{{ $t := index (split .Permalink "/") 3 }}
{{ if or (eq $t "blog") }}
{{ if or (eq $t "blog") (eq $t "novel") }}
<li class="top">
<a href="{{.Permalink}}">blog</a> <a class="li-link-left" href="{{ .Site.BaseURL }}/blog/index.xml"><i class="fa-solid fa-rss"></i></a>
<a href="{{.Permalink}}">{{ $t }}</a> <a class="li-link-left" href="{{ .Site.BaseURL }}/{{ $t }}/index.xml"><i class="fa-solid fa-rss"></i></a>
</li>
{{ range $index,$value := (where $.Site.RegularPages.ByDate "Section" $t) }}
{{ range $index,$value := (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }}
{{ if lt $index 3 }}
<li class="blog-list-first" style="display:block;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span>
{{ with .Params.tags }}{{ range . }}<button class="tag"><a href="/tags/{{ . }}/">{{ . }}</a>{{ end }}</button>{{ end }}
@ -23,7 +23,6 @@
</li>
{{ end }}
{{ end }}
<li class="blog-menu"><button onclick="blog_list_open();"><i class="fa-solid fa-angle-down"></i></button></li>
{{ end }}
@ -47,20 +46,15 @@
<li class="commit">
<a href="#header"><span class="icon-moji_a"></span></a>
<!--
<i class="fa-solid fa-code-branch"></i>
<i class="fa-solid fa-code-commit"></i>
<i class="fa-solid fa-code-merge"></i>
-->
</li>
</ul>
</div>
</div>
</div>
{{ partial "contribution.html" . }}
{{ partial "link.html" . }}
</div>

View File

@ -0,0 +1,32 @@
<script type="text/javascript" src="https://syui.ai/bower_components/d3/d3.min.js"></script>
<script type="text/javascript" src="https://syui.ai/bower_components/cal-heatmap/cal-heatmap.min.js"></script>
<link rel="stylesheet" href="https://syui.ai/bower_components/cal-heatmap/cal-heatmap.css" />
<div id="example-b"></div>
<script type="text/javascript">
var currentTime = new Date();
var year = currentTime.getFullYear()
var cal = new CalHeatMap();
cal.init({
itemSelector: "#example-b",
domain: "month",
data: "https://syui.ai/json/cal.json",
start: new Date(year, 0),
cellSize: 9,
range: 13,
legendColors: ["#fff700", "#817d01"],
previousSelector: "#example-b-PreviousDomain-selector",
nextSelector: "#example-b-NextDomain-selector",
legend: [2, 4, 6, 8],
});
</script>
<style>
div#example-b{
background: #f1f1f1;
margin-right: auto;
margin-left: auto;
}
.cal-heatmap-container {
width: 100%;
}
</style>

View File

@ -0,0 +1 @@
<footer class="footer">© <a href="https://syui.ai">syui</a></footer>

View File

@ -0,0 +1,4 @@
<iframe src="/pkg/galaxy/?star=fff700&in=fff700&out=fff700&bg=0x000000" allowfullscreen frameborder="0" style="width:100%;height:700px;"></iframe>
<!--
<iframe src="/pkg/galaxy/" allowfullscreen frameborder="0" style="width:100%;height:700px;"></iframe>
-->

View File

@ -24,8 +24,6 @@
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/blog.css" />
<link rel="stylesheet" href="/css/svg.css" />
<link rel="stylesheet" href="/pkg/icomoon/icomoon.css" />
<link rel="stylesheet" href="/pkg/font-awesome/css/all.min.css" />
<script type="application/ld+json">
{
"@context": "http://schema.org",
@ -40,4 +38,6 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<link rel="stylesheet" href="https://syui.ai/bower_components/icomoon/style.css" />
<link rel="stylesheet" href="https://syui.ai/bower_components/font-awesome/css/all.min.css" />
</head>

View File

@ -1,16 +1,8 @@
<body>
<div class="containerx">
{{ $s := path.Dir (.Permalink | relURL) }}
{{ $t := index (split $s "/") 2 }}
{{ $o := index (split $s "/") 1 }}
<header id="header">
<!--
{{ partial "particles.html" . }}
-->
<div class="logo">
{{ partial "svg.html" . }}
{{ if eq $o "" }}
@ -18,11 +10,9 @@
{{ end }}
</div>
</header>
<div class="containerx">
{{ if eq $o "" }}
<div class="hotkeys-docs">
<table>
<tbody>
<tr>
@ -30,11 +20,8 @@
</tr>
</tbody>
</table>
</div>
<span class="menu-right-top">
<!--
<a class="menu-link-left" href="/bitcoin"><i class="fa-brands fa-bitcoin"></i></a>
-->

View File

@ -0,0 +1,6 @@
<div class="sns-link">
<p>
<i class="fa-brands fa-bluesky"></i> <a href="https://bsky.app/profile/yui.syui.ai" target="_blank" class="bluesky-icon">yui.syui.ai</a>
</p>
<p><i class="fab fa-mastodon"></i> <a rel="me" href="https://mstdn.syui.ai/@ai" target="_blank">@ai@syui.ai</a>
</div>

View File

@ -0,0 +1,6 @@
<div class="nasa">
<iframe src="https://eyes.nasa.gov/apps/solar-system/#/sun/distance?to=earth" allowfullscreen frameborder="0" style="width:100%;height:700px;"></iframe>
</div>
<!--
https://eyes.nasa.gov/apps/solar-system/#/story/voyager_grand_tour?slide=slide_2
-->

View File

@ -1,5 +1,25 @@
<div id="particles-js"></div>
<script src="/pkg/particles/particles.min.js"></script>
<script src="/pkg/particles/stats.min.js"></script>
<script src="/pkg/particles/config.js"></script>
<script>
function sun_open() {
var n = document.querySelectorAll(".nasa");
var index = 0, length = n.length;
for ( ; index < length; index++) {
if (n[index].style.display == 'block') {
n[index].style.display = 'none';
} else {
n[index].style.display = 'block';
}
}
}
</script>
<link rel="stylesheet" href="/pkg/particles/particles.css" />
<div class="sun">
<div class="sun-button">
<img id="sun-img-button" src="/icon/sun.svg" onclick="sun_open()">
</div>
<div class="sun-particles">
<div id="particles-js"></div>
</div>
</div>
<script src="/pkg/particles/particles.min.js"></script>
<script src="/pkg/particles/config.js"></script>

View File

@ -1,11 +1,14 @@
.containerx {
padding: 0 250px;
padding: 100px 250px;
width: auto;
}
.sun-button {
display: none;
}
@media screen and (max-width:1000px) {
.containerx {
padding: 0;
}
}

View File

@ -30,7 +30,6 @@ p {
font-size: 5rem;
}
.logo {
margin: 35px 0;
text-align:center;
}
.containerx {
@ -45,8 +44,26 @@ article {
background: #fff;
}
.stars {
background: #313131;
}
footer.footer {
/* margin-top:100px; */
text-align: center;
height:60px;
padding-top:100px;
color: #fff700;
font-size: 20px;
background-color:#313131;
position: relative;
}
footer.footer a {
color: #fff700;
}
footer#footer {
margin-top:100px;
text-align: center;
height:60px;
padding-top:100px;
@ -334,6 +351,7 @@ span.menu-right-top div#app {
div#container {
background-color: #fff;
margin-bottom: 100px;
}
.story {
@ -366,6 +384,10 @@ header#header {
position: relative;
}
#minimap {
display: none;
}
.top-card {
margin:0 auto;
text-align: center;
@ -490,7 +512,7 @@ header#header {
}
nav.navbar.navbar-expand-lg.navbar-light.bg-light{
border-bottom: solid 1px #fff;
border-bottom: solid 2px #f1f1f1;
background: #313131;
}
@ -1258,6 +1280,49 @@ button.comment_open:hover {
margin: 0 auto;
}
.outer p {
padding: 30px;
}
.outer h2 {
padding: 30px;
}
.sns-link {
background: #fff;
margin: 50px 0;
padding: 30px;
}
.nasa {
display: none;
}
.sun-button {
position: absolute;
margin: 0 auto;
text-align: center;
width: 100%;
}
.sun-particles {
display: block;
}
.sun-button img {
width: 50px;
margin: 50% 0 0 0;
-webkit-transition: 0.8s;
-moz-transition: 0.8s;
-o-transition: 0.8s;
-ms-transition: 0.8s;
transition: 0.8s;
}
img#sun-img-button:hover {
background:#fff700a6;
}
@media screen and (max-width:1000px) {
html {
font-size: 100%;
@ -1284,4 +1349,11 @@ button.comment_open:hover {
.content p img {
width:100%;
}
.outer p {
padding: 15px;
}
.outer h2 {
padding: 15px;
}
}

View File

@ -438,14 +438,6 @@ body {
span {
font-size: 15px;
}
#particles-js {
position: absolute;
width: 98%;
}
#particles-js-no {
position: absolute;
width: 98%;
}
#icon-github:hover,
i.icon.ion-close-circled:hover,
@ -490,24 +482,22 @@ i.icon.ion-plus-circled {
}
@media screen and (max-width:1000px){i.icon.ion-minus-circled{display:none}
#window{width:100%;}
#window{width:100%;}
}
@media screen and (max-width:800px){body{padding-top:0px;}
#title-left{left:50%;}
#window{width:100%;}
.container{padding:0px;}
/*article{padding:10px 20px;}*/
i.icon.ion-minus-circled{display:none}
#title-left{left:50%;}
#window{width:100%;}
.container{padding:0px;}
/*article{padding:10px 20px;}*/
i.icon.ion-minus-circled{display:none}
}
@media screen and (max-width:800px){#title-left{left:48%;}
}
@media screen and (max-width:500px){#title-left{left:40%;}
}
@media screen and (max-width:400px){body{padding-top:0px;width:auto;}
#title-left{left:50%;}
/*article{padding:10px 10px;}*/
#particles-js{width:auto;}
#particles-js-no{width:auto;}
i.icon.ion-minus-circled{display:none}
i.icon.ion-plus-circled{display:none}
#title-left{left:50%;}
/*article{padding:10px 10px;}*/
i.icon.ion-minus-circled{display:none}
i.icon.ion-plus-circled{display:none}
}

BIN
static/icon/sun.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

19
static/icon/sun.svg Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="100.000000pt" height="100.000000pt" viewBox="0 0 512.000000 512.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>syui</metadata>
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
fill="#fff700" stroke="none">
<circle cx="2500" cy="2500" r="1500" />
</g>
<g transform="scale(3 3) matrix(0.866, -0.5, 0.25, 0.433, 85, 85)" >
<path d="M 0,70 A 65,70 0 0,0 65,0 5,5 0 0,1 75,0 75,70 0 0,1 0,70Z" fill="#fff700" >
<animateTransform attributeName="transform" type="rotate" from="360 0 0" to="0 0 0" dur="1s" repeatCount="indefinite" />
<animate fill="freeze" dur="4000ms" begin="0s" values="#D38EFF;#DD6699;#DDDD00;#008CCF" calMode="linear" attributeName="fill" repeatCount="indefinite" />
</path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 950 B

View File

@ -9,3 +9,4 @@ function blog_list_open() {
}
}
}

View File

@ -1,5 +0,0 @@
{
"dependencies": {
"hotkeys-js": "^3.13.7"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ai/galaxy</title><script defer="defer" src="bundle.4f0abc4a7f1c1822a177.js"></script><link href="main.css" rel="stylesheet"></head><body><canvas class="webgl"></canvas></body></html>

View File

@ -0,0 +1,42 @@
*
{
margin: 0;
padding: 0;
}
html,
body
{
overflow: hidden;
}
.webgl
{
position: fixed;
top: 0;
left: 0;
outline: none;
}
.heading{
font-family: 'Space Mono', monospace;
z-index: 3;
position: absolute;
top: 30px;
left: 20px;
color: white;
}
.heading h1{
font-size: 3rem;
margin: 10px;
}
.heading h4{
font-size: 1rem;
font-weight: 400;
margin: 10px;
}
/*# sourceMappingURL=main.css.map*/

View File

@ -0,0 +1 @@
{"version":3,"file":"main.css","mappings":"AAAA;;IAEI,SAAS;IACT,UAAU;AACd;;AAEA;;;IAGI,gBAAgB;AACpB;;AAEA;;IAEI,eAAe;IACf,MAAM;IACN,OAAO;IACP,aAAa;AACjB;;AAEA;IACI,oCAAoC;IACpC,UAAU;IACV,kBAAkB;IAClB,SAAS;IACT,UAAU;IACV,YAAY;AAChB;;AAEA;IACI,eAAe;IACf,YAAY;AAChB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,YAAY;AAChB","sources":["webpack:///./src/style.css"],"sourcesContent":["*\n{\n margin: 0;\n padding: 0;\n}\n\nhtml,\nbody\n{\n overflow: hidden;\n}\n\n.webgl\n{\n position: fixed;\n top: 0;\n left: 0;\n outline: none;\n}\n\n.heading{\n font-family: 'Space Mono', monospace;\n z-index: 3;\n position: absolute;\n top: 30px;\n left: 20px;\n color: white;\n}\n\n.heading h1{\n font-size: 3rem;\n margin: 10px;\n}\n\n.heading h4{\n font-size: 1rem;\n font-weight: 400;\n margin: 10px;\n}\n"],"names":[],"sourceRoot":""}

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

View File

@ -0,0 +1 @@
particlesJS("particles-js", {"particles":{"number":{"value":91,"density":{"enable":true,"value_area":881.8766334760375}},"color":{"value":"#fff700"},"shape":{"type":"circle","stroke":{"width":2,"color":"#fff700"},"polygon":{"nb_sides":6},"image":{"src":"","width":100,"height":100}},"opacity":{"value":0.48102361825965684,"random":true,"anim":{"enable":true,"speed":1.0556403676876611,"opacity_min":0.11368434728944043,"sync":true}},"size":{"value":3,"random":true,"anim":{"enable":true,"speed":2,"size_min":0,"sync":true}},"line_linked":{"enable":false,"distance":849.808392258727,"color":"#fff700","opacity":0.44093831673801875,"width":6.894671861721749},"move":{"enable":true,"speed":0.1,"direction":"none","random":true,"straight":false,"out_mode":"out","bounce":false,"attract":{"enable":true,"rotateX":1000,"rotateY":5000}}},"interactivity":{"detect_on":"canvas","events":{"onhover":{"enable":false,"mode":"repulse"},"onclick":{"enable":true,"mode":"remove"},"resize":true},"modes":{"grab":{"distance":523.7600285834934,"line_linked":{"opacity":0.46067027525048987}},"bubble":{"distance":400,"size":40,"duration":2,"opacity":8,"speed":3},"repulse":{"distance":200,"duration":0.4},"push":{"particles_nb":4},"remove":{"particles_nb":2}}},"retina_detect":true});var count_particles, update; count_particles = document.querySelector('.js-count-particles'); update = function() { if (window.pJSDom[0].pJS.particles && window.pJSDom[0].pJS.particles.array) { } requestAnimationFrame(update); }; requestAnimationFrame(update);;

View File

@ -0,0 +1,17 @@
canvas{
display: block;
vertical-align: bottom;
}
#particles-js{
/* position:absolute; */
position:static;
width: 100%;
height: 100%;
background-color: #313131;
background-repeat: no-repeat;
background-size: cover;
background-position: 50% 50%;
}
.count-particles{
border-radius: 0 0 3px 3px;
}

View File

@ -0,0 +1 @@
{"particles":{"number":{"value":380,"density":{"enable":true,"value_area":2084.43567912518}},"color":{"value":"#fff700"},"shape":{"type":"circle","stroke":{"width":3,"color":"#fff700"},"polygon":{"nb_sides":5},"image":{"src":"img/github.svg","width":100,"height":100}},"opacity":{"value":0.32068241217310456,"random":true,"anim":{"enable":false,"speed":1,"opacity_min":0.1,"sync":false}},"size":{"value":4.008530152163807,"random":true,"anim":{"enable":true,"speed":4.87218631240459,"size_min":2.4360931562022947,"sync":false}},"line_linked":{"enable":false,"distance":641.3648243462092,"color":"#fff700","opacity":0.09620472365193136,"width":0.16034120608655228},"move":{"enable":true,"speed":1,"direction":"none","random":true,"straight":true,"out_mode":"out","bounce":false,"attract":{"enable":true,"rotateX":1000,"rotateY":5000}}},"interactivity":{"detect_on":"canvas","events":{"onhover":{"enable":false,"mode":"grab"},"onclick":{"enable":true,"mode":"push"},"resize":true},"modes":{"grab":{"distance":400,"line_linked":{"opacity":1}},"bubble":{"distance":400,"size":40,"duration":2,"opacity":8,"speed":3},"repulse":{"distance":200,"duration":0.4},"push":{"particles_nb":4},"remove":{"particles_nb":2}}},"retina_detect":true}

9
static/pkg/particles/particles.min.js vendored Normal file

File diff suppressed because one or more lines are too long