diff --git a/config.yaml b/config.yaml index 01f832b..77758c2 100644 --- a/config.yaml +++ b/config.yaml @@ -49,6 +49,7 @@ params: useFontAwesome: true css: - custom.scss +# - print_urls.scss header: avatar: avatar.jpg contact: true diff --git a/exampleSite/assets/css/print_urls.scss b/exampleSite/assets/css/print_urls.scss new file mode 100644 index 0000000..159a03b --- /dev/null +++ b/exampleSite/assets/css/print_urls.scss @@ -0,0 +1,30 @@ + +@media print { + + a:not(.non-existing)::after { + content: " (" attr(href) ")"; + margin: 0; + font-weight: 400; + font-size: 0.75rem; + color: scale-color(#202020, $lightness: 30%); + } + + a { + + .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