/** * webtrees: online genealogy * Copyright (C) 2023 webtrees development team * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /* * Pedigree map * * wt-chart, wt-chart-pedigree-map */ :root { --wt-pedigree-map-gen-0: red; --wt-pedigree-map-gen-1: orange; --wt-pedigree-map-gen-2: gold; --wt-pedigree-map-gen-3: lightgreen; --wt-pedigree-map-gen-4: green; --wt-pedigree-map-gen-5: limegreen; --wt-pedigree-map-gen-6: cyan; --wt-pedigree-map-gen-7: blue; --wt-pedigree-map-gen-8: cornflowerblue; --wt-pedigree-map-gen-9: pink; --wt-pedigree-map-gen-10: magenta; --wt-pedigree-map-gen-11: maroon; --wt-pedigree-map-height: 70vh; } .wt-pedigree-map-gen-0 { color: var(--wt-pedigree-map-gen-0); } .wt-pedigree-map-gen-1 { color: var(--wt-pedigree-map-gen-1); } .wt-pedigree-map-gen-2 { color: var(--wt-pedigree-map-gen-2); } .wt-pedigree-map-gen-3 { color: var(--wt-pedigree-map-gen-3); } .wt-pedigree-map-gen-4 { color: var(--wt-pedigree-map-gen-4); } .wt-pedigree-map-gen-5 { color: var(--wt-pedigree-map-gen-5); } .wt-pedigree-map-gen-6 { color: var(--wt-pedigree-map-gen-6); } .wt-pedigree-map-gen-7 { color: var(--wt-pedigree-map-gen-7); } .wt-pedigree-map-gen-8 { color: var(--wt-pedigree-map-gen-8); } .wt-pedigree-map-gen-9 { color: var(--wt-pedigree-map-gen-9); } .wt-pedigree-map-gen-10 { color: var(--wt-pedigree-map-gen-10); } .wt-pedigree-map-gen-11 { color: var(--wt-pedigree-map-gen-11); } .wt-pedigree-map-map { height: var(--wt-pedigree-map-height); } .wt-pedigree-map-sidebar { height: var(--wt-pedigree-map-height); overflow-y: auto; }