mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-06 07:51: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 {{{ */
|
/* Print compatibility {{{ */
|
||||||
@media print {
|
@media print {
|
||||||
.top > .navbar,
|
.top > .navbar,
|
||||||
.section-header-link,
|
.content-heading-link,
|
||||||
.post-meta-edit-history,
|
.post-meta-edit-history,
|
||||||
|
.post-meta-view-markdown,
|
||||||
|
.code-copy-button,
|
||||||
.prevnext,
|
.prevnext,
|
||||||
.share-buttons,
|
.share-buttons,
|
||||||
.related-posts {
|
.related-posts {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-heading">
|
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-heading">
|
||||||
{{ .Text | safeHTML }}
|
{{ .Text | safeHTML }}
|
||||||
<a class="heading-link" href="#{{ .Anchor | safeURL }}">
|
<a class="content-heading-link" href="#{{ .Anchor | safeURL }}">
|
||||||
<span aria-label="{{ i18n "aria_heading_link" }}">
|
<span aria-label="{{ i18n "aria_heading_link" }}">
|
||||||
{{ partial "icon.html" "link" }}
|
{{ partial "icon.html" "link" }}
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user