|
@@ -1,15 +1,502 @@
|
|
|
-#content {
|
|
|
+@keyframes nav {
|
|
|
+ from {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ height: calc(100vh - 90px);
|
|
|
+ }
|
|
|
+}
|
|
|
+@-webkit-keyframes nav {
|
|
|
+ /* Safari and Chrome */
|
|
|
+ from {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ height: calc(100vh - 90px);
|
|
|
+ }
|
|
|
+}
|
|
|
+@-moz-keyframes nav {
|
|
|
+ /* Safari and Chrome */
|
|
|
+ from {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ height: calc(100vh - 90px);
|
|
|
+ }
|
|
|
+}
|
|
|
+@keyframes navc {
|
|
|
+ from {
|
|
|
+ height: calc(100vh - 90px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+@-webkit-keyframes navc {
|
|
|
+ /* Safari and Chrome */
|
|
|
+ from {
|
|
|
+ height: calc(100vh - 90px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+@-moz-keyframes navc {
|
|
|
+ /* Safari and Chrome */
|
|
|
+ from {
|
|
|
+ height: calc(100vh - 90px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+.show {
|
|
|
+ display: block !important;
|
|
|
+}
|
|
|
+.noshow {
|
|
|
+ display: none !important;
|
|
|
+}
|
|
|
+body {
|
|
|
+ height: 100vh;
|
|
|
+ overflow-y: scroll;
|
|
|
+}
|
|
|
+body a {
|
|
|
+ text-decoration: none;
|
|
|
+ color: #777;
|
|
|
+}
|
|
|
+body a:hover {
|
|
|
+ color: #2382ff;
|
|
|
+ text-decoration: none;
|
|
|
+}
|
|
|
+body::-webkit-scrollbar {
|
|
|
+ /*滚动条整体样式*/
|
|
|
+ width: 5px;
|
|
|
+ /*高宽分别对应横竖滚动条的尺寸*/
|
|
|
+ height: 10px;
|
|
|
+}
|
|
|
+@media screen and (max-width: 750px) {
|
|
|
+ body::-webkit-scrollbar {
|
|
|
+ /*滚动条整体样式*/
|
|
|
+ width: 10px;
|
|
|
+ /*高宽分别对应横竖滚动条的尺寸*/
|
|
|
+ height: 10px;
|
|
|
+ }
|
|
|
+}
|
|
|
+body::-webkit-scrollbar-thumb {
|
|
|
+ /*滚动条里面小方块*/
|
|
|
+ border-radius: 10px;
|
|
|
+ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
|
+ background: #999;
|
|
|
+}
|
|
|
+body::-webkit-scrollbar-thumb:hover {
|
|
|
+ background: #2382ff;
|
|
|
+}
|
|
|
+body::-webkit-scrollbar-track {
|
|
|
+ /*滚动条里面轨道*/
|
|
|
+ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
|
+ border-radius: 10px;
|
|
|
+ background: #eee;
|
|
|
+}
|
|
|
+.header {
|
|
|
+ width: 100%;
|
|
|
+ border-bottom: 1px solid #f1f1f1;
|
|
|
+ background-color: #fff;
|
|
|
+ position: fixed;
|
|
|
+ z-index: 1;
|
|
|
+}
|
|
|
+.header .ha-item {
|
|
|
+ margin-top: 10px;
|
|
|
+ height: 70px;
|
|
|
+}
|
|
|
+.header .ha-item .img {
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.header .ha-item .img span {
|
|
|
+ font-size: 50px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+.header .ha-item .img img {
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.header .ha-item .button {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+@media screen and (max-width: 750px) {
|
|
|
+ .header .ha-item .button {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+}
|
|
|
+.header .ha-item .button .button {
|
|
|
+ color: #2382ff;
|
|
|
+ padding: 10px;
|
|
|
+ border: 2px solid #2382ff;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 30px;
|
|
|
+ border-radius: 5px;
|
|
|
+}
|
|
|
+.header .ha-item .app {
|
|
|
+ height: 100%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+@media screen and (max-width: 750px) {
|
|
|
+ .header .ha-item .app {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+.header .ha-item .app a {
|
|
|
+ text-decoration: none;
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+.header .ha-item .app a img {
|
|
|
+ width: 50px;
|
|
|
+}
|
|
|
+.header .hb-item .nav {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-start;
|
|
|
+ align-content: center;
|
|
|
+}
|
|
|
+@media screen and (max-width: 750px) {
|
|
|
+ .header .hb-item .nav {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+.header .hb-item .nav > .nav-item > a.active {
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item {
|
|
|
+ padding: 0 20px;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item a {
|
|
|
+ color: #777;
|
|
|
+ font-weight: bold;
|
|
|
+ text-decoration: none;
|
|
|
+ line-height: 40px;
|
|
|
+ display: table-cell;
|
|
|
+ vertical-align: bottom;
|
|
|
+ font-size: 18px;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item a i {
|
|
|
+ margin-left: 5px;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item a:hover {
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item .nav-ul {
|
|
|
+ display: none;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 0;
|
|
|
+ position: absolute;
|
|
|
+ z-index: 1;
|
|
|
+ background-color: #fff;
|
|
|
+ overflow: auto !important;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item .nav-ul .nav-li {
|
|
|
+ width: 100px;
|
|
|
+ padding: 10px;
|
|
|
+ list-style: none;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item .nav-ul .nav-li:hover {
|
|
|
+ background-color: #2382ff;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item .nav-ul .nav-li:hover a {
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+.header .hb-item .nav .nav-item .nav-ul .nav-li a {
|
|
|
+ color: #777;
|
|
|
+ line-height: 15px;
|
|
|
+ font-size: small;
|
|
|
+}
|
|
|
+#nav-sm {
|
|
|
+ position: fixed;
|
|
|
+ z-index: 99;
|
|
|
+ width: 100vw;
|
|
|
+ overflow-y: scroll;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background-color: #fff;
|
|
|
+ margin-top: 80px;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+@media screen and (max-width: 768px) {
|
|
|
+ #nav-sm {
|
|
|
+ border-top: 1px solid #eee;
|
|
|
+ }
|
|
|
+}
|
|
|
+#nav-sm::-webkit-scrollbar {
|
|
|
+ height: 0;
|
|
|
+}
|
|
|
+#nav-sm > ul > li > a.active {
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+#nav-sm ul li {
|
|
|
+ list-style-type: none;
|
|
|
+}
|
|
|
+#nav-sm ul li a {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 20px;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 40px;
|
|
|
+ color: #555;
|
|
|
+ text-decoration: none;
|
|
|
+}
|
|
|
+#nav-sm ul li a:hover {
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+#nav-sm ul li .nav-sm-ul {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-start;
|
|
|
+ align-items: center;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+#nav-sm ul li .nav-sm-ul .nav-sm-li {
|
|
|
+ padding: 0 10px;
|
|
|
+}
|
|
|
+#nav-sm ul li .nav-sm-ul .nav-sm-li a {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: normal;
|
|
|
+}
|
|
|
+.nav-sm-noheight {
|
|
|
+ height: 0px;
|
|
|
+}
|
|
|
+.nav-sm-show {
|
|
|
+ height: calc(100vh - 80px);
|
|
|
+ animation: nav 1s;
|
|
|
+ -webkit-animation: nav 1s normal;
|
|
|
+ -moz-animation: nav 1s;
|
|
|
+}
|
|
|
+.nav-sm-noshow {
|
|
|
+ height: 0px;
|
|
|
+ animation: navc 1s;
|
|
|
+ -webkit-animation: navc 1s normal;
|
|
|
+ -moz-animation: navc 1s;
|
|
|
+}
|
|
|
+.body {
|
|
|
+ background-color: #fff;
|
|
|
+ max-width: 1200px;
|
|
|
+ min-height: 600px;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ padding: 10px 15px 15px;
|
|
|
+ margin: 141px 20px 20px;
|
|
|
+}
|
|
|
+@media screen and (max-width: 768px) {
|
|
|
+ .body {
|
|
|
+ padding: 0px;
|
|
|
+ border-radius: 10px 10px 0 0;
|
|
|
+ margin: 100px 20px 20px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.footer {
|
|
|
+ width: 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow: hidden;
|
|
|
+ background-color: #fff;
|
|
|
+ border-top: 1px solid #f1f1f1;
|
|
|
+ text-align: center;
|
|
|
+ color: #777;
|
|
|
+}
|
|
|
+.footer p {
|
|
|
+ margin: 0;
|
|
|
+ padding: 20px 0px 0px;
|
|
|
+}
|
|
|
+.footer > p:last-child {
|
|
|
+ padding-bottom: 50px;
|
|
|
+}
|
|
|
+#top {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 30px;
|
|
|
+ right: 30px;
|
|
|
+ padding: 20px;
|
|
|
+ color: #fff;
|
|
|
+ background-color: rgba(98, 96, 96, 0.3);
|
|
|
+ border-radius: 10px;
|
|
|
+}
|
|
|
+#share {
|
|
|
+ position: fixed;
|
|
|
+ top: 60vh;
|
|
|
+ right: 0px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+@media screen and (max-width: 768px) {
|
|
|
+ #share {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+#share div {
|
|
|
+ height: 132px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background-color: #2382ff;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 15px;
|
|
|
+ width: 30px;
|
|
|
+ letter-spacing: 10px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 30px;
|
|
|
+ border-radius: 5px 0 0 5px;
|
|
|
+ writing-mode: vertical-lr;
|
|
|
+ /*从左向右 从右向左是 writing-mode: vertical-rl;*/
|
|
|
+ writing-mode: tb-lr;
|
|
|
+ /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/
|
|
|
+}
|
|
|
+#share ul {
|
|
|
+ width: 0px;
|
|
|
+ height: 132px;
|
|
|
+ border: 1px solid #aaa;
|
|
|
+ border-right: none;
|
|
|
+ list-style: none;
|
|
|
+ padding: 0;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+#share ul > li:first-child {
|
|
|
+ background-color: #c6c6c6;
|
|
|
+ line-height: 26px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+#share ul li {
|
|
|
+ padding: 5px 10px;
|
|
|
+ width: 100px;
|
|
|
+ vertical-align: middle;
|
|
|
+}
|
|
|
+#share ul li img {
|
|
|
+ width: 20px;
|
|
|
+ vertical-align: middle;
|
|
|
+ margin-right: 5px;
|
|
|
+}
|
|
|
+#share ul li:hover:not(ul>li:first-child) {
|
|
|
+ background-color: #e6e6e6;
|
|
|
+}
|
|
|
+#toast {
|
|
|
+ display: none;
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 100;
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ background-color: rgba(29, 27, 27, 0.5);
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+#toast div {
|
|
|
+ background-color: #fff;
|
|
|
+ position: absolute;
|
|
|
+ padding: 5px;
|
|
|
+ border-radius: 5px;
|
|
|
+ width: 260px;
|
|
|
+ left: calc(50vw - 130px);
|
|
|
+ top: 30vh;
|
|
|
+}
|
|
|
+.body .color {
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+.body h3 {
|
|
|
+ margin-top: 0;
|
|
|
+}
|
|
|
+.body #content {
|
|
|
text-align: justify;
|
|
|
}
|
|
|
-#content p {
|
|
|
+.body #content p {
|
|
|
text-indent: 30px;
|
|
|
}
|
|
|
-#content > p:last-child {
|
|
|
+.body #content > p:last-child {
|
|
|
padding: 10px 0px;
|
|
|
}
|
|
|
-#content #read {
|
|
|
+.body #read {
|
|
|
+ margin-top: 20px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
-#content #read .good {
|
|
|
+.body #read .good {
|
|
|
+ border-radius: 5px;
|
|
|
+ border: 1px solid #e6e6e6;
|
|
|
display: inline-block;
|
|
|
+ padding: 5px 30px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
+.body .articles ul {
|
|
|
+ width: 100%;
|
|
|
+ border-top: 1px solid #e6e6e6;
|
|
|
+ padding: 10px 20px;
|
|
|
+ list-style: square;
|
|
|
+ color: #777;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.body .articles ul li {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ width: 100%;
|
|
|
+ padding: 5px 0px;
|
|
|
+}
|
|
|
+.body #comment .h5 {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-content: center;
|
|
|
+}
|
|
|
+.body #comment .remind {
|
|
|
+ text-align: center;
|
|
|
+ background-color: #e6e6e6;
|
|
|
+ padding: 5px;
|
|
|
+ border-radius: 5px;
|
|
|
+ margin: 10px 0px;
|
|
|
+}
|
|
|
+.body #comment .comment {
|
|
|
+ border-top: 1px solid #e6e6e6;
|
|
|
+ padding-top: 10px;
|
|
|
+}
|
|
|
+.body #comment .comment .nocomment,
|
|
|
+.body #comment .comment .loading,
|
|
|
+.body #comment .comment .nodata {
|
|
|
+ display: none;
|
|
|
+ text-align: center;
|
|
|
+ margin: 10px;
|
|
|
+}
|
|
|
+.body #comment .comment .nocomment {
|
|
|
+ display: block;
|
|
|
+ padding-bottom: 10px;
|
|
|
+}
|
|
|
+.body #comment .comment .nocomment:hover {
|
|
|
+ color: #2382ff;
|
|
|
+}
|
|
|
+.body #comment .comment .user {
|
|
|
+ width: 100%;
|
|
|
+ padding: 20px 0;
|
|
|
+ border-bottom: 1px solid #e6e6e6;
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: 10% 90%;
|
|
|
+}
|
|
|
+.body #comment .comment .user .u-img {
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.body #comment .comment .user .u-img .img {
|
|
|
+ width: 100%;
|
|
|
+ max-width: 64px;
|
|
|
+}
|
|
|
+.body #comment .comment .user .u-content {
|
|
|
+ margin-left: 10px;
|
|
|
+ text-align: justify;
|
|
|
+}
|
|
|
+.body #comment .comment .user .u-content .u-name {
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
+.body #comment .comment .user .u-content .u-detail {
|
|
|
+ padding: 5px 0px;
|
|
|
+}
|
|
|
+.body #comment .comment .user .u-content .u-flex {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+#toast #report {
|
|
|
+ display: none;
|
|
|
+ text-align: start;
|
|
|
+}
|
|
|
+#toast #report ul {
|
|
|
+ list-style: none;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+#toast #report ul li {
|
|
|
+ padding: 5px;
|
|
|
+ border-bottom: 1px solid #e6e6e6;
|
|
|
}
|