Skip to content

Commit 5980b7f

Browse files
committed
instantsearch.html: Adjust hit list's relative font sizes
1 parent 281ae63 commit 5980b7f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

theme/instantsearch.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,28 +53,32 @@
5353
content: '';
5454
}
5555

56+
.ais-Hits-item a {
57+
font-size: 18px;
58+
}
59+
5660
.ais-Hits-item div:nth-child(1) {
57-
font-size: 1.2em;
61+
font-size: 1.0em;
5862
}
5963

6064
.ais-Hits-item div:nth-child(2) {
61-
font-size: 1.1em;
65+
font-size: 0.9em;
6266
}
6367

6468
.ais-Hits-item div:nth-child(3) {
65-
font-size: 1.0em;
69+
font-size: 0.8em;
6670
}
6771

6872
.ais-Hits-item div:nth-child(4) {
69-
font-size: 0.9em;
73+
font-size: 0.7em;
7074
}
7175

7276
.ais-Hits-item div:nth-child(5) {
73-
font-size: 0.8em;
77+
font-size: 0.6em;
7478
}
7579

7680
.ais-Hits-item div:nth-child(6) {
77-
font-size: 0.7em;
81+
font-size: 0.5em;
7882
}
7983

8084
.ais-Hits-item div .ais-Highlight-highlighted {

0 commit comments

Comments
 (0)