guide.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. }
  18. guide ul {
  19. list-style-type: disc;
  20. padding-left: 20px;
  21. }
  22. guide ol {
  23. list-style-type: decimal;
  24. padding-left: 20px;
  25. }
  26. .guide_contence {
  27. /*border-top: 7px;*/
  28. position: absolute;
  29. border: 1px solid var(--border-line-color);
  30. border-radius: 5px;
  31. top: 100%;
  32. width: max-content;
  33. min-width: 18em;
  34. max-width: max(25vw, 100%);
  35. min-height: 15em;
  36. padding: 10px;
  37. background-color: var(--drop-bg-color);
  38. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  39. font-size: 10pt;
  40. text-align: left;
  41. display: none;
  42. margin: 10px 0 0 0;
  43. box-shadow: 0px 3px 13px 0px var(--shadow-color);
  44. color: var(--main-color);
  45. z-index: 200;
  46. }
  47. .guide_contence:after {
  48. content: "\00a0";
  49. width: 0;
  50. height: 0;
  51. display: block;
  52. border-style: solid;
  53. border-width: 10px;
  54. border-color: transparent transparent var(--drop-bg-color) transparent;
  55. position: absolute;
  56. top: -20px;
  57. }
  58. .left:after {
  59. left: 10px;
  60. }
  61. .right:after {
  62. right: 10px;
  63. }
  64. .guide_contence h1 {
  65. font-size: 1.5em;
  66. font-weight: 700;
  67. }
  68. .guide_contence h2 {
  69. font-size: 1.3em;
  70. font-weight: 700;
  71. }
  72. .guide_contence h3 {
  73. font-size: 1.1em;
  74. font-weight: 700;
  75. }
  76. .guide_contence h4 {
  77. font-size: 1em;
  78. font-weight: 700;
  79. }
  80. .guide_contence li {
  81. white-space: normal;
  82. word-break: normal;
  83. }
  84. .guide_contence pre {
  85. background-color: rgba(0, 0, 0, 0.1);
  86. }
  87. .guide_contence code {
  88. word-break: normal;
  89. font-family: arial;
  90. }