GitHub.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. *{margin:0;padding:0;}
  2. body {
  3. font:13.34px helvetica,arial,freesans,clean,sans-serif;
  4. color:black;
  5. line-height:1.4em;
  6. background-color: #F8F8F8;
  7. padding: 0.7em;
  8. }
  9. p {
  10. margin:1em 0;
  11. line-height:1.5em;
  12. }
  13. table {
  14. font-size:inherit;
  15. font:100%;
  16. margin:1em;
  17. }
  18. table th{border-bottom:1px solid #bbb;padding:.2em 1em;}
  19. table td{border-bottom:1px solid #ddd;padding:.2em 1em;}
  20. input[type=text],input[type=password],input[type=image],textarea{font:99% helvetica,arial,freesans,sans-serif;}
  21. select,option{padding:0 .25em;}
  22. optgroup{margin-top:.5em;}
  23. pre,code{font:12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;}
  24. pre {
  25. margin:1em 0;
  26. font-size:12px;
  27. background-color:#eee;
  28. border:1px solid #ddd;
  29. padding:5px;
  30. line-height:1.5em;
  31. color:#444;
  32. overflow:auto;
  33. -webkit-box-shadow:rgba(0,0,0,0.07) 0 1px 2px inset;
  34. -webkit-border-radius:3px;
  35. -moz-border-radius:3px;border-radius:3px;
  36. }
  37. pre code {
  38. padding:0;
  39. font-size:12px;
  40. background-color:#eee;
  41. border:none;
  42. }
  43. code {
  44. font-size:12px;
  45. background-color:#f8f8ff;
  46. color:#444;
  47. padding:0 .2em;
  48. border:1px solid #dedede;
  49. }
  50. img{border:0;max-width:100%;}
  51. abbr{border-bottom:none;}
  52. a{color:#4183c4;text-decoration:none;}
  53. a:hover{text-decoration:underline;}
  54. a code,a:link code,a:visited code{color:#4183c4;}
  55. h2,h3{margin:1em 0;}
  56. h1,h2,h3,h4,h5,h6{border:0;}
  57. h1{font-size:170%;border-top:4px solid #aaa;padding-top:.5em;margin-top:1.5em;}
  58. h1:first-child{margin-top:0;padding-top:.25em;border-top:none;}
  59. h2{font-size:150%;margin-top:1.5em;border-top:4px solid #e0e0e0;padding-top:.5em;}
  60. h3{margin-top:1em;}
  61. hr{border:1px solid #ddd;}
  62. ul{margin:1em 0 1em 2em;}
  63. ol{margin:1em 0 1em 2em;}
  64. ul li,ol li{margin-top:.5em;margin-bottom:.5em;}
  65. ul ul,ul ol,ol ol,ol ul{margin-top:0;margin-bottom:0;}
  66. blockquote{margin:1em 0;border-left:5px solid #ddd;padding-left:.6em;color:#555;}
  67. dt{font-weight:bold;margin-left:1em;}
  68. dd{margin-left:2em;margin-bottom:1em;}
  69. sup {
  70. font-size: 0.83em;
  71. vertical-align: super;
  72. line-height: 0;
  73. }
  74. * {
  75. -webkit-print-color-adjust: exact;
  76. }
  77. @media screen and (min-width: 914px) {
  78. body {
  79. width: 854px;
  80. margin:0 auto;
  81. }
  82. }
  83. @media print {
  84. table, pre {
  85. page-break-inside: avoid;
  86. }
  87. pre {
  88. word-wrap: break-word;
  89. }
  90. }