I <3 めいすきー

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/mai/trunk@54 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
yakumo.izuru 2023-10-20 00:18:32 +00:00
parent c563af5a68
commit 3b6db5d8f4
3 changed files with 16 additions and 8 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
_build/simplytranslate
*.gz

View File

@ -1,14 +1,14 @@
PREFIX ?= /usr/local
build:
go build -v ./cmd/simplytranslate
mkdir _build
go build -v -o _build/simplytranslate ./cmd/simplytranslate
clean:
rm -f simplytranslate
rm -rf _build
install:
install -Dm0755 simplytranslate ${DESTDIR}${PREFIX}/bin/simplytranslate
install -Dm0755 _build/simplytranslate ${DESTDIR}${PREFIX}/bin/simplytranslate
mkdir -p ${DESTDIR}${PREFIX}/share/simplytranslate
cp -R static views ${DESTDIR}${PREFIX}/share/simplytranslate
@echo "Remember to launch the program with -s ${DESTDIR}${PREFIX}/share/simplytranslate/static -t ${DESTDIR}${PREFIX}/share/simplytranslate/views"
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/simplytranslate
rm -rf ${DESTDIR}${PREFIX}/share/simplytranslate

View File

@ -1,5 +1,10 @@
/*
Light theme is based on Lavender (https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/lavender.json5)
while the Dark theme is based on エレガントなお嬢様 (https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5)
*/
body {
background-color: #ffffff;
background-color: #f8cfd2;
color: rgb(206, 147, 191);
}
a {
@ -49,6 +54,8 @@ a:visited {
white-space: nowrap;
}
button {
background-color: #ce93bf;
color: #ffffff;
font-size: 1rem;
padding: 4px 10px;
border: 2px solid #888888;
@ -73,8 +80,8 @@ input:focus,
select:focus,
textarea:focus,
button:focus {
border-color: #478061;
outline: 1px solid #478061;
border-color: #faf4f8;
outline: 1px solid #faf4f8;
}
@ -127,7 +134,6 @@ a {
text-decoration: none;
}
@media screen and (prefers-color-scheme: dark) {
/* Loosely based on エレガントなお嬢様 - https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5 */
body {
background-color: #700000;
color: #ffffff;