guide.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. guide {
  2. position: relative;
  3. display: inline-block;
  4. width: auto;
  5. min-width: 14px;
  6. height: auto;
  7. min-height: 14px;
  8. cursor: pointer;
  9. background: url(guide_icon.svg);
  10. background-repeat: no-repeat;
  11. background-size: contain;
  12. margin: 0 6px;
  13. color: var(--link-color);
  14. }
  15. guide:hover .guide_contence {
  16. display: inline-block;
  17. width: fit-content;
  18. max-width: unset;
  19. }
  20. guide ul {
  21. list-style-type: disc;
  22. padding-left: 20px;
  23. }
  24. guide ol {
  25. list-style-type: decimal;
  26. padding-left: 20px;
  27. }
  28. .guide_contence {
  29. /*border-top: 7px;*/
  30. position: absolute;
  31. border: 1px solid var(--border-line-color);
  32. border-radius: 5px;
  33. top: 100%;
  34. /*width: max-content;
  35. min-width: min-content;
  36. max-width: min(80vw,20em);*/
  37. min-height: 15em;
  38. padding: 10px;
  39. background-color: var(--drop-bg-color);
  40. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  41. font-size: 10pt;
  42. text-align: left;
  43. display: none;
  44. margin: 10px 0 0 0;
  45. box-shadow: 0px 3px 13px 0px var(--shadow-color);
  46. color: var(--main-color);
  47. z-index: 200;
  48. }
  49. .nsy_word .guide_contence{
  50. white-space: nowrap;
  51. }
  52. .guide_contence:after {
  53. content: "\00a0";
  54. width: 0;
  55. height: 0;
  56. display: block;
  57. border-style: solid;
  58. border-width: 10px;
  59. border-color: transparent transparent var(--drop-bg-color) transparent;
  60. position: absolute;
  61. top: -20px;
  62. }
  63. .guide_contence:before {
  64. content: '';
  65. position: absolute;
  66. bottom: 100%;
  67. width: 100%;
  68. border: 6px solid transparent;
  69. }
  70. .left:after {
  71. left: 10px;
  72. }
  73. .right:after {
  74. right: 10px;
  75. }
  76. .guide_contence h1 {
  77. font-size: 1.5em;
  78. font-weight: 700;
  79. }
  80. .guide_contence h2 {
  81. font-size: 1.3em;
  82. font-weight: 700;
  83. }
  84. .guide_contence h3 {
  85. font-size: 1.1em;
  86. font-weight: 700;
  87. }
  88. .guide_contence h4 {
  89. font-size: 1em;
  90. font-weight: 700;
  91. }
  92. .guide_contence li {
  93. white-space: normal;
  94. word-break: normal;
  95. }
  96. .guide_contence pre {
  97. background-color: rgba(0, 0, 0, 0.1);
  98. }
  99. .guide_contence code {
  100. word-break: normal;
  101. font-family: arial;
  102. }