search.css 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. .search_result {
  2. margin-bottom: 1em;
  3. }
  4. .search_result > .title {
  5. font-size: 18px;
  6. }
  7. .search_result .bodytext {
  8. overflow-x: scroll;
  9. }
  10. .search_result > .path {
  11. overflow-x: scroll;
  12. color: var(--btn-border-color);
  13. }
  14. highlight {
  15. background-color: yellow;
  16. display: inline;
  17. }
  18. #contents_nav {
  19. background-color: whitesmoke;
  20. }
  21. .page_nav li {
  22. padding: 8px 12px;
  23. background-color: white;
  24. margin: 5px 1em;
  25. border-radius: 5px;
  26. display: inline-block;
  27. cursor: pointer;
  28. }
  29. .page_nav li:hover {
  30. background-color: var(--link-hover-color);
  31. color: var(--btn-hover-color);
  32. }
  33. .filter {
  34. display: none;
  35. }
  36. .fileter_item {
  37. border-bottom: 1px;
  38. display: flex;
  39. justify-content: space-between;
  40. padding: 3px;
  41. }
  42. .fileter_item > .tag {
  43. background-color: gray;
  44. color: white;
  45. border-radius: 1em;
  46. font-size: 75%;
  47. padding: 0 0.6em;
  48. line-height: 2em;
  49. height: 2em;
  50. min-width: 2em;
  51. justify-content: center;
  52. display: inline-flex;
  53. }
  54. .book_tag_div {
  55. border: 1px solid var(--border-line-color);
  56. margin: 3px;
  57. border-radius: 6px;
  58. display: none;
  59. }
  60. .book_tag {
  61. border-top: 1px solid var(--border-line-color);
  62. padding: 4px;
  63. }
  64. .book_tag:first-of-type {
  65. border-top: none;
  66. }
  67. .fileter_item:hover {
  68. background-color: var(--link-hover-color);
  69. color: var(--bg-color);
  70. }
  71. .fileter_item > .spell {
  72. padding: 4px;
  73. }
  74. .fileter_item > .spell a,
  75. .fileter_item > .spell a:link,
  76. .fileter_item > .spell a:visited {
  77. color: var(--box-bg-color1);
  78. }
  79. .fileter_item:hover > .spell a,
  80. .fileter_item:hover > .spell a:link,
  81. .fileter_item:hover > .spell a:visited {
  82. color: var(--bg-color);
  83. }
  84. .fileter_item > .selected {
  85. border-left: 4px solid var(--link-hover-color);
  86. }
  87. .fileter_item > .selected a,
  88. .fileter_item > .selected a:link,
  89. .fileter_item > .selected a:visited {
  90. font-weight: 700;
  91. }