index.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. color: var(--jp-ui-font-color0);
  49. list-style-type: none;
  50. padding: 4px 16px;
  51. margin-left: -16px;
  52. display: inline-block;
  53. }
  54. .jp-FAQ-question > a {
  55. font-size: 20px;
  56. color: var(--jp-ui-font-color0);
  57. font-weight: 400;
  58. line-height: 150%;
  59. list-style-type: none;
  60. margin: 28px 0 0 0;
  61. cursor: pointer;
  62. text-decoration: none;
  63. }
  64. .jp-FAQ-question > a:hover {
  65. color: var(--md-blue-500);
  66. }
  67. .jp-FAQ-answer{
  68. font-size: 15px;
  69. font-weight: 200;
  70. color: var(--md-grey-500);
  71. line-height: 160%;
  72. border-left: 2px solid var(--md-grey-500);
  73. padding-left: 25px;
  74. list-style-type: none;
  75. margin: 15px 0 15px 20px;
  76. }
  77. .jp-FAQ-toc {
  78. display: block;
  79. }
  80. .jp-FAQ-toc:focus{
  81. color: var(--md-blue-500);
  82. }
  83. li > jp-FAQ-answer {
  84. color: var(--md-grey-500);
  85. text-decoration: none;
  86. }
  87. .jp-FAQ-title {
  88. color: var(--jp-ui-font-color0);
  89. display: block;
  90. }
  91. .jp-FAQ-a {
  92. text-decoration: none;
  93. cursor: pointer;
  94. color: var(--jp-brand-color1);
  95. }
  96. .jp-QuestionMarkIcon.jp-FAQ-QuestionMark {
  97. height: 49px;
  98. width: 49px;
  99. }