Skip to content

Commit

Permalink
Merge pull request #884 from KTruesdellENA/bugfix/docs-code-view-unre…
Browse files Browse the repository at this point in the history
…adable

update the custom css
  • Loading branch information
nathanejohnson authored Jul 12, 2022
2 parents 5026127 + 91e9b04 commit fe7b872
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,26 @@ p.since::before {
p.since {
font-size: 16px;
}

/* adjustment to code example sections so they are more readable */
pre[class*="language"], pre code[class*="language"] {
text-shadow: none;
color: #808080;
}
pre code .token.operator, pre code[class*="operator"] {
background: inherit;
}
.clipboard-copy {
top: 6px !important;
right: 8px;
color: #808080;
background-color: transparent;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
opacity: 1;
padding: 2px 5px;
}
pre .language-name {
right: 75px;
}

0 comments on commit fe7b872

Please sign in to comment.