Skip to content

Instantly share code, notes, and snippets.

View yuarasino's full-sized avatar

新篠ゆう yuarasino

  • ~
View GitHub Profile
@yuarasino
yuarasino / discord-vpl.css
Created March 13, 2023 13:56
コラボ用 Discord CSS (VPLカラー)
:root {
--main-grad: linear-gradient(180deg, #ffe05a, #ff5fbb, #eb269e);
--sub-grad: linear-gradient(165deg, #6bff00, #009aff,#b300ff);
--main-color: rgba(255,95,187,.85);
--sub-color: rgba(0,154,255,.9);
}
*,*::before,*::after {
box-sizing: border-box;
}
@yuarasino
yuarasino / showlossonly.js
Created October 20, 2022 03:17
モータルくんでミスったとこだけ表示するやつ。モータルくんのページでF12押してコンソールを開いて、↑のコードを張り付けてEnter。
(function showMissOnly() {
const turnList = document.querySelectorAll("details.collapse")
for (const turn of turnList) {
if (turn.querySelector(".turn-info")) {
const turnInfo = turn.querySelector(".turn-info")
if (turnInfo) {
if (turnInfo.querySelector(".order-loss")) {
turn.setAttribute("open", "");
}
else {
@yuarasino
yuarasino / discord.css
Last active January 9, 2023 09:13
コラボ用 Discord CSS
*,*::before,*::after {
box-sizing: border-box;
}
body {
background-color: rgba(0, 0, 0, 0);
margin: 0;
padding: 0;
overflow: hidden;
}
/* アイコン画像を任意の画像にするCSS */
#author-photo {
position: relative;
}
#author-photo::after {
content: "";
display: block;
position: absolute;
top: 0;
@yuarasino
yuarasino / tsnocheck.py
Last active January 11, 2020 10:38
Live2D Cubism SDK for Web のtsコードの先頭に、@ts-nockeckを付与するpythonスクリプト
import os
import glob
def main():
src_dir = "./Framework"
dst_dir = "./_Framework"
for src_ts in glob.glob(os.path.join(src_dir, "**/*.ts"), recursive=True):
dst_ts = src_ts.replace(src_dir, dst_dir)