page.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. div {
  40. /* padding-left: 30px; */
  41. margin-bottom: 20px;
  42. }
  43. div.desc {
  44. padding-left: 0px;
  45. }
  46. pre, code {
  47. margin-top: 20px;
  48. margin-bottom: 20px;
  49. }
  50. code {
  51. display: block;
  52. width: -webkit-calc( 100% - 40px );
  53. width: -moz-calc( 100% - 40px );
  54. width: calc( 100% - 40px );
  55. padding: 20px;
  56. white-space: pre-wrap;
  57. background-color: #f9f9f9;
  58. overflow: auto;
  59. }
  60. iframe {
  61. width: 100%;
  62. height: 420px;
  63. border:0;
  64. }
  65. th {
  66. padding: 10px;
  67. text-decoration: underline;
  68. }
  69. td {
  70. text-align: center;
  71. }
  72. table code {
  73. padding: 2px;
  74. margin: 0px;
  75. width: auto;
  76. }
  77. strong {
  78. color: #000;
  79. font-weight: normal;
  80. }
  81. #button {
  82. position: fixed;
  83. top: 20px;
  84. right: 20px;
  85. padding: 8px;
  86. color: #fff;
  87. background-color: #555;
  88. opacity: 0.5;
  89. }
  90. #button:hover {
  91. cursor: pointer;
  92. opacity: 1;
  93. }
  94. a.permalink {
  95. float: right;
  96. margin-left: 5px;
  97. }