Bez popisu

prettify.css 858B

1234567891011121314151617181920212223242526272829303132
  1. .com { color: #93a1a1; }
  2. .lit { color: #195f91; }
  3. .pun, .opn, .clo { color: #93a1a1; }
  4. .fun { color: #dc322f; }
  5. .str, .atv { color: #D14; }
  6. .kwd, .prettyprint .tag { color: #1e347b; }
  7. .typ, .atn, .dec, .var { color: teal; }
  8. .pln { color: #48484c; }
  9. .prettyprint {
  10. padding: 8px;
  11. background-color: #f7f7f9;
  12. border: 1px solid #e1e1e8;
  13. max-height: 220px;
  14. overflow-y: auto;
  15. }
  16. .prettyprint.linenums {
  17. -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  18. -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  19. box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  20. }
  21. /* Specify class=linenums on a pre to get line numbering */
  22. ol.linenums {
  23. margin: 0 0 0 33px; /* IE indents via margin-left */
  24. }
  25. ol.linenums li {
  26. padding-left: 12px;
  27. color: #bebec5;
  28. line-height: 20px;
  29. text-shadow: 0 1px 0 #fff;
  30. }