2
0

_hljs.scss 589 B

123456789101112131415161718192021222324252627282930313233343536
  1. pre.hljs {
  2. position: relative;
  3. // override Highlight Js Style Border
  4. border-radius: 3px;
  5. &.hljs-no-border {
  6. border: none;
  7. }
  8. cite {
  9. position: absolute;
  10. top: 0;
  11. right: 0;
  12. padding: 0 4px;
  13. font-style: normal;
  14. font-weight: bold;
  15. color: #333;
  16. background: #ccc;
  17. opacity: 0.6;
  18. }
  19. }
  20. // styles for highlightjs-line-numbers
  21. .hljs-ln td.hljs-ln-numbers {
  22. padding-right: 5px;
  23. color: #ccc;
  24. text-align: center;
  25. vertical-align: top;
  26. user-select: none;
  27. border-right: 1px solid #ccc;
  28. }
  29. .hljs-ln td.hljs-ln-code {
  30. padding-left: 10px;
  31. }