xmake.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. body { background: var(--bg);
  2. color: var(--fg);
  3. font-family: Source Sans Pro,Helvetica Neue,Arial,sans-serif;
  4. font-size: 15px;
  5. color: #34495e;
  6. background-color: white;
  7. padding: 0;
  8. margin: 0; }
  9. a { color: #42b983; }
  10. h2 a,h3 a { color: #34495e;
  11. text-decoration: none;
  12. padding: 1px 3px 1px 3px; }
  13. #sidebar a { color: #34495e; }
  14. code { background-color: #f8f8f8;
  15. font-size: .8rem;
  16. margin: 0 2px;
  17. padding: 3px 5px;
  18. white-space: pre-wrap; }
  19. code, code a { color: #e96900; }
  20. pre code a { color: #525252; }
  21. pre code { padding: 0;
  22. margin: 0; }
  23. table { border-collapse: collapse;
  24. border-spacing: 0;
  25. display: block;
  26. margin-bottom: 1rem;
  27. overflow: auto;
  28. width: 100%; }
  29. thead { display: table-header-group;
  30. vertical-align: middle;
  31. border-color: inherit; }
  32. tr { display: table-row;
  33. vertical-align: inherit;
  34. border-color: inherit; }
  35. th { display: table-cell;
  36. vertical-align: inherit;
  37. font-weight: 700;
  38. text-align: -internal-center; }
  39. td { border: 1px solid #ddd;
  40. padding: 6px 13px; }
  41. img { max-width: 100%; }
  42. li { padding-bottom: 2px;
  43. padding-top: 2px; }
  44. #sidebar, #content, #toc {
  45. padding: 10px ;
  46. display: inline-block;
  47. overflow: auto; }
  48. #sidebar { position: fixed;
  49. top: 0;
  50. left: 0;
  51. background-color: #f9fffc;
  52. border: 1px solid #ddd;
  53. height: 100%;
  54. width: 250px; }
  55. #sidebar>p { font-weight: 700;
  56. font-size: 15px; }
  57. #sidebar a { text-decoration: none;
  58. font-size: 14px; }
  59. #sidebar a:hover {
  60. text-decoration: underline; }
  61. #sidebar ul { list-style-type: none; }
  62. #content { position: absolute;
  63. left: 270px;
  64. right: 250px;
  65. padding-bottom: 200px; }
  66. #toc { position: fixed;
  67. top: 0;
  68. bottom: 0;
  69. right: 0;
  70. background-color: #f9fffc;
  71. width: 210px; }
  72. #toc table { background-color: white; }
  73. #search-table-body td {
  74. width: 149px;
  75. background-color: white; }
  76. :target { background-color: #b2f9d9; }
  77. p.warn { background: rgba(66, 185, 131, .1);
  78. border-radius: 2px;
  79. padding: 1rem; }
  80. .token.cdata,.token.comment,.token.doctype,.token.prolog {
  81. color: #8e908c; }
  82. .token.namespace {
  83. opacity: .7; }
  84. .token.boolean,.token.number {
  85. color: #c76b29; }
  86. .token.punctuation {
  87. color: #525252; }
  88. .token.property {
  89. color: #c08b30; }
  90. .token.tag { color: #2973b7; }
  91. .token.string { color: var(--theme-color,#42b983); }
  92. .token.selector {
  93. color: #6679cc; }
  94. .token.attr-name {
  95. color: #2973b7; }
  96. .language-css .token.string,.style .token.string,.token.entity,.token.url {
  97. color: #22a2c9; }
  98. .token.attr-value,.token.control,.token.directive,.token.unit {
  99. color: var(--theme-color,#42b983); }
  100. .token.function,.token.keyword {
  101. color: #e96900; }
  102. .token.atrule,.token.regex,.token.statement {
  103. color: #22a2c9; }
  104. .token.placeholder,.token.variable {
  105. color: #3d8fd1; }
  106. .token.deleted {
  107. text-decoration: line-through; }
  108. .token.inserted {
  109. border-bottom: 1px dotted #202746;
  110. text-decoration: none; }
  111. .token.italic { font-style: italic; }
  112. .token.bold,.token.important {
  113. font-weight: 700; }
  114. .token.important {
  115. color: #c94922; }
  116. .token.entity {
  117. cursor: help; }
  118. code .token { -moz-osx-font-smoothing: initial;
  119. -webkit-font-smoothing: initial;
  120. min-height: 1.5rem;
  121. position: relative;
  122. left: auto; }
  123. pre:after { color: #ccc;
  124. content: attr(data-lang);
  125. font-size: .6rem;
  126. font-weight: 600;
  127. height: 15px;
  128. line-height: 15px;
  129. padding: 5px 10px 0;
  130. position: absolute;
  131. right: 0;
  132. text-align: right;
  133. top: 0; }
  134. pre[class*=language-], code[class*=language-] {
  135. background: #f8f8f8;
  136. color: #525252; }
  137. pre, code { background: #f8f8f8; }