theme: print table and notice box colors and leave code colors plain #35

This commit is contained in:
Sören Weber 2021-08-27 19:39:13 +02:00
parent 40a243deff
commit 0c6576bc24
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -446,6 +446,8 @@ div.notices {
border-top-width: 2rem;
border-top-style: solid;
color: #505050;
-webkit-print-color-adjust: exact;
color-adjust: exact;
margin: 2rem 0;
padding-bottom: .1px;
padding-left: 1rem;
@ -502,6 +504,8 @@ section.attachments {
border-top-width: 2rem;
border-top-style: solid;
color: #505050;
-webkit-print-color-adjust: exact;
color-adjust: exact;
margin: 2rem 0;
padding-left: 1rem;
padding-right: 1rem;
@ -599,6 +603,8 @@ code {
border: 1px solid #F8E8C8;
border-radius: 2px;
color: #5E5E5E;
-webkit-print-color-adjust: economy;
color-adjust: economy;
padding-left: 2px;
padding-right: 2px;
white-space: nowrap;
@ -616,10 +622,12 @@ code.copy-to-clipboard-inline {
}
}
pre {
padding: 1rem;
border: 0;
border-radius: 2px;
-webkit-print-color-adjust: economy;
color-adjust: economy;
line-height: 1.15;
padding: 1rem;
}
@media print {
pre {
@ -629,6 +637,8 @@ pre {
pre code {
background-color: inherit;
color: inherit;
-webkit-print-color-adjust: economy;
color-adjust: economy;
border: 0;
font-size: 15px;
margin: 0;
@ -680,13 +690,15 @@ table {
margin-top: 1rem;
table-layout: auto;
}
th {
th, thead td {
background: #f7f7f7;
padding: 0.5rem;
-webkit-print-color-adjust: exact;
color-adjust: exact;
padding: 0.5rem;
}
td {
padding: 0.5rem;
border: 1px solid #eaeaea;
padding: 0.5rem;
}
.button {
background: #9c6fb6;