diff options
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/assets/css/custom.scss | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/exampleSite/assets/css/custom.scss b/exampleSite/assets/css/custom.scss index ef7d192..2f161c0 100644 --- a/exampleSite/assets/css/custom.scss +++ b/exampleSite/assets/css/custom.scss @@ -16,4 +16,33 @@ main.paper { .job_title { // font-style: italic; +} + +@media print { + a { + // use if you want to print the url + &:not(.non-existing)::after { + content: " (" attr(href) ")"; + margin: 0; + font-weight: 400; + font-size: 0.75rem; + color: scale-color($text-color, $lightness: 30%); + } + + .item-title & { + &::after { + content: attr(href); + display: block; + margin: 0; + } + } + + .section-publications & { + &::after { + content: attr(href); + display: block; + margin: 0 0.75rem; + } + } + } }
\ No newline at end of file |