This commit is contained in:
Van
2019-07-17 22:12:56 +08:00
parent 1c3224f3de
commit d86f8340b5
40 changed files with 720 additions and 519 deletions

File diff suppressed because one or more lines are too long

View File

@@ -19,7 +19,7 @@
* skin style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.2.0.0, Mar 22, 2019
* @version 0.3.0.0, Jul 17, 2019
*/
@import "../../../scss/reset";
@import "../../../scss/function";
@@ -30,8 +30,8 @@
$red: #eb5055 !default;
$black: #313131 !default;
$fade: rgba(0,0,0,.38) !default;
$gray: #5f5f5f !default;
$fade: rgba(0, 0, 0, .38) !default;
$gray: #5f5f5f !default;
$gray-lighter: #e0e0e0 !default;
$gray-lightest: #f7f7f7 !default;
@@ -75,11 +75,16 @@ a:active, a:focus, a:hover {
a {
color: $black;
border-bottom: 1px solid $gray-lighter;
&:hover {
color: $red;
border-bottom: 1px solid $red;
}
}
&::-webkit-scrollbar {
display: none;
}
}
.ft__fade {
@@ -92,6 +97,7 @@ a:active, a:focus, a:hover {
.ft__link {
color: $gray;
&:hover {
color: #000;
}
@@ -108,6 +114,7 @@ a:active, a:focus, a:hover {
background: #6fa3ef;
border-radius: 12px;
margin-left: 10px;
&:hover {
color: $gray;
background: $gray-lighter;
@@ -116,21 +123,27 @@ a:active, a:focus, a:hover {
&--1 {
background: #ff9800;
}
&--2 {
background: #46c47c;
}
&--3 {
background: $red;
}
&--4 {
background: #db4437;
}
&--5 {
background: #1b95e0;
}
&--6 {
background: #fdc200;
}
&--7 {
background: #4caf50;
}
@@ -141,12 +154,14 @@ a:active, a:focus, a:hover {
padding: 0 10px;
box-sizing: border-box;
margin: 0 auto;
&--min {
animation: fade-in;
animation-duration: .5s;
padding-top: 115px;
max-width: 900px;
}
&--miner {
animation: fade-in;
animation-duration: .5s;
@@ -167,8 +182,10 @@ a:active, a:focus, a:hover {
width: 100%;
height: 70px;
box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
&__logo {
font-size: 20px;
img {
margin: 10px 5px 0 0;
height: 50px;
@@ -179,8 +196,10 @@ a:active, a:focus, a:hover {
&__nav {
float: right;
a {
margin: 0 15px;
&.current {
color: $red;
}
@@ -237,31 +256,38 @@ a:active, a:focus, a:hover {
line-height: 20px;
position: relative;
font-size: 13px;
&__border {
border-bottom: 1px solid rgba(184, 197, 214, .2);
margin-bottom: 40px;
}
&__nav {
text-align: center;
height: 95px;
line-height: 95px;
a {
padding: 0 25px;
}
img {
height: 20px;
width: 20px;
margin-right: 3px;
}
}
&__mid {
margin: 0 40px;
}
&__copyright {
font-size: 12px;
text-align: center;
color: $fade;
}
.wrapper {
padding-bottom: 40px;
}
@@ -275,6 +301,7 @@ a:active, a:focus, a:hover {
align-items: center;
box-sizing: border-box;
transition: all .3s;
&__container {
position: relative;
border-radius: 3px;
@@ -282,6 +309,7 @@ a:active, a:focus, a:hover {
box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
overflow: hidden;
}
&__cover {
margin-bottom: 130px;
height: 250px;
@@ -289,6 +317,7 @@ a:active, a:focus, a:hover {
background-position: 50% 50%;
background-size: cover;
}
&__slant {
transform: rotate(-10deg) translate(10px, -10px);
opacity: .7;
@@ -299,6 +328,7 @@ a:active, a:focus, a:hover {
width: 110%;
height: 100px;
background-color: rgba(0, 0, 0, .5);
&--white {
left: 3px;
opacity: 1;
@@ -307,6 +337,7 @@ a:active, a:focus, a:hover {
background-color: #fff;
}
}
&__main {
top: 250px;
height: 130px;
@@ -316,6 +347,7 @@ a:active, a:focus, a:hover {
position: absolute;
width: 100%;
}
&__abstract {
position: absolute;
height: 100%;
@@ -326,6 +358,7 @@ a:active, a:focus, a:hover {
word-break: break-all;
box-sizing: border-box;
transition: all .5s;
& > a {
color: #fff;
display: block;
@@ -341,6 +374,7 @@ a:active, a:focus, a:hover {
&__title {
margin-bottom: 2px;
height: 44px;
a {
font-size: 18px;
line-height: 22px;
@@ -362,13 +396,16 @@ a:active, a:focus, a:hover {
&__container:hover {
box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
.item {
&__cover {
transform: scale(1.1);
filter: blur(3px);
}
&__abstract {
background-color: rgba(0, 0, 0, .5);
& > a {
animation: fade-in;
animation-duration: .5s;
@@ -383,6 +420,7 @@ a:active, a:focus, a:hover {
.pagination {
text-align: center;
margin: 25px 0 40px;
&__item {
color: $gray;
padding: 0 15px;
@@ -414,6 +452,7 @@ a:active, a:focus, a:hover {
&--unpinned {
animation-name: unpinned;
}
&--pinned {
animation-name: pinned;
}
@@ -454,6 +493,7 @@ a:active, a:focus, a:hover {
&__arrow {
float: right;
a {
margin-left: 20px;
line-height: 48px;
@@ -466,11 +506,13 @@ a:active, a:focus, a:hover {
font-weight: 400;
font-size: 21px;
}
sup {
font-weight: normal;
color: $red;
}
}
&__meta {
font-size: 12px;
margin: 5px 0 15px;
@@ -479,6 +521,7 @@ a:active, a:focus, a:hover {
&__tags {
border-bottom: 1px solid $gray-lighter;
margin-bottom: 15px;
.tag {
margin: 0 10px 15px 0;
}
@@ -511,6 +554,7 @@ a:active, a:focus, a:hover {
a {
color: $gray;
&:hover {
color: #000;
}
@@ -536,9 +580,11 @@ a:active, a:focus, a:hover {
margin: 0;
font-size: 14px;
line-height: 24px;
li.current a {
color: $red;
}
a {
display: block;
margin-top: -24px;
@@ -556,6 +602,7 @@ a:active, a:focus, a:hover {
content: '';
border-radius: 50%;
}
&.current:before {
background-color: $red;
}
@@ -570,6 +617,7 @@ a:active, a:focus, a:hover {
.comment {
max-width: 700px;
box-sizing: border-box;
&-body-ref {
position: absolute;
left: 80px;
@@ -659,6 +707,7 @@ a:active, a:focus, a:hover {
margin: 15px;
min-width: 115px;
line-height: 22px;
&:hover {
transform: scale(1.03);
}
@@ -741,8 +790,10 @@ a:active, a:focus, a:hover {
top: 70px;
width: 100%;
left: 0;
li {
list-style: none;
a {
display: block;
line-height: 30px;