style.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family: 'Courier New', monospace;
  8. background-color: #000000;
  9. color: #ffffff;
  10. min-height: 100vh;
  11. }
  12. .container {
  13. display: flex;
  14. flex-direction: column;
  15. align-items: center;
  16. justify-content: center;
  17. min-height: 100vh;
  18. padding: 20px;
  19. }
  20. #search-input {
  21. background: transparent;
  22. border: none;
  23. color: #ffffff;
  24. font-size: 2rem;
  25. text-align: center;
  26. outline: none;
  27. width: 80%;
  28. max-width: 600px;
  29. font-family: 'Courier New', monospace;
  30. }
  31. #results {
  32. margin-top: 40px;
  33. width: 80%;
  34. max-width: 600px;
  35. max-height: 35vh;
  36. overflow-y: auto;
  37. overflow-x: hidden;
  38. position: relative;
  39. -ms-overflow-style: none;
  40. scrollbar-width: none;
  41. }
  42. #results::-webkit-scrollbar {
  43. display: none;
  44. }
  45. #results.has-scroll-top {
  46. mask-image: linear-gradient(to bottom, transparent 0, black 80px, black 100%);
  47. -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 80px, black 100%);
  48. }
  49. #results.has-scroll-bottom {
  50. mask-image: linear-gradient(to bottom, black 0, black calc(100% - 80px), transparent 100%);
  51. -webkit-mask-image: linear-gradient(to bottom, black 0, black calc(100% - 80px), transparent 100%);
  52. }
  53. #results.has-scroll-top.has-scroll-bottom {
  54. mask-image: linear-gradient(to bottom, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  55. -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  56. }
  57. .bookmark-item {
  58. padding: 12px 16px;
  59. margin: 8px 0;
  60. cursor: pointer;
  61. border-left: 3px solid transparent;
  62. transition: all 0.2s ease;
  63. }
  64. .bookmark-item:hover {
  65. border-left-color: #4a9eff;
  66. background-color: rgba(74, 158, 255, 0.1);
  67. }
  68. .bookmark-item.selected {
  69. border-left-color: #4a9eff;
  70. background-color: rgba(74, 158, 255, 0.2);
  71. }
  72. .bookmark-name {
  73. font-size: 1.2rem;
  74. margin-bottom: 4px;
  75. }
  76. .bookmark-url {
  77. font-size: 0.9rem;
  78. color: #888;
  79. }
  80. .bookmark-tags {
  81. margin-top: 4px;
  82. font-size: 0.8rem;
  83. color: #666;
  84. }
  85. .tag {
  86. display: inline-block;
  87. margin-right: 8px;
  88. }