|
| 1 | +* { |
| 2 | + box-sizing: border-box; |
| 3 | +} |
| 4 | + |
| 5 | +body { |
| 6 | + margin: 0; |
| 7 | + padding: 0; |
| 8 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, |
| 9 | + Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; |
| 10 | + background-color: rgb(244, 244, 249); |
| 11 | + color: rgb(65, 65, 65); |
| 12 | +} |
| 13 | + |
| 14 | +a { |
| 15 | + color: var(--aa-primary-color); |
| 16 | + text-decoration: none; |
| 17 | +} |
| 18 | + |
| 19 | +.header { |
| 20 | + background: rgb(252 252 255 / 92%); |
| 21 | + box-shadow: 0 0 0 1px rgba(35, 38, 59, 0.05), |
| 22 | + 0 1px 3px 0 rgba(35, 38, 59, 0.15); |
| 23 | + padding: 0.5rem 0; |
| 24 | + position: fixed; |
| 25 | + top: 0; |
| 26 | + width: 100%; |
| 27 | +} |
| 28 | + |
| 29 | +.header-wrapper { |
| 30 | + align-items: center; |
| 31 | + display: grid; |
| 32 | + grid-template-columns: 100px 1fr; |
| 33 | +} |
| 34 | + |
| 35 | +.header-nav { |
| 36 | + font-weight: 500; |
| 37 | +} |
| 38 | + |
| 39 | +.wrapper { |
| 40 | + margin: 0 auto; |
| 41 | + max-width: 1200px; |
| 42 | + padding: 0 1.5rem; |
| 43 | + width: 100%; |
| 44 | +} |
| 45 | + |
| 46 | +.container { |
| 47 | + margin-top: 3.5rem; |
| 48 | + padding: 1.5rem; |
| 49 | + display: grid; |
| 50 | + gap: 1rem; |
| 51 | + grid-template-columns: 1fr 3fr; |
| 52 | +} |
| 53 | + |
| 54 | +/* Autocomplete */ |
| 55 | + |
| 56 | +.aa-Panel { |
| 57 | + position: fixed; |
| 58 | +} |
| 59 | + |
| 60 | +/* InstantSearch */ |
| 61 | + |
| 62 | +.ais-Hits-list { |
| 63 | + display: grid; |
| 64 | + gap: 1rem; |
| 65 | + grid-template-columns: 1fr 1fr 1fr; |
| 66 | +} |
| 67 | + |
| 68 | +.ais-Hits-item { |
| 69 | + padding: 1rem !important; |
| 70 | +} |
| 71 | + |
| 72 | +.hit { |
| 73 | + align-items: center; |
| 74 | + display: grid; |
| 75 | + gap: 1rem; |
| 76 | +} |
| 77 | + |
| 78 | +.hit h1 { |
| 79 | + font-size: 1rem; |
| 80 | +} |
| 81 | + |
| 82 | +.hit p { |
| 83 | + font-size: 0.8rem; |
| 84 | + opacity: 0.8; |
| 85 | +} |
| 86 | + |
| 87 | +.hit-image { |
| 88 | + align-items: center; |
| 89 | + display: flex; |
| 90 | + height: 100px; |
| 91 | + justify-content: center; |
| 92 | +} |
| 93 | + |
| 94 | +.hit-image img { |
| 95 | + max-height: 100%; |
| 96 | +} |
| 97 | + |
| 98 | +.ais-HierarchicalMenu-item--selected.ais-HierarchicalMenu-item--parent |
| 99 | + > div:first-of-type |
| 100 | + .ais-HierarchicalMenu-label { |
| 101 | + font-weight: bold; |
| 102 | +} |
| 103 | + |
| 104 | +.ais-HierarchicalMenu-item--selected:not(.ais-HierarchicalMenu-item--parent) |
| 105 | + .ais-HierarchicalMenu-label { |
| 106 | + font-weight: bold; |
| 107 | +} |
| 108 | + |
| 109 | +.ais-Pagination { |
| 110 | + display: flex; |
| 111 | + justify-content: center; |
| 112 | + margin: 2rem 0; |
| 113 | +} |
0 commit comments