| 1 |
.ctc-code-snippet .ctc-block-actions { |
| 2 |
text-align: center; |
| 3 |
margin-top: 20px; |
| 4 |
} |
| 5 |
|
| 6 |
.ctc-code-snippet-file-name { |
| 7 |
display: flex; |
| 8 |
align-items: baseline; |
| 9 |
gap: 8px; |
| 10 |
} |
| 11 |
|
| 12 |
.ctc-code-snippet-file-name svg { |
| 13 |
height: 1em; |
| 14 |
width: 1em; |
| 15 |
font-size: 14px; |
| 16 |
} |
| 17 |
|
| 18 |
.ctc-code-snippet-header { |
| 19 |
display: flex; |
| 20 |
background: rgb(246, 248, 250); |
| 21 |
border: 1px solid rgb(208, 215, 222); |
| 22 |
padding: 8px 15px; |
| 23 |
justify-content: space-between; |
| 24 |
font-size: 14px; |
| 25 |
font-weight: normal; |
| 26 |
border-bottom: 0; |
| 27 |
transition: all 0.3s ease-in-out; |
| 28 |
} |
| 29 |
|
| 30 |
.ctc-block.ctc-code-snippet pre { |
| 31 |
border-radius: 0; |
| 32 |
box-shadow: none; |
| 33 |
margin: 0; |
| 34 |
padding: 20px 25px; |
| 35 |
border: 1px solid rgb(208, 215, 222); |
| 36 |
} |
| 37 |
|
| 38 |
/** Theme: Coy **/ |
| 39 |
.ctc-block.ctc-prism-coy pre:before, |
| 40 |
.ctc-block.ctc-prism-coy pre:after { |
| 41 |
display: none; |
| 42 |
} |
| 43 |
|
| 44 |
.ctc-block.ctc-prism-coy pre { |
| 45 |
padding: 0; |
| 46 |
} |
| 47 |
|
| 48 |
.ctc-code-snippet .ctc-inline-copy-icon svg { |
| 49 |
height: 1em; |
| 50 |
width: 1em; |
| 51 |
font-size: inherit; |
| 52 |
line-height: inherit; |
| 53 |
} |