From cd14288f9d2718180c4bb4f0b52644b191a28bdd Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Fri, 7 Oct 2022 00:48:30 -0600 Subject: [PATCH] Update lyrics script --- bin/lyrics_to_html.py | 86 +++++++++++++++++++++++++++++-------------- 1 file changed, 58 insertions(+), 28 deletions(-) diff --git a/bin/lyrics_to_html.py b/bin/lyrics_to_html.py index eb4b67a..0e9a4be 100755 --- a/bin/lyrics_to_html.py +++ b/bin/lyrics_to_html.py @@ -51,34 +51,6 @@ html_template_top = lambda title, icon : """\ display: block; font-size: 25px; } - #rikaichan-window { - background-color: #222 !important; - color: #D4D4D4 !important; - } - #rikaichan-window .w-kanji { - font-size: 30px !important; - color: #8EC07C !important; - } - #rikaichan-window .w-kana { - font-size: 25px !important; - color: #FABD2F !important; - } - #rikaichan-window .w-conj { - color: #D3869B !important; - } - #rikaichan-window .w-def { - font-size: 20px !important; - color: #D4D4D4 !important; - } - body li.tod { - font-size: 18px ; - } - body li.tod:first-child:nth-last-child(2) { - font-size: 22px ; - } - body li.tod:nth-child(2) { - font-size: 16px ; - } @@ -93,6 +65,64 @@ html_template_bottom = lambda title, url : f""" >Link to video: {str(title)}

+""" + """ + """