From 6fc55efc646c424269b5a55e37e260977321afcb Mon Sep 17 00:00:00 2001 From: PJ568 Date: Mon, 16 Oct 2023 17:25:26 +0800 Subject: [PATCH] =?UTF-8?q?HTML=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/translate_lib.css | 12 ++++++++++++ index.html | 18 ++---------------- js/translate_lib.js | 10 ++++++++++ 3 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 css/translate_lib.css create mode 100644 js/translate_lib.js diff --git a/css/translate_lib.css b/css/translate_lib.css new file mode 100644 index 0000000..13bd34d --- /dev/null +++ b/css/translate_lib.css @@ -0,0 +1,12 @@ +#translate>.translateSelectLanguage { + cursor:pointer; + position:absolute; + padding:0.3rem; + padding-left:0.5rem; + padding-right:0.5rem; + color: #FFF; + background-color: #333; + border:2px solid #c5464a; +} +@media screen and (max-width: 980px){#translate>.translateSelectLanguage {left:1rem;top:1rem;font-size:.8rem;width:6rem}} +@media screen and (min-width: 980px){#translate>.translateSelectLanguage {left:2rem;top:2rem;font-size:1rem}} \ No newline at end of file diff --git a/index.html b/index.html index 69a7259..b24116c 100644 --- a/index.html +++ b/index.html @@ -20,22 +20,8 @@ - - + + 转转雀