_code.scss 645 B

12345678910111213141516171819202122232425262728293031323334353637
  1. pre, code, tt {
  2. font-family: Inconsolata, Consolas, Courier, "Courier New", "Liberation Mono", monospace;
  3. font-size: 0.85em;
  4. white-space: pre-wrap;
  5. border-radius: 2px;
  6. line-height: 1.4;
  7. font-weight: 400;
  8. background-color: #404145;
  9. color: #FAFAFA;
  10. border-radius: 2px;
  11. }
  12. pre {
  13. box-sizing: border-box;
  14. margin: 0 0 1.75em 0;
  15. width: 100%;
  16. padding: 10px;
  17. font-size: 0.9em;
  18. white-space: pre;
  19. overflow: auto;
  20. border-radius: 3px;
  21. code, tt {
  22. font-size: inherit;
  23. white-space: pre-wrap;
  24. background: transparent;
  25. border: none;
  26. padding: 0
  27. }
  28. }
  29. blockquote > code,
  30. li > code,
  31. p > code {
  32. padding: 4px 6px;
  33. white-space: nowrap;
  34. }