search.css 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. .page_nav .curr {
  31. background-color: var(--link-hover-color);
  32. color: var(--btn-hover-color);
  33. }
  34. .filter {
  35. display: none;
  36. }
  37. .fileter_item {
  38. border-bottom: 1px;
  39. display: flex;
  40. justify-content: space-between;
  41. padding: 3px;
  42. }
  43. .fileter_item > .tag {
  44. background-color: gray;
  45. color: white;
  46. border-radius: 1em;
  47. font-size: 75%;
  48. padding: 0 0.6em;
  49. line-height: 2em;
  50. height: 2em;
  51. min-width: 2em;
  52. justify-content: center;
  53. display: inline-flex;
  54. }
  55. .book_tag_div {
  56. border: 1px solid var(--border-line-color);
  57. margin: 3px;
  58. border-radius: 6px;
  59. display: none;
  60. }
  61. .book_tag {
  62. border-top: 1px solid var(--border-line-color);
  63. padding: 4px;
  64. }
  65. .book_tag:first-of-type {
  66. border-top: none;
  67. }
  68. .fileter_item:hover {
  69. background-color: var(--link-hover-color);
  70. color: var(--bg-color);
  71. }
  72. .fileter_item > .spell {
  73. padding: 4px;
  74. }
  75. .fileter_item > .spell a,
  76. .fileter_item > .spell a:link,
  77. .fileter_item > .spell a:visited {
  78. color: var(--box-bg-color1);
  79. }
  80. .fileter_item:hover > .spell a,
  81. .fileter_item:hover > .spell a:link,
  82. .fileter_item:hover > .spell a:visited {
  83. color: var(--bg-color);
  84. }
  85. .fileter_item > .selected {
  86. border-left: 4px solid var(--link-hover-color);
  87. }
  88. .fileter_item > .selected a,
  89. .fileter_item > .selected a:link,
  90. .fileter_item > .selected a:visited {
  91. font-weight: 700;
  92. }