hugo-geekdoc/src/sass/_print.scss

51 lines
737 B
SCSS
Raw Normal View History

2020-01-12 14:33:02 +00:00
@media print {
.gdoc-nav,
2020-11-09 21:06:06 +00:00
.gdoc-footer .container span:not(:first-child),
.gdoc-paging,
2020-11-09 21:06:06 +00:00
.editpage {
2020-01-12 14:33:02 +00:00
display: none;
}
2020-11-09 21:06:06 +00:00
.gdoc-footer {
border-top: $border-1 solid $gray-300;
2020-11-09 21:06:06 +00:00
}
.gdoc-markdown pre {
white-space: pre-wrap;
overflow-wrap: break-word;
}
.chroma code {
border: $border-1 solid $gray-300;
2020-11-09 21:06:06 +00:00
padding: $padding-8 !important;
font-weight: normal !important;
}
.gdoc-markdown code {
font-weight: bold;
}
a,
a:visited {
color: inherit !important;
text-decoration: none !important;
}
2020-01-12 14:33:02 +00:00
.gdoc-toc {
flex: none;
nav {
position: relative;
width: auto;
}
}
.wrapper {
display: block;
main {
display: block;
}
}
2020-01-12 14:33:02 +00:00
}