-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blog.ctext.top |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
var posts=["4814.html","579f.html","3e6a.html","9d22.html","17dd.html","77f2.html","c018.html","37ef.html","1c94.html","fb6a.html","b78b.html","ebff.html","7104.html","eaa2.html","782d.html","fe0d.html","e7aa.html"];function toRandomPost(){ | ||
pjax.loadUrl('/'+posts[Math.floor(Math.random() * posts.length)]); | ||
}; |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
|
||
|
||
|
||
/*人生倒计时侧边栏*/ | ||
.aside-count .content .item { | ||
margin-bottom: 5px; | ||
line-height: initial; | ||
} | ||
|
||
.aside-count .content .item:last-child { | ||
margin-bottom: 0 | ||
} | ||
|
||
.aside-count .content .item .title { | ||
font-size: 12px; | ||
color: var(--minor); | ||
display: flex; | ||
align-items: center | ||
} | ||
|
||
.aside-count .content .item .title span { | ||
color: var(--theme); | ||
font-weight: 500; | ||
font-size: 14px; | ||
margin: 0 5px | ||
} | ||
|
||
.aside-count .content .item .progress { | ||
display: flex; | ||
align-items: center | ||
} | ||
|
||
.aside-count .content .item .progress .progress-bar { | ||
height: 10px; | ||
border-radius: 5px; | ||
overflow: hidden; | ||
background: var(--classC); | ||
width: 0; | ||
min-width: 0; | ||
flex: 1; | ||
margin-right: 5px | ||
} | ||
@keyframes progress { | ||
0% { | ||
background-position: 0 0 | ||
} | ||
|
||
100% { | ||
background-position: 30px 0 | ||
} | ||
} | ||
.aside-count .content .item .progress .progress-bar .progress-inner { | ||
width: 0; | ||
height: 100%; | ||
border-radius: 5px; | ||
transition: width 0.35s; | ||
-webkit-animation: progress 750ms linear infinite; | ||
animation: progress 750ms linear infinite | ||
} | ||
|
||
.aside-count .content .item .progress .progress-bar .progress-inner-1 { | ||
background: #bde6ff; | ||
background-image: linear-gradient(135deg, #50bfff 25%, transparent 25%, transparent 50%, #50bfff 50%, #50bfff 75%, transparent 75%, transparent 100%); | ||
background-size: 30px 30px | ||
} | ||
|
||
.aside-count .content .item .progress .progress-bar .progress-inner-2 { | ||
background: #ffd980; | ||
background-image: linear-gradient(135deg, #f7ba2a 25%, transparent 25%, transparent 50%, #f7ba2a 50%, #f7ba2a 75%, transparent 75%, transparent 100%); | ||
background-size: 30px 30px | ||
} | ||
|
||
.aside-count .content .item .progress .progress-bar .progress-inner-3 { | ||
background: #ffa9a9; | ||
background-image: linear-gradient(135deg, #ff4949 25%, transparent 25%, transparent 50%, #ff4949 50%, #ff4949 75%, transparent 75%, transparent 100%); | ||
background-size: 30px 30px | ||
} | ||
|
||
.aside-count .content .item .progress .progress-bar .progress-inner-4 { | ||
background: #67c23a; | ||
background-image: linear-gradient(135deg, #4f9e28 25%, transparent 25%, transparent 50%, #4f9e28 50%, #4f9e28 75%, transparent 75%, transparent 100%); | ||
background-size: 30px 30px | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*主页文章卡片添加擦亮动画效果*/ | ||
#recent-posts > .recent-post-item:not(a)::before { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 200%; | ||
background: linear-gradient(to right, transparent, white, transparent); | ||
transform: translateX(-200%); | ||
transition: transform 0.5s linear; | ||
z-index: 1; | ||
} | ||
#recent-posts > .recent-post-item:not(a):hover::before { | ||
transform: translateX(100%) skewX(-60deg); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*@font-face {*/ | ||
/* font-family: 'DingTalk';*/ | ||
/* src: url('https://up.ctext.top/font/DingTalk%20JinBuTi.ttf') format('truetype');*/ | ||
/* font-weight: normal;*/ | ||
/* font-style: normal;*/ | ||
/*}*/ | ||
|
||
/*body {*/ | ||
/* font-family: 'DingTalk', sans-serif; !* sans-serif 是备用字体 *!*/ | ||
/*}*/ | ||
@import url('https://cdn.jsdelivr.net/npm/cn-fontsource-ding-talk-jin-bu-ti-regular/font.css'); | ||
body, html { | ||
font-family: Roboto, "DingTalk JinBuTi", sans-serif !important; | ||
} |