Add custom css to print urls
This commit is contained in:
parent
bfc0eb909f
commit
a494811518
2 changed files with 31 additions and 0 deletions
|
@ -49,6 +49,7 @@ params:
|
|||
useFontAwesome: true
|
||||
css:
|
||||
- custom.scss
|
||||
# - print_urls.scss
|
||||
header:
|
||||
avatar: avatar.jpg
|
||||
contact: true
|
||||
|
|
30
exampleSite/assets/css/print_urls.scss
Normal file
30
exampleSite/assets/css/print_urls.scss
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue