diff options
author | mertbakir <2335694-mertbakir@users.noreply.gitlab.com> | 2021-10-23 02:39:32 +0300 |
---|---|---|
committer | mertbakir <mertbakxr@gmail.com> | 2021-10-23 02:53:53 +0300 |
commit | c140d401bbc8d8edba6ac70de1630a40f60c8c06 (patch) | |
tree | ebeba46b06036333643d007552fbc29e0b216d05 /exampleSite | |
parent | a67e0f4bc91b0baec701d50cc091bd4fb78da2bc (diff) |
Update CSS & README
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 |