From 5a4e250944757e1d687a03b7c2cb169448be84e2 Mon Sep 17 00:00:00 2001 From: 7wc98#14 <2923616405@qq.com> Date: Fri, 17 Apr 2020 12:27:21 +0800 Subject: [PATCH] Update --- src/main/resources/templates/Buju.html | 54 +++++++++++++++----------- 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/src/main/resources/templates/Buju.html b/src/main/resources/templates/Buju.html index b452ebe..6578134 100644 --- a/src/main/resources/templates/Buju.html +++ b/src/main/resources/templates/Buju.html @@ -12,22 +12,22 @@ body{ background-color: gray; } - @media screen and (max-width: 790px){ + @media screen and (max-width: 1900px){ #content{ position: absolute; - left: 28%; + left: 40%; float: left; width: 40%; background-color: white; margin-left: 5px; - height: 600px; + height: 700px; } #text-content{ text-align: center; - margin: 0 auto; + margin-left: 10px; padding-top: 50px; overflow: scroll; - height: 600px; + height: 700px; } } @media screen and (max-width: 1071px){ @@ -42,29 +42,52 @@ } #text-content{ text-align: center; - margin-left: 10px; + margin-left: 10px; padding-top: 50px; overflow: scroll; height: 700px; } } - @media screen and (max-width: 1900px){ + @media screen and (max-width: 790px){ #content{ position: absolute; - left: 40%; + left: 28%; float: left; width: 40%; background-color: white; margin-left: 5px; + height: 600px; + } + #text-content{ + text-align: center; + margin: 0 auto; + padding-top: 50px; + overflow: scroll; + height: 600px; + } + } + @media screen and (max-width: 500px){ + #content{ + position: absolute; + left: 10px; + width: 95%; + background-color: white; + margin-left: 5px; height: 700px; } #text-content{ text-align: center; - margin-left: 10px; padding-top: 50px; overflow: scroll; height: 700px; } + .aside{ + /*float: left;*/ + /*width: 300px;*/ + /*height: 700px;*/ + /*background-color: #bdd4e9;*/ + visibility: hidden; + } } @media screen and (min-width: 790px) { body{ @@ -144,19 +167,6 @@
- - - - - - - - - - - - -

-- GitLab