tremble 4 سال پیش
والد
کامیت
487b46eb0a
3فایلهای تغییر یافته به همراه14 افزوده شده و 14 حذف شده
  1. 13 13
      book/core/bigBook/css/docs.css
  2. 1 0
      book/core/bigBook/index.html
  3. 0 1
      book/core/smallBook/css/docs.css

+ 13 - 13
book/core/bigBook/css/docs.css

@@ -26,7 +26,7 @@ body{
 	width: 10vw;
 	height: 3vw;
 	background: url('../pics/logo.png') center center no-repeat;
-	background-size: 100% 100%;
+	background-size: 100% auto;
 	position: fixed;
 	right:2vw;
 	top:2vw;
@@ -268,27 +268,27 @@ body{
 		width: 35vw;
 		height: 10vw;
 		background: url('../pics/mobile-logo.png') center center no-repeat;
-		background-size: 100% 100%;
+		background-size: 100% auto;
 		position: fixed;
 		left:50%;
-		margin-left: -17.5vw;
-		top:5%;
+		transform: translateX(-50%);
+		top: 20px;
 	}
 	#canvas{
 		width: 100%;
 		height: 100%;
+		margin: 0 auto 0;
 		
 	}
 	#wrapper {
 		width: 100%;
-		height: 70%;
-		margin: 100px auto;
-		margin-bottom:0;
-		overflow-y: scroll;
+		height: 100%;
+		margin: 80px auto 0;
+		overflow-y: auto;
 	}
 	#book-zoom{
 		width: 100%;
-		height: 86%;
+		height: 100%;
 	}
 	.sample-docs{
 		width: 80%!important;
@@ -314,11 +314,11 @@ body{
 
 	
 	.progress-bar {
-		position: relative;
+		position: fixed;
+		bottom: 0;
+		left: 50%;
+		transform: translateX(-50%);
 		width: 80%;
-		margin:0 auto!important;
-		/* left: 4%; */
-		/* margin-top:10vw; */
 	}
 	.progress-bar .left-des {
 		position:absolute;

+ 1 - 0
book/core/bigBook/index.html

@@ -46,6 +46,7 @@
 
 
 	<script type="text/javascript">
+		let imgBili = 1064/1545
 
 		function judgeIsMobile() {
 			return (/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone|webOS|android/i.test(navigator.userAgent))

+ 0 - 1
book/core/smallBook/css/docs.css

@@ -18,7 +18,6 @@ body{
 
 #canvas{
 	width: 960px;
-	height: 600px;
 	margin: 100px auto;
 }