convert into Hugo module theme
This commit is contained in:
parent
b07a2a6cf5
commit
04abc92ae5
98 changed files with 2137 additions and 15971 deletions
41
assets/css/print.scss
Normal file
41
assets/css/print.scss
Normal file
|
@ -0,0 +1,41 @@
|
|||
@media print {
|
||||
html {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
/*
|
||||
a::after {
|
||||
content: " (" attr(href) ")";
|
||||
}
|
||||
*/
|
||||
|
||||
.site-header,
|
||||
.site-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-content {
|
||||
column-width: 17em;
|
||||
column-gap: 3em;
|
||||
widows: 3;
|
||||
orphans: 3;
|
||||
|
||||
&--single {
|
||||
& .site-content {
|
||||
&__header,
|
||||
&__footer,
|
||||
& .article__links {
|
||||
background-color: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& .figure {
|
||||
break-inside: avoid;
|
||||
|
||||
&--gallery {
|
||||
break-inside: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue