Skip to content

Commit

Permalink
Coy: Set z-index to make shadows visible in colored table cells (#3161)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonweiting committed Oct 24, 2021
1 parent 1cac355 commit 79f250f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions themes/prism-coy.css
Expand Up @@ -34,8 +34,10 @@ pre[class*="language-"] {
overflow: visible;
padding: 1px;
}
pre[class*="language-"]>code {

pre[class*="language-"] > code {
position: relative;
z-index: 1;
border-left: 10px solid #358ccb;
box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
background-color: #fdfdfd;
Expand Down Expand Up @@ -77,7 +79,6 @@ pre[class*="language-"] {
pre[class*="language-"]:before,
pre[class*="language-"]:after {
content: '';
z-index: -2;
display: block;
position: absolute;
bottom: 0.75em;
Expand Down
2 changes: 1 addition & 1 deletion themes/prism-coy.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 79f250f

Please sign in to comment.