mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
theme: print table and notice box colors and leave code colors plain #35
This commit is contained in:
parent
40a243deff
commit
0c6576bc24
1 changed files with 16 additions and 4 deletions
|
@ -446,6 +446,8 @@ div.notices {
|
||||||
border-top-width: 2rem;
|
border-top-width: 2rem;
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
color: #505050;
|
color: #505050;
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
|
color-adjust: exact;
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
padding-bottom: .1px;
|
padding-bottom: .1px;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
|
@ -502,6 +504,8 @@ section.attachments {
|
||||||
border-top-width: 2rem;
|
border-top-width: 2rem;
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
color: #505050;
|
color: #505050;
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
|
color-adjust: exact;
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
|
@ -599,6 +603,8 @@ code {
|
||||||
border: 1px solid #F8E8C8;
|
border: 1px solid #F8E8C8;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #5E5E5E;
|
color: #5E5E5E;
|
||||||
|
-webkit-print-color-adjust: economy;
|
||||||
|
color-adjust: economy;
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
padding-right: 2px;
|
padding-right: 2px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -616,10 +622,12 @@ code.copy-to-clipboard-inline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pre {
|
pre {
|
||||||
padding: 1rem;
|
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
-webkit-print-color-adjust: economy;
|
||||||
|
color-adjust: economy;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
pre {
|
pre {
|
||||||
|
@ -629,6 +637,8 @@ pre {
|
||||||
pre code {
|
pre code {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
-webkit-print-color-adjust: economy;
|
||||||
|
color-adjust: economy;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -680,13 +690,15 @@ table {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
table-layout: auto;
|
table-layout: auto;
|
||||||
}
|
}
|
||||||
th {
|
th, thead td {
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
|
color-adjust: exact;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
padding: 0.5rem;
|
|
||||||
border: 1px solid #eaeaea;
|
border: 1px solid #eaeaea;
|
||||||
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
background: #9c6fb6;
|
background: #9c6fb6;
|
||||||
|
|
Loading…
Reference in a new issue