index.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-FAQ {
  6. font-family: var(--jp-ui-font-family);
  7. outline: none;
  8. overflow-y: auto;
  9. }
  10. #faq-header {
  11. width: 412px;
  12. display: flex;
  13. margin: 40px auto 40px auto;
  14. text-align: center;
  15. }
  16. .jp-FAQ-content {
  17. margin: 0 auto 70px auto;
  18. display: block;
  19. width: 94%;
  20. max-width: 700px;
  21. }
  22. .jp-FAQ-h1 {
  23. font-size: 26px;
  24. font-weight: 400;
  25. color: #313940;
  26. margin: 10px 0 0 20px;
  27. }
  28. .jp-FAQ-h2 {
  29. font-size: 14px;
  30. font-weight: 400;
  31. color: var(--md-grey-500);
  32. margin: 28px 0 0 0;
  33. margin-bottom: 8px;
  34. }
  35. .jp-FAQ-ul {
  36. margin: 0 0 0 0;
  37. padding: 0;
  38. }
  39. .jp-FAQ-question:target {
  40. animation: highlight 0.9s cubic-bezier(0.15, 0.08, 0.54, 0.85);
  41. }
  42. @keyframes highlight {
  43. 0% {background-color: transparent;}
  44. 50% {background-color: var(--md-blue-100);}
  45. 100% {background-color: transparent;}
  46. }
  47. .jp-FAQ-question {
  48. list-style-type: none;
  49. padding: 4px 16px;
  50. margin-left: -16px;
  51. display: inline-block;
  52. }
  53. .jp-FAQ-question > a {
  54. font-size: 20px;
  55. color: var(--jp-ui-font-color0);
  56. font-weight: 400;
  57. line-height: 150%;
  58. list-style-type: none;
  59. margin: 28px 0 0 0;
  60. cursor: pointer;
  61. text-decoration: none;
  62. }
  63. .jp-FAQ-question > a:hover {
  64. color: var(--md-blue-500);
  65. }
  66. .jp-FAQ-answer{
  67. font-size: 15px;
  68. font-weight: 200;
  69. color: var(--md-grey-500);
  70. line-height: 160%;
  71. border-left: 2px solid var(--md-grey-500);
  72. padding-left: 25px;
  73. list-style-type: none;
  74. margin: 15px 0 15px 20px;
  75. }
  76. .jp-FAQ-toc {
  77. display: block;
  78. }
  79. .jp-FAQ-toc:focus{
  80. color: var(--md-blue-500);
  81. }
  82. li > jp-FAQ-answer {
  83. color: var(--md-grey-500);
  84. text-decoration: none;
  85. }
  86. .jp-FAQ-title {
  87. color: var(--jp-ui-font-color0);
  88. display: block;
  89. }
  90. .jp-FAQ-a {
  91. text-decoration: none;
  92. cursor: pointer;
  93. color: var(--jp-brand-color1);
  94. }
  95. .jp-QuestionMark.jp-FAQ-QuestionMark {
  96. height: 49px;
  97. width: 49px;
  98. }