hugo-geekblog/src/sass/_print.scss

39 lines
670 B
SCSS
Raw Normal View History

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