show-fqa.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. body {
  2. background: #f5f6f8;
  3. }
  4. .show-fqa-page {
  5. padding-top: calc(var(--xtu-header-height, 74px) + 52px);
  6. background: #f5f6f8;
  7. color: #111827;
  8. }
  9. .show-fqa-subnav-strip {
  10. position: fixed;
  11. left: 0;
  12. right: 0;
  13. top: calc(var(--xtu-header-height, 74px) - 1px);
  14. z-index: 1029;
  15. margin-top: 0;
  16. background: #090b0f;
  17. border-top: 1px solid rgba(255, 255, 255, 0.06);
  18. border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  19. box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  20. }
  21. .show-fqa-strip-title {
  22. display: flex;
  23. align-items: center;
  24. min-height: 52px;
  25. color: #fff;
  26. font-size: 15px;
  27. line-height: 1.4;
  28. font-weight: 500;
  29. letter-spacing: .01em;
  30. }
  31. .show-fqa-content-section {
  32. padding: 32px 0 72px;
  33. }
  34. .show-fqa-shell {
  35. display: grid;
  36. grid-template-columns: minmax(240px, 292px) minmax(0, 1fr);
  37. gap: 24px;
  38. align-items: start;
  39. }
  40. .show-fqa-sidebar {
  41. min-width: 0;
  42. }
  43. .show-fqa-sidebar-panel {
  44. position: sticky;
  45. top: 112px;
  46. overflow: hidden;
  47. max-height: calc(100vh - 136px);
  48. display: flex;
  49. flex-direction: column;
  50. background: #fff;
  51. border: 1px solid #e5e7eb;
  52. border-radius: 4px;
  53. box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
  54. }
  55. .show-fqa-sidebar-scroll {
  56. flex: 1 1 auto;
  57. min-height: 0;
  58. padding: 16px 12px 18px;
  59. overflow-y: auto;
  60. }
  61. .show-fqa-sidebar-scroll::-webkit-scrollbar,
  62. .show-fqa-main::-webkit-scrollbar {
  63. width: 6px;
  64. }
  65. .show-fqa-sidebar-scroll::-webkit-scrollbar-thumb,
  66. .show-fqa-main::-webkit-scrollbar-thumb {
  67. background: rgba(107, 114, 128, 0.22);
  68. border-radius: 2px;
  69. }
  70. .show-fqa-sidebar-scroll::-webkit-scrollbar-track,
  71. .show-fqa-main::-webkit-scrollbar-track {
  72. background: transparent;
  73. }
  74. .show-fqa-channel + .show-fqa-channel {
  75. margin-top: 20px;
  76. padding-top: 16px;
  77. border-top: 1px solid #edf0f4;
  78. }
  79. .show-fqa-channel h3 {
  80. margin: 0 10px 12px;
  81. color: #111827;
  82. font-size: 15px;
  83. line-height: 1.35;
  84. font-weight: 600;
  85. letter-spacing: -0.01em;
  86. }
  87. .show-fqa-group + .show-fqa-group {
  88. margin-top: 14px;
  89. }
  90. .show-fqa-group h4 {
  91. margin: 0 10px 8px;
  92. color: #98a2b3;
  93. font-size: 12px;
  94. line-height: 1.4;
  95. letter-spacing: .04em;
  96. font-weight: 700;
  97. text-transform: uppercase;
  98. }
  99. .show-fqa-group ul {
  100. margin: 0;
  101. padding: 0;
  102. list-style: none;
  103. }
  104. .show-fqa-group li + li {
  105. margin-top: 2px;
  106. }
  107. .show-fqa-group li a {
  108. position: relative;
  109. display: block;
  110. padding: 9px 12px 9px 14px;
  111. border-radius: 3px;
  112. color: #5f6b7a;
  113. text-decoration: none;
  114. font-size: 14px;
  115. line-height: 1.5;
  116. transition: background .2s ease, color .2s ease;
  117. }
  118. .show-fqa-group li a:hover {
  119. background: #f3f5f8;
  120. color: #111827;
  121. }
  122. .show-fqa-group li.is-active a {
  123. background: #111827;
  124. color: #fff;
  125. box-shadow: none;
  126. }
  127. .show-fqa-empty {
  128. padding: 12px 10px;
  129. color: #98a2b3;
  130. font-size: 13px;
  131. line-height: 1.6;
  132. }
  133. .show-fqa-main {
  134. min-width: 0;
  135. }
  136. .show-fqa-article {
  137. overflow: hidden;
  138. max-width: 920px;
  139. min-height: 520px;
  140. background: #fff;
  141. border: 1px solid #e5e7eb;
  142. border-radius: 4px;
  143. box-shadow: 0 12px 42px rgba(15, 23, 42, 0.055);
  144. }
  145. .show-fqa-article-head {
  146. padding: 30px 40px 22px;
  147. border-bottom: 1px solid #edf0f4;
  148. background: #fff;
  149. }
  150. .show-fqa-article-head h1 {
  151. margin: 0;
  152. color: #111827;
  153. font-size: clamp(24px, 2.4vw, 32px);
  154. line-height: 1.22;
  155. letter-spacing: -0.03em;
  156. font-weight: 600;
  157. }
  158. .show-fqa-article-body {
  159. padding: 28px 40px 46px;
  160. color: #475467;
  161. font-size: 15px;
  162. line-height: 1.9;
  163. }
  164. .show-fqa-article-body h1,
  165. .show-fqa-article-body h2,
  166. .show-fqa-article-body h3,
  167. .show-fqa-article-body h4 {
  168. color: #111827;
  169. margin-top: 1.75em;
  170. margin-bottom: .65em;
  171. line-height: 1.32;
  172. letter-spacing: -0.018em;
  173. font-weight: 600;
  174. }
  175. .show-fqa-article-body h1:first-child,
  176. .show-fqa-article-body h2:first-child,
  177. .show-fqa-article-body h3:first-child,
  178. .show-fqa-article-body h4:first-child {
  179. margin-top: 0;
  180. }
  181. .show-fqa-article-body h1 {
  182. font-size: 26px;
  183. }
  184. .show-fqa-article-body h2 {
  185. font-size: 22px;
  186. }
  187. .show-fqa-article-body h3 {
  188. font-size: 19px;
  189. }
  190. .show-fqa-article-body h4 {
  191. font-size: 17px;
  192. }
  193. .show-fqa-article-body p {
  194. margin: 0 0 1.12em;
  195. }
  196. .show-fqa-article-body a {
  197. color: #0b5fff;
  198. text-decoration: none;
  199. border-bottom: 1px solid rgba(11, 95, 255, .25);
  200. }
  201. .show-fqa-article-body a:hover {
  202. border-bottom-color: #0b5fff;
  203. }
  204. .show-fqa-article-body ul,
  205. .show-fqa-article-body ol {
  206. margin: 0 0 1.2em;
  207. padding-left: 1.35em;
  208. }
  209. .show-fqa-article-body li + li {
  210. margin-top: .42em;
  211. }
  212. .show-fqa-article-body blockquote {
  213. margin: 24px 0;
  214. padding: 18px 22px;
  215. border-left: 3px solid #111827;
  216. background: #f6f7f9;
  217. color: #344054;
  218. border-radius: 0;
  219. }
  220. .show-fqa-article-body table {
  221. width: 100%;
  222. margin: 24px 0;
  223. border-collapse: collapse;
  224. overflow: hidden;
  225. border: 1px solid #e5e7eb;
  226. border-radius: 0;
  227. font-size: 14px;
  228. }
  229. .show-fqa-article-body th,
  230. .show-fqa-article-body td {
  231. padding: 13px 15px;
  232. border-bottom: 1px solid #edf0f4;
  233. text-align: left;
  234. vertical-align: top;
  235. }
  236. .show-fqa-article-body th {
  237. background: #f6f7f9;
  238. color: #111827;
  239. font-weight: 600;
  240. }
  241. .show-fqa-article-body tr:last-child td {
  242. border-bottom: 0;
  243. }
  244. .show-fqa-article-body img {
  245. max-width: 100%;
  246. height: auto;
  247. margin: 24px 0;
  248. border-radius: 3px;
  249. display: block;
  250. }
  251. .show-fqa-article-body pre,
  252. .show-fqa-article-body code {
  253. font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  254. }
  255. .show-fqa-article-body code {
  256. padding: 2px 6px;
  257. border-radius: 3px;
  258. background: #f1f3f6;
  259. color: #111827;
  260. font-size: .92em;
  261. }
  262. .show-fqa-article-body pre {
  263. overflow-x: auto;
  264. margin: 24px 0;
  265. padding: 18px 20px;
  266. border-radius: 3px;
  267. background: #111827;
  268. color: #f9fafb;
  269. font-size: 13px;
  270. line-height: 1.7;
  271. }
  272. .show-fqa-article-body pre code {
  273. padding: 0;
  274. background: transparent;
  275. color: inherit;
  276. }
  277. @media (max-width: 991.98px) {
  278. .show-fqa-shell {
  279. grid-template-columns: 1fr;
  280. }
  281. .show-fqa-sidebar-panel {
  282. position: static;
  283. max-height: none;
  284. }
  285. .show-fqa-sidebar-scroll {
  286. max-height: 360px;
  287. }
  288. .show-fqa-article {
  289. max-width: none;
  290. }
  291. }
  292. @media (max-width: 767.98px) {
  293. .show-fqa-page {
  294. padding-top: calc(var(--xtu-header-height, 62px) + 48px);
  295. }
  296. .show-fqa-subnav-strip {
  297. top: calc(var(--xtu-header-height, 62px) - 1px);
  298. }
  299. .show-fqa-subnav-strip .content-1300-wrap,
  300. .show-fqa-content-section .content-1300-wrap {
  301. width: 100%;
  302. padding-left: 16px;
  303. padding-right: 16px;
  304. }
  305. .show-fqa-strip-title {
  306. min-height: 48px;
  307. font-size: 14px;
  308. }
  309. .show-fqa-content-section {
  310. padding: 22px 0 48px;
  311. }
  312. .show-fqa-shell {
  313. gap: 18px;
  314. }
  315. .show-fqa-sidebar-scroll {
  316. padding: 14px 10px;
  317. max-height: 320px;
  318. }
  319. .show-fqa-article-head {
  320. padding: 24px 22px 18px;
  321. }
  322. .show-fqa-article-head h1 {
  323. font-size: 24px;
  324. letter-spacing: -0.02em;
  325. }
  326. .show-fqa-article-body {
  327. padding: 24px 22px 36px;
  328. font-size: 14px;
  329. line-height: 1.85;
  330. }
  331. .show-fqa-article-body h1 {
  332. font-size: 23px;
  333. }
  334. .show-fqa-article-body h2 {
  335. font-size: 20px;
  336. }
  337. .show-fqa-article-body h3 {
  338. font-size: 18px;
  339. }
  340. .show-fqa-article-body table {
  341. display: block;
  342. overflow-x: auto;
  343. white-space: nowrap;
  344. }
  345. }