From e84bf8cde09ec840f728f44a1385e98059b515c4 Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 28 Apr 2024 17:00:52 +0900 Subject: [PATCH] fix --- layouts/partials/particles.html | 2 +- static/css/style.css | 7 +++++-- static/icon/sun.svg | 19 +++++++++++++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 static/icon/sun.svg diff --git a/layouts/partials/particles.html b/layouts/partials/particles.html index a9d2f7f3..f79bc6f4 100644 --- a/layouts/partials/particles.html +++ b/layouts/partials/particles.html @@ -18,7 +18,7 @@ function sun_open() {
- +
diff --git a/static/css/style.css b/static/css/style.css index 66a88b7c..48718195 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1306,12 +1306,15 @@ button.comment_open:hover { position: absolute; margin: 0 auto; text-align: center; + width: 100%; } .sun-button img { - width: 50%; + width: 50px; + margin: 50% 0 0 0; } + img#sun-img-button:hover { - opacity: 0.5; + background:#fff700 } @media screen and (max-width:1000px) { diff --git a/static/icon/sun.svg b/static/icon/sun.svg new file mode 100644 index 00000000..b1c00977 --- /dev/null +++ b/static/icon/sun.svg @@ -0,0 +1,19 @@ + + + +syui + + + + + + + + + + +