feat: faster, support custom lib cdn and more standardized code style

This commit is contained in:
Dillon
2019-08-23 02:01:22 +08:00
parent f1ec275c9f
commit 934c3a5156
60 changed files with 10458 additions and 170 deletions

View File

@@ -2,13 +2,13 @@
.post-header {
.post-title {
margin: 0 !important;
font-size: 2em;
line-height: 1.5em;
font-size: 2rem;
line-height: 3rem;
}
}
.post-meta {
font-size: 14px;
font-size: .88rem;
color: rgba(85, 85, 85, 0.52941) !important;
span {
@@ -36,20 +36,24 @@
}
.author {
font-size: 1.2em;
font-size: 1.05rem;
}
}
.post-featured-image {
padding-top: .6rem;
}
.post-toc {
position: absolute;
width: 240px;
max-width: 300px;
margin-left: 800px;
padding: 10px;
padding: .8rem;
border-left: 1px solid $global-border-color;
word-wrap: break-word;
box-sizing: border-box;
top: 200px;
top: 12rem;
.post-toc-title {
font-weight: 400;
@@ -86,7 +90,7 @@
}
.post-toc-mobile {
padding: 10px 0;
padding-top: .8rem;
details {
summary {

View File

@@ -21,7 +21,7 @@
border-bottom: 1px dashed $global-border-color-dark;
}
.featured_image_preview {
.post-featured-image-preview {
width: 100%;
padding: 30% 0 0;
position: relative;

4
assets/css/lib/VERSION Normal file
View File

@@ -0,0 +1,4 @@
fontawesome-free@5.10.1
gittalk@1.5.0
katex@0.11.0
aplayer@1.10.1

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

1
assets/css/lib/katex/katex.min.css vendored Normal file

File diff suppressed because one or more lines are too long