Skip to content

Commit

Permalink
adding print_urls.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
upendra1997 committed Apr 6, 2024
1 parent 2e3b47c commit 9df6526
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions assets/css/print_urls.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@media print{
html, body {
@for $i from 1 through 6 {
h#{$i} {
bookmark-label: content();
bookmark-level: $i;
}
}
}

a {
text-decoration: none;

&:not(.non-existing)::after {
content: " (" attr(href) ")";
font-size: 0.25rem;
vertical-align: middle;
}
}
}

// a {
// text-decoration-line: underline;
// text-decoration-style: dotted;
// text-decoration-thickness: 1px;
// }

0 comments on commit 9df6526

Please sign in to comment.