diff --git a/css/details.css b/css/details.css index 38a6406..aaf1361 100644 --- a/css/details.css +++ b/css/details.css @@ -1300,13 +1300,19 @@ margin: 20px 10px 30px !important; } .head-top.flexacenter .input-box { - margin-right: 0; + margin-right: 10px; + } + .index-footer { + min-width: inherit !important; } } -@media screen and (max-width: 850px) { +@media screen and (max-width: 768px) { header.page-header { display: none !important; } + .index-footer { + display: none !important; + } .head-top .post-list { display: none !important; } @@ -1364,10 +1370,14 @@ top: auto; overflow: auto; border: none; + padding-top: 15px; } #details .answer-discuss .input-box .bottom .operate .item .emoji-box::after { display: none; } + #details .answer-discuss .input-box .bottom .operate .item:hover .file-hint { + display: none; + } #details .answer-discuss .comments-box .input-box .picture-box { width: calc(100vw - 88px); } @@ -1381,14 +1391,26 @@ width: calc(100vw - 128px); } } -@media screen and (max-width: 500px) { +@media screen and (max-width: 480px) { + .head-top.flexacenter { + margin-bottom: 10px !important; + } .head-top.flexacenter .input-box { width: inherit; + height: inherit; + background: none; + border: none; + padding: 5px; } - .head-top.flexacenter .input-box .input, .head-top.flexacenter .input-box .placeholder { display: none; } + .head-top.flexacenter .input-box .input { + display: none; + } + .head-top.flexacenter .input-box .icon { + margin-left: 0; + } #details .answer-discuss .comments-box .comments-item .comments-header { font-size: 12px; } diff --git a/css/details.less b/css/details.less index a278c7e..bdf09ef 100644 --- a/css/details.less +++ b/css/details.less @@ -1538,17 +1538,25 @@ margin: 20px 10px 30px !important; .input-box { - margin-right: 0; + margin-right: 10px; } } + + .index-footer { + min-width: inherit !important; + } } // 媒体查询 最大宽度 850px 时 -@media screen and (max-width: 850px) { +@media screen and (max-width: 768px) { header.page-header { display: none !important; } + .index-footer { + display: none !important; + } + .head-top .post-list { display: none !important; } @@ -1613,7 +1621,6 @@ .picture-box { width: calc(100vw - 68px); } - .bottom { .operate { .item { @@ -1627,11 +1634,16 @@ top: auto; overflow: auto; border: none; - + padding-top: 15px; + &::after { display: none; } } + + &:hover .file-hint { + display: none; + } } } } @@ -1666,14 +1678,30 @@ } } -@media screen and (max-width: 500px) { - .head-top.flexacenter .input-box { - width: inherit; - .input, - .placeholder { - display: none; +@media screen and (max-width: 480px) { + .head-top.flexacenter { + margin-bottom: 10px !important; + .input-box { + width: inherit; + height: inherit; + background: none; + border: none; + padding: 5px; + + .placeholder { + display: none; + } + + .input { + display: none; + } + + .icon { + margin-left: 0; + } } } + #details { .answer-discuss { .comments-box { diff --git a/css/public.css b/css/public.css index 9dadbc0..4e214ab 100644 --- a/css/public.css +++ b/css/public.css @@ -1773,6 +1773,15 @@ body { .head-top .post-list .post-item:not(:last-child) { margin-right: 10px; } +.head-top .head-more { + display: none; + padding: 5px; +} +@media screen and (max-width: 480px) { + .head-top .head-more { + display: flex; + } +} .hot-tag { background-color: #ffffff; border: 1px solid #e9eef2; @@ -2009,6 +2018,7 @@ td { .head-pop .head-more-pop .head-more-userinfo .head-more-right { width: 84px; height: 30px; + display: none; } .head-pop .head-more-pop .head-more-userinfo .head-more-right .information-box { position: relative; diff --git a/css/public.less b/css/public.less index 107a286..028e67c 100644 --- a/css/public.less +++ b/css/public.less @@ -2133,6 +2133,19 @@ body { } } } + + .head-more { + display: none; + padding: 5px; + } +} + +@media screen and (max-width: 480px) { + .head-top { + .head-more { + display: flex; + } + } } .hot-tag { @@ -2411,6 +2424,7 @@ td { .head-more-right { width: 84px; height: 30px; + display: none; .information-box { position: relative; diff --git a/details.html b/details.html index ef041a9..a7495b3 100644 --- a/details.html +++ b/details.html @@ -20,56 +20,39 @@
-
-
- -
-
-
-
登录/注册
-
-
- - - - -
- -
- 发布帖子 -
- - +
登录/注册
+ +
发布帖子
+
diff --git a/img/addyellow.svg b/img/addyellow.svg new file mode 100644 index 0000000..baedf47 --- /dev/null +++ b/img/addyellow.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/cross.svg b/img/cross.svg new file mode 100644 index 0000000..6ddb9e9 --- /dev/null +++ b/img/cross.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file