print.css 991 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* Smaller font for printing */
  2. body {
  3. font:14px/1.5 Helvetica,Arial;
  4. }
  5. /* Show link urls, imitating markdown syntax */
  6. a:link, a:visited { text-decoration:none; }
  7. a:link:before, a:visited:before { content:"["; }
  8. a:link:after, a:visited:after { content:"](" attr(href) ")"; }
  9. /* Hide things like navigation, header links, etc. */
  10. #kodoc-header,
  11. #kodoc-nav,
  12. #kodoc-menu,
  13. #kodoc-page-toc,
  14. .syntaxhighlighter .toolbar,
  15. h1 a.permalink,
  16. h2 a.permalink,
  17. h3 a.permalink,
  18. h4 a.permalink,
  19. h5 a.permalink,
  20. h6 a.permalink
  21. { display:none; }
  22. pre {
  23. padding:1em;
  24. border:1px dashed #999;
  25. }
  26. table {
  27. border-left: 1px solid #999;
  28. border-top: 1px solid #999;
  29. }
  30. table td, table th {
  31. padding:0.4em 0.8em;
  32. border-right: 1px solid #999;
  33. border-bottom: 1px solid #999;
  34. }
  35. /* syntax highlighter tables inside pre cause problems */
  36. pre table, pre table td, pre table th {
  37. padding:0;
  38. border:none;
  39. }
  40. p.note { padding:1em; border: 1px solid black; }
  41. p.note:before { content:"Note: "; font-weight:bold; }