mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
64 lines
1.1 KiB
Stylus
64 lines
1.1 KiB
Stylus
.content {
|
|
padding-top: 40px;
|
|
}
|
|
|
|
.post-body {
|
|
+desktop() {
|
|
text-align: unquote(hexo-config('text_align.desktop'));
|
|
}
|
|
|
|
+tablet-mobile() {
|
|
text-align: unquote(hexo-config('text_align.mobile'));
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
padding-top: 10px;
|
|
|
|
// 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 {
|
|
font-family-icons('\f0c1');
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
.header-anchor, .headerlink {
|
|
opacity: .5;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
iframe, img, video {
|
|
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%;
|
|
}
|
|
}
|
|
}
|