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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -0,0 +1,2 @@
|
|||||||
|
_build/simplytranslate
|
||||||
|
*.gz
|
||||||
|
|||||||
8
Makefile
8
Makefile
@@ -1,14 +1,14 @@
|
|||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -v ./cmd/simplytranslate
|
mkdir _build
|
||||||
|
go build -v -o _build/simplytranslate ./cmd/simplytranslate
|
||||||
clean:
|
clean:
|
||||||
rm -f simplytranslate
|
rm -rf _build
|
||||||
install:
|
install:
|
||||||
install -Dm0755 simplytranslate ${DESTDIR}${PREFIX}/bin/simplytranslate
|
install -Dm0755 _build/simplytranslate ${DESTDIR}${PREFIX}/bin/simplytranslate
|
||||||
mkdir -p ${DESTDIR}${PREFIX}/share/simplytranslate
|
mkdir -p ${DESTDIR}${PREFIX}/share/simplytranslate
|
||||||
cp -R static views ${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:
|
uninstall:
|
||||||
rm -f ${DESTDIR}${PREFIX}/bin/simplytranslate
|
rm -f ${DESTDIR}${PREFIX}/bin/simplytranslate
|
||||||
rm -rf ${DESTDIR}${PREFIX}/share/simplytranslate
|
rm -rf ${DESTDIR}${PREFIX}/share/simplytranslate
|
||||||
|
|||||||
@@ -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 {
|
body {
|
||||||
background-color: #ffffff;
|
background-color: #f8cfd2;
|
||||||
color: rgb(206, 147, 191);
|
color: rgb(206, 147, 191);
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
@@ -49,6 +54,8 @@ a:visited {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
|
background-color: #ce93bf;
|
||||||
|
color: #ffffff;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
border: 2px solid #888888;
|
border: 2px solid #888888;
|
||||||
@@ -73,8 +80,8 @@ input:focus,
|
|||||||
select:focus,
|
select:focus,
|
||||||
textarea:focus,
|
textarea:focus,
|
||||||
button:focus {
|
button:focus {
|
||||||
border-color: #478061;
|
border-color: #faf4f8;
|
||||||
outline: 1px solid #478061;
|
outline: 1px solid #faf4f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -127,7 +134,6 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@media screen and (prefers-color-scheme: dark) {
|
@media screen and (prefers-color-scheme: dark) {
|
||||||
/* Loosely based on エレガントなお嬢様 - https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5 */
|
|
||||||
body {
|
body {
|
||||||
background-color: #700000;
|
background-color: #700000;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|||||||
Reference in New Issue
Block a user