guide.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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(--tool-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: 2px solid var(--btn-border-color);
  30. border-radius: 10px;
  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: 0.3em;
  43. margin: -1px 0px;
  44. box-shadow: 0px 3px 13px 0px var(--shadow-color);
  45. color: var(--main-color);
  46. z-index: 200;
  47. }
  48. /*
  49. .guide_contence:after {
  50. content: "\00a0";
  51. width: 0;
  52. height: 0;
  53. display: block;
  54. border-style: solid;
  55. border-width: 10px;
  56. border-color: transparent transparent white transparent;
  57. position: absolute;
  58. top: -20px;
  59. }
  60. */
  61. .guide_contence h1{
  62. font-size:1.5em;
  63. font-weight:700;
  64. }
  65. .guide_contence h2{
  66. font-size:1.3em;
  67. font-weight:700;
  68. }
  69. .guide_contence h3{
  70. font-size:1.1em;
  71. font-weight:700;
  72. }
  73. .guide_contence h4{
  74. font-size:1em;
  75. font-weight:700;
  76. }
  77. .guide_contence li{
  78. white-space: normal;
  79. word-break: normal;
  80. }
  81. .guide_contence pre{
  82. background-color: rgba(0, 0, 0, 0.1);
  83. }
  84. .guide_contence code{
  85. white-space: normal;
  86. word-break: normal;
  87. font-family: arial;
  88. }