From b946655a00a38dc7c0f7c730168ff59c34fec9bf Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Mon, 30 Mar 2020 16:02:53 +0200 Subject: [PATCH] playing with css for print... --- static/css/styles.css | 3 +-- themes/piratecare/assets/css/print.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 082e198..e0ecee8 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -15,5 +15,4 @@ font-family: 'VG5000-Regular'; content: "▒▒ 🐟 ▒ ▒▒▒ 🐙 ▒▒▒🏃 ▒▒☄▒ PAGE: " counter(page) " ▒ ▒▒▒▒ ⚡ ▒🔍▒ ☠ ▒ ▒▒▒"; - }}@page topic:first{@top{content: none; - }}@media print{body{background-color:#f2f6d5;color:#29102f}.runningTopic{position:running(topic)}.topic{-webkit-column-break-before:page;-moz-column-break-before:page;break-before:page;page:topic}.title-text{font-family:playfairdisplay regular,sans;font-size:4rem;color:#996561;margin-bottom:5rem}.title-pretext{font-family:vg5000-regular,sans;font-size:1.5rem;color:#996561}.topic-text{font-family:playfairdisplay regular,sans;font-size:2.25rem;color:#996561;margin-bottom:5rem}.topic-pretext{font-family:vg5000-regular,sans;font-size:1.5rem;color:#996561}.ddmenu{padding-top:4rem}article ul li:before{content:""}.toc::after{text-align:right;float:right;content:target-counter(attr(href url),page,decimal-leading-zero)}}@media(max-width:767px){.md\:flex-row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.md\:w-full{width:100%}}@media(min-width:768px){.lg\:flex{display:-webkit-box;display:flex}.lg\:static{position:static}.lg\:sticky{position:-webkit-sticky;position:sticky}.lg\:top-0{top:0}.lg\:w-2\/5{width:40%}.lg\:w-3\/5{width:60%}} \ No newline at end of file + }}@media print{body{background-color:#f2f6d5}.runningTopic{position:running(topic)}.topic{-webkit-column-break-before:page;-moz-column-break-before:page;break-before:page}.title-text{font-family:playfairdisplay regular,sans;font-size:4rem;color:#996561;margin-bottom:5rem}.title-pretext{font-family:vg5000-regular,sans;font-size:1.5rem;color:#996561}.topic-text{font-family:playfairdisplay regular,sans;font-size:2.25rem;color:#996561;margin-bottom:5rem}.topic-pretext{font-family:vg5000-regular,sans;font-size:1.5rem;color:#996561}.ddmenu{padding-top:4rem}article ul li:before{content:""}.toc::after{text-align:right;float:right;content:" " target-counter(attr(href url),page,upper-roman)}}@media(max-width:767px){.md\:flex-row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.md\:w-full{width:100%}}@media(min-width:768px){.lg\:flex{display:-webkit-box;display:flex}.lg\:static{position:static}.lg\:sticky{position:-webkit-sticky;position:sticky}.lg\:top-0{top:0}.lg\:w-2\/5{width:40%}.lg\:w-3\/5{width:60%}} \ No newline at end of file diff --git a/themes/piratecare/assets/css/print.css b/themes/piratecare/assets/css/print.css index a316c17..1b52176 100644 --- a/themes/piratecare/assets/css/print.css +++ b/themes/piratecare/assets/css/print.css @@ -35,7 +35,7 @@ @media print { body { - @apply bg-CoconutCream text-Revolver; + @apply bg-CoconutCream text-Revolver font-playfair; } .runningTopic {