2
0

page.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. @font-face {
  2. font-family: 'inconsolata';
  3. src: url('files/inconsolata.woff') format('woff');
  4. font-weight: normal;
  5. font-style: normal;
  6. }
  7. body {
  8. margin: 30px 20px;
  9. color: #555;
  10. font-family: 'inconsolata';
  11. font-size: 15px;
  12. line-height: 18px;
  13. tab-size: 4;
  14. overflow: auto;
  15. }
  16. a {
  17. color: #1184CE;
  18. cursor: pointer;
  19. text-decoration: underline;
  20. }
  21. h1 {
  22. color: #333;
  23. font-size: 25px;
  24. font-weight: normal;
  25. margin-top: 10px;
  26. }
  27. h2 {
  28. color: #4B0;
  29. font-size: 18px;
  30. font-weight: normal;
  31. margin-top: 40px;
  32. }
  33. h3 {
  34. color: #000;
  35. font-size: 16px;
  36. font-weight: normal;
  37. margin-top: 40px;
  38. }
  39. p, ul, ol {
  40. margin-top: 0;
  41. margin-bottom: 20px;
  42. max-width: 780px;
  43. }
  44. div {
  45. /* padding-left: 30px; */
  46. margin-bottom: 20px;
  47. }
  48. .desc {
  49. padding-left: 0px;
  50. }
  51. pre, code {
  52. margin-top: 20px;
  53. margin-bottom: 20px;
  54. }
  55. code {
  56. display: block;
  57. width: -webkit-calc( 100% - 40px );
  58. width: -moz-calc( 100% - 40px );
  59. width: calc( 100% - 40px );
  60. padding: 20px;
  61. white-space: pre-wrap;
  62. background-color: #f9f9f9;
  63. overflow: auto;
  64. }
  65. iframe {
  66. width: 100%;
  67. height: 420px;
  68. border:0;
  69. }
  70. th {
  71. padding: 10px;
  72. text-decoration: underline;
  73. }
  74. td {
  75. text-align: center;
  76. }
  77. table code {
  78. padding: 2px;
  79. margin: 0px;
  80. width: auto;
  81. }
  82. strong {
  83. color: #000;
  84. font-weight: normal;
  85. }
  86. #button {
  87. position: fixed;
  88. top: 20px;
  89. right: 20px;
  90. padding: 8px;
  91. color: #fff;
  92. background-color: #555;
  93. opacity: 0.5;
  94. }
  95. #button:hover {
  96. cursor: pointer;
  97. opacity: 1;
  98. }
  99. a.permalink {
  100. float: right;
  101. margin-left: 5px;
  102. }
  103. a.param,
  104. span.param {
  105. color: #999;
  106. }
  107. a.param:hover {
  108. color: #777;
  109. }