hugo-geekblog/src/sass/_print.scss

39 lines
670 B
SCSS

@media print {
.gblog-nav,
.gblog-footer .container div:not(:last-child),
.gblog-paging,
.gblog-post__readmore,
.gblog-post__anchor {
display: none;
}
.gblog-header {
border-bottom: $border-1 solid $gray-300;
}
.gblog-footer {
border-top: $border-1 solid $gray-300;
}
.gblog-markdown pre {
white-space: pre-wrap;
overflow-wrap: break-word;
}
.chroma code {
border: $border-1 solid $gray-300;
padding: $padding-8 !important;
font-weight: normal !important;
}
.gblog-markdown code {
font-weight: bold;
}
a,
a:visited {
color: inherit !important;
text-decoration: none !important;
}
}