Syllabus/themes/piratecare/assets/css/print.css

76 lines
1.3 KiB
CSS
Raw Normal View History

2020-03-27 02:37:53 +00:00
/* paged.js style */
@page {
size: A4;
}
@page :first {
@bottom {
content: none;
}
}
@page {
margin-bottom: 5mm;
@top {
color: #996561;
font-size: 1rem;
font-family: 'VG5000-Regular';
content: element(topic);
}
@bottom {
color: #996561;
font-size: 0.5rem;
font-family: 'VG5000-Regular';
content: "▒▒ 🐟 ▒ ▒▒▒ 🐙 ▒▒▒🏃 ▒▒☄▒ PAGE: " counter(page) " ▒ ▒▒▒▒ ⚡ ▒🔍▒ ☠ ▒ ▒▒▒";
}
}
2020-03-30 01:22:10 +00:00
@page topic:first {
@top {
content: none;
}
}
2020-03-27 02:37:53 +00:00
@media print {
body {
2020-03-30 14:02:53 +00:00
@apply bg-CoconutCream text-Revolver font-playfair;
2020-03-27 02:37:53 +00:00
}
.runningTopic {
position: running(topic);
}
.topic {
break-before: page;
2020-03-30 01:22:10 +00:00
page: topic;
2020-03-27 02:37:53 +00:00
}
.title-text {
@apply font-playfair text-6xl text-AuChico mb-20;
}
.title-pretext {
@apply font-vg5000 text-2xl text-AuChico;
}
.topic-text {
@apply font-playfair text-4xl text-AuChico mb-20;
}
.topic-pretext {
@apply font-vg5000 text-2xl text-AuChico;
}
article ul li:before {
content: "";
}
2020-03-30 01:22:10 +00:00
.toc::after {
text-align: right;
float: right;
content: target-counter(attr(href url), page, decimal-leading-zero);
}
2020-03-27 02:37:53 +00:00
}