mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-05 15:31:36 -05:00
Remove a few unnecessary elements when printing
- Hide clickable link icon on headings in articles - Hide "Copy" button on code blocks - Hide "View raw" button in page metadata
This commit is contained in:
@@ -924,8 +924,10 @@ aside.quote {
|
||||
/* Print compatibility {{{ */
|
||||
@media print {
|
||||
.top > .navbar,
|
||||
.section-header-link,
|
||||
.content-heading-link,
|
||||
.post-meta-edit-history,
|
||||
.post-meta-view-markdown,
|
||||
.code-copy-button,
|
||||
.prevnext,
|
||||
.share-buttons,
|
||||
.related-posts {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-heading">
|
||||
{{ .Text | safeHTML }}
|
||||
<a class="heading-link" href="#{{ .Anchor | safeURL }}">
|
||||
<a class="content-heading-link" href="#{{ .Anchor | safeURL }}">
|
||||
<span aria-label="{{ i18n "aria_heading_link" }}">
|
||||
{{ partial "icon.html" "link" }}
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user