From 11dfbbc16d17df228e1ce54bd36bb608051c538b Mon Sep 17 00:00:00 2001 From: liujianhuan Date: Thu, 14 Jan 2021 12:50:58 +0800 Subject: [PATCH] modify css --- scripts/myscript.js | 2 ++ styles/website.css | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/myscript.js b/scripts/myscript.js index 3e9eeec..7aa3ee2 100644 --- a/scripts/myscript.js +++ b/scripts/myscript.js @@ -5,6 +5,8 @@ obox1.style.position = "fixed"; obox1.style.right = "20px"; obox1.style.bottom = "0px"; +obox1.setAttribute("class", "movie") + var sbox = document.getElementsByTagName("body")[0]; sbox.appendChild(obox1); diff --git a/styles/website.css b/styles/website.css index 511b9d9..cf9062e 100644 --- a/styles/website.css +++ b/styles/website.css @@ -79,7 +79,13 @@ pre[class*="language-"] { display: none; } -@media screen and (max-width: 1500px) { +@media screen and (max-width: 600px) { + .movie { + display: none; + } +} + +@media screen and (max-width: 1500px) and (min-width: 1000px) { .page-inner { margin: 0 100px 0 100px !important; max-width: 800px !important;