xref: /webtrees/resources/css/_list-individuals.css (revision 1270d2767576ed4a83917769b0ee3613e3b010bf)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2023 webtrees development team
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <https://www.gnu.org/licenses/>.
14 */
15
16/*
17 * Individual and family list
18 *
19 * wt-route-individual-list, wt-route-family-list
20 * +---wt-page-options
21 *     +---wt-initials-list, wt-initials-list-surnames
22 *         +---wt-initial-list-item
23 *             +---wt-initial
24 *             +---wt-initial, active
25 *     +---wt-initials-list, wt-initials-list-given-names
26 *         +---wt-initial-list-item
27 *             +---wt-initial
28 *             +---wt-initial, active
29 * +---wt-page-content
30 *     +---wt-list, wt-{family,individual}-list
31 */
32
33.wt-initials-list {
34    font-size: 1.25rem;
35}
36
37.wt-initials-list-item {
38    display: inline;
39}
40
41.wt-initials-list-item + .wt-initials-list-item::before {
42    content: '|';
43}
44
45.wt-initial {
46}
47
48.wt-initial.active {
49    color: #f00;
50    font-weight: bold;
51}
52
53