mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +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-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;
|
||||
|
|
Loading…
Reference in a new issue