2022-05-21 17:47:26 +08:00
|
|
|
.post-body {
|
|
|
|
font-family: $font-family-posts;
|
|
|
|
@include word-wrap();
|
|
|
|
|
|
|
|
@include desktop-large() {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include desktop() {
|
2022-05-21 21:48:27 +08:00
|
|
|
text-align: unquote($text_align_desktop);
|
2022-05-21 17:47:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@include tablet-mobile() {
|
2022-05-21 21:48:27 +08:00
|
|
|
text-align: unquote($text_align_mobile);
|
2022-05-21 17:47:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
// Supported plugins: hexo-renderer-markdown-it hexo-renderer-marked
|
|
|
|
.header-anchor, .headerlink {
|
|
|
|
border-bottom-style: none;
|
|
|
|
color: inherit;
|
|
|
|
float: right;
|
|
|
|
font-size: $font-size-small;
|
|
|
|
margin-left: 10px;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include font-family-icons('\f0c1');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.header-anchor, .headerlink {
|
|
|
|
opacity: .5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.exturl .fa {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// For fancybox and pandoc
|
|
|
|
.image-caption, img + figcaption, .fancybox + figcaption {
|
|
|
|
color: $grey-dark;
|
|
|
|
font-size: $font-size-small;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1;
|
|
|
|
margin: -15px auto 15px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe, img, video, embed {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-container {
|
|
|
|
height: 0;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 75%;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
iframe, object, embed {
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2022-08-13 14:31:43 +08:00
|
|
|
|
|
|
|
svg {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
2024-12-08 17:01:27 +08:00
|
|
|
|
|
|
|
// For read more post content anchor
|
|
|
|
#more {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2025-01-03 15:25:04 +08:00
|
|
|
|
2025-01-18 22:06:49 +08:00
|
|
|
/** Defined speical border properties for top card of post **/
|
|
|
|
$speical-border-width: 5px;
|
|
|
|
$speical-border-radius: 8px;
|
2025-01-03 20:48:41 +08:00
|
|
|
.post-expired-tip {
|
|
|
|
|
2025-01-18 22:06:49 +08:00
|
|
|
$expired-color: #4A90E2;
|
|
|
|
|
|
|
|
font-size: var(--font-size-small);
|
2025-01-03 20:48:41 +08:00
|
|
|
border: 1px solid #4A90E2;
|
2025-01-18 22:06:49 +08:00
|
|
|
border-radius: $speical-border-radius;
|
|
|
|
border-left: $speical-border-width solid #4A90E2;
|
|
|
|
border-top: $speical-border-width solid #4A90E2;
|
|
|
|
box-shadow: .6rem .5rem 0.3rem var(--body-bg-color);
|
2025-01-03 20:48:41 +08:00
|
|
|
margin: 0 0 0.85em 0;
|
|
|
|
padding: 0.65em 0.15em 0.65em 0.95em;
|
2025-01-04 11:11:15 +08:00
|
|
|
display: none;
|
2025-01-03 20:48:41 +08:00
|
|
|
|
|
|
|
.post-expired-title {
|
|
|
|
color: #4A90E2;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-expired-times {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.15em;
|
|
|
|
color: #e5534b;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-01-18 22:06:49 +08:00
|
|
|
.post-summary-wrapper {
|
|
|
|
$summary-color: #ea6733;
|
|
|
|
|
|
|
|
margin: 0 0 .85em 0;
|
|
|
|
border-radius: $speical-border-radius;
|
|
|
|
border: 1px solid $summary-color;
|
|
|
|
border-right: $speical-border-width solid $summary-color;
|
|
|
|
border-bottom: $speical-border-width solid $summary-color;
|
|
|
|
box-shadow: .6rem .5rem 0.3rem var(--body-bg-color);
|
|
|
|
|
|
|
|
.summary-title {
|
|
|
|
margin: .65em .93em 0 .93em;
|
|
|
|
color: $summary-color;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary-content {
|
|
|
|
background-color: var(--card-bg-color);
|
|
|
|
border-radius: $speical-border-radius;
|
|
|
|
box-shadow: .08rem .06rem 0.03rem var(--body-bg-color);
|
|
|
|
margin: .85em;
|
|
|
|
padding: .85em .95em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-01-03 20:48:41 +08:00
|
|
|
@import 'post-alert';
|
2022-05-21 17:47:26 +08:00
|
|
|
}
|