hugo-theme-hilfe/src/sass/_print.scss
2022-11-16 11:06:35 +01:00

51 lines
737 B
SCSS

@media print {
.gdoc-nav,
.gdoc-footer .container span:not(:first-child),
.gdoc-paging,
.editpage {
display: none;
}
.gdoc-footer {
border-top: $border-1 solid $gray-300;
}
.gdoc-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;
}
.gdoc-markdown code {
font-weight: bold;
}
a,
a:visited {
color: inherit !important;
text-decoration: none !important;
}
.gdoc-toc {
flex: none;
nav {
position: relative;
width: auto;
}
}
.wrapper {
display: block;
main {
display: block;
}
}
}