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