diff --git a/html/translate.ejs b/html/translate.ejs index 94d737b0..ddde942e 100644 --- a/html/translate.ejs +++ b/html/translate.ejs @@ -7,8 +7,8 @@ - - + + @@ -99,7 +99,6 @@ body { justify-content: center; - overflow:hidden; font-family: sans-serif; } @@ -152,22 +151,21 @@ grid-area: translations; } - @media screen and (prefers-color-scheme: dark) { - body { + body { background-color: #212529; color: #f8f9fa; } - #could_not_switch_languages_text { + #could_not_switch_languages_text { color: #F13333; } - a:visited { + a:visited { color: #9759f6; text-decoration: none; } - a { + a { color: #599bf6; text-decoration: none; } @@ -197,8 +195,24 @@ .use_in_sentence { color: yellow; } - } + + + <% if (isMobile) { %> + + <% } %> + + <% if (!isMobile) { %> + + <% } %>