hexo-theme-async
Version:
🎈 A simple, lightweight Hexo theme
55 lines (44 loc) • 928 B
text/less
@import "./minix.less";
figure.highlight {
position: relative;
overflow: hidden;
padding: 31px 0 0;
margin-left: 0;
margin-right: 0;
border-radius: 4px;
font-size: 14px ;
line-height: 1.5;
font-family: Menlo, "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, Consolas, monospace;
color: var(--highlight-foreground);
background: var(--highlight-background);
pre {
margin: 0;
padding: 0;
border: none;
}
figcaption,
.caption {
.caption();
}
.tools();
.mac();
.height_limit();
}
& when (@highlightEnable),(@prismjsEnable) {
@import "./theme.less";
}
& when (@highlightEnable) {
@import "./highlight/index.less";
& when(@highlightTheme) {
@import "./highlight/diff.less";
}
}
& when (@prismjsEnable) {
@import "./prismjs/index.less";
& when(@highlightTheme) {
@import "./prismjs/diff.less";
}
& when(@prismjsLineNumber) {
@import "./prismjs/line-number.less";
}
}