godoc.css 1020 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* This code is dedicated to the Public Domain. */
  2. body {
  3. margin: 0;
  4. font-family: Arial, sans-serif;
  5. background-color: white;
  6. color: #222;
  7. line-height: 1.3rem;
  8. }
  9. p {
  10. max-width: 800px;
  11. word-wrap: break-word;
  12. margin: 1.25rem;
  13. }
  14. pre {
  15. font-family: Menlo, monospace;
  16. font-size: 0.9rem;
  17. line-height: 1.4em;
  18. overflow-x: auto;
  19. tab-size: 4;
  20. background: #EFEFEF;
  21. padding: 0.625rem;
  22. border-radius: 0.3rem;
  23. }
  24. h1, h2, h3 {
  25. margin: 1.25rem 0 1.25rem;
  26. padding: 0;
  27. color: #375EAB;
  28. font-weight: bold;
  29. }
  30. h1 {
  31. font-size: 1.75rem;
  32. line-height: 1;
  33. }
  34. h2 {
  35. font-size: 1.25rem;
  36. background: #E0EBF5;
  37. padding: 0.5rem;
  38. line-height: 1.25;
  39. font-weight: bold;
  40. }
  41. h3 {
  42. font-size: 1.25rem;
  43. margin: 1.25rem 0.3rem;
  44. }
  45. a {
  46. font-family: inherit;
  47. color: #375EAB; /* the color used by golang.org */
  48. text-decoration: none;
  49. }
  50. a:hover {
  51. text-decoration: underline;
  52. }
  53. @media print {
  54. pre {
  55. background: white;
  56. border: 1px solid #BBB;
  57. white-space: pre-wrap;
  58. }
  59. }