diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a87091f3e094e847d51b0b7203aacf339cccfcd5..108b6be81c2fe056e9bcded8ea7fe6117213f6e5 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -7,9 +7,6 @@
{{ .Title }}
-
-
-
diff --git a/layouts/search/list.html b/layouts/search/list.html
index 46130fdcb472ec561c16dd1c020c7095f317f7f3..533b0636d1fc5b92702f89141023823a4006b75b 100644
--- a/layouts/search/list.html
+++ b/layouts/search/list.html
@@ -2,7 +2,7 @@
{{ partial "head.html" . }}
-
+
diff --git a/static/css/common.css b/static/css/common.css
index e289773808d1328b24011a8e1138920143c8e519..b296e902b24993a314b06d8652b290bfcdd97769 100644
--- a/static/css/common.css
+++ b/static/css/common.css
@@ -326,31 +326,10 @@ i {
display: none;
}
-@media screen and (max-width: 1900px) {
- .container {
- width: 960px;
- margin: 0 auto;
- }
-}
-
-@media screen and (max-width: 1660px) {
- .container {
- width: 800px;
- margin: 0 auto;
- }
-}
-
-@media screen and (max-width: 1490px) {
- .container {
- width: 640px;
- margin: 0 auto;
- }
-}
-
@media screen and (max-width: 1000px) {
.container {
- width: 315px;
+ width: 315px !important;
margin: 0 auto;
}
.not-found {
diff --git a/static/css/docdetail.css b/static/css/docdetail.css
index 1212f0e9abdceb57b93626acb6c7c33dd836616a..0549a9b65826b07ca929fe16c3660ab482f63464 100644
--- a/static/css/docdetail.css
+++ b/static/css/docdetail.css
@@ -27,23 +27,22 @@
#version-select .option {
position: absolute;
- width: 100%;
+ width: 138px;
background: #FFFFFF;
box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 47, 167, 0.5);
- left: 0;
+ left: 60px;
top: 57px;
display: none;
}
#version-select .option a {
- font-size: 18px;
- padding: 0 40px;
+ font-size: 14px;
+ padding-left: 13px;
display: block;
cursor: pointer;
color: rgba(0, 0, 0, 0.7);
- line-height: 30px;
- height: 30px;
+ line-height: 24px;
box-sizing: border-box;
position: relative;
z-index: 3;
@@ -307,7 +306,7 @@
color: #36383D;
line-height: 24px;
margin-top: 40px;
- padding-bottom: 400px;
+ padding: 150px 0 400px 0;
}
#page h1,#page h2,#page h3,
@@ -593,6 +592,27 @@
}
}
+@media screen and (max-width: 1900px) {
+ .container {
+ width: 960px;
+ margin: 0 auto;
+ }
+}
+
+@media screen and (max-width: 1660px) {
+ .container {
+ width: 800px;
+ margin: 0 auto;
+ }
+}
+
+@media screen and (max-width: 1490px) {
+ .container {
+ width: 640px;
+ margin: 0 auto;
+ }
+}
+
@media screen and (max-width: 1000px) {
#menu-box,.top-link,#title-evaluate {
display: none;
@@ -612,6 +632,7 @@
font-size: 14px;
color: #002FA7;
line-height: 24px;
+ margin-top: 70px;
}
#h5-menu a span {
@@ -630,7 +651,9 @@
#h5-menu a .icon-prev {
background-image: url('../img/detail/blue-left.svg');
}
-
+ #page {
+ padding: 0 0 80px 0;
+ }
#markdown {
width: 100%;
}