xref: /webtrees/resources/css/webtrees.css (revision 24931b29a0237a5f5f1b8620af661ea530451af0)
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 <http://www.gnu.org/licenses/>.
14 */
15
16/* The webtrees theme */
17@import "_base.css";
18
19:root {
20    --chart-line-radius: 1rem;
21    --chart-line: solid gray thin;
22    --link-color-hover: #f00;
23    --link-color: #555;
24    --link-decoration-hover: none;
25    --link-decoration: none;
26    --sex-f-bg: #e9daf1;
27    --sex-f-fg: #ff2080;
28    --sex-m-bg: #edf7fd;
29    --sex-m-fg: #81a9cb;
30    --sex-u-bg: #cceecc;
31    --sex-u-fg: #559955;
32    --sex-x-bg: #fceaa1;
33    --sex-x-fg: #ffab57;
34}
35
36/* Override Bootstrap formatting */
37.btn-link {
38    padding-left: 0.25rem;
39    padding-right: 0.25rem;
40}
41
42.table-given-name {
43    overflow-x: hidden;
44}
45
46.container-fluid {
47    padding-left: 5px;
48    padding-right: 5px;
49}
50
51table {
52    border-collapse: separate;
53}
54
55/*
56 * Pages have the following high-level structure:
57 *
58 * wt-global wt-theme-<THEME> wt-route-<ROUTE>
59 * +---wt-header-wrapper
60 * |   +---wt-header-container
61 * |       +---wt-header-content
62 * |           +---wt-accessibility-links
63 * |           +---wt-site-logo
64 * |           +---wt-site-title
65 * |           +---wt-header-search
66 * |           |   +---wt-header-search-form
67 * |           |       +---wt-header-search-field
68 * |           |       +---wt-header-search-button
69 * |           +---wt-secondary-navigation
70 * |           |   +---wt-user-menu
71 * |           +---wt-primary-navigation
72 * |               +---wt-genealogy-menu
73 * +---wt-main-wrapper
74 * |   +---wt-main-container
75 * |       +---wt-main-content
76 * |           +---wt-messages
77 * |           +---wt-page-title
78 * |           +---wt-page-options wt-page-options-xxxxx
79 * |           +---wt-page-content
80 * +---wt-footers
81 *     +---wt-footer wt-footer-xxxxx
82 */
83
84::backdrop, .wt-global {
85    color: #555;
86}
87
88.wt-header-wrapper {
89}
90
91.wt-header-container {
92}
93
94.wt-header-content {
95}
96
97.wt-accessibility-links {
98}
99
100.wt-site-logo {
101    order: 1;
102    flex: 0 0 272px;
103}
104
105.wt-site-logo:after {
106    height: 50px;
107    width: 242px;
108    content: url(webtrees/images/webtrees.png);
109}
110
111.wt-site-title {
112    order: 3;
113    flex: 0 0 calc(100% - 15rem);
114    font-size: 1.5rem;
115    font-weight: normal;
116}
117
118.wt-header-search {
119    order: 4;
120    flex: 0 0 15rem;
121    position: relative;
122    top: -0.75rem;
123}
124
125.wt-header-search-form {
126}
127
128.wt-header-search-field {
129}
130
131.wt-header-search-button {
132}
133
134.wt-secondary-navigation {
135    order: 2;
136    flex: 1 0 auto;
137    width: auto;
138    white-space: nowrap;
139    margin-bottom: 15px;
140}
141
142.wt-user-menu {
143    flex-wrap: nowrap;
144    justify-content: flex-end;
145}
146
147.wt-user-menu .nav-link {
148    display: inline-block;
149    padding: 0.5rem;
150}
151
152.wt-user-menu .nav-item + .nav-item::before {
153    content: "|";
154}
155
156.wt-user-menu .dropdown-toggle::after {
157    display: none;
158}
159
160.wt-primary-navigation {
161    order: 5;
162    /* Extend to full page width */
163    flex: 0 0 100vw;
164    max-width: 100vw;
165    /* Recalculate margins for content */
166    margin: 0 calc(50% - 50vw);
167    padding: 0 calc(50vw - 50%);
168    border-bottom: 2px solid #81a9cb;
169    border-top: 2px solid #81a9cb;
170}
171
172.wt-genealogy-menu {
173    justify-content: center;
174}
175
176.wt-genealogy-menu .nav-item {
177    text-align: center;
178    min-width: 5rem;
179}
180
181.wt-genealogy-menu .nav-link::before {
182    display: block;
183}
184
185.wt-genealogy-menu .dropdown-toggle::after {
186    display: none;
187}
188
189.wt-genealogy-menu .dropdown-menu {
190    border-radius: 0;
191    border: thin solid #aaa;
192}
193
194.wt-genealogy-menu .dropdown-item {
195    /* Space between icons and align with submenu icons */
196    padding: 0 5px 0 0;
197    line-height: 1.0;
198}
199
200.wt-genealogy-menu .dropdown-item::before {
201    vertical-align: text-top;
202    line-height: 2.4;
203    padding: 0 .25rem;
204}
205
206.menu-tree .nav-link::before {
207    content: url(webtrees/menu/tree.png);
208}
209
210.menu-tree .dropdown-item::before {
211    content: url(webtrees/menu/tree-tree.png);
212}
213
214.menu-chart .nav-link::before {
215    content: url(webtrees/menu/chart.png);
216}
217
218.menu-chart-ancestry::before {
219    content: url(webtrees/menu/chart-ancestors.png);
220}
221
222.menu-chart-compact::before {
223    content: url(webtrees/menu/chart-compact.png);
224}
225
226.menu-chart-descendants::before {
227    content: url(webtrees/menu/chart-descendants.png);
228}
229
230.menu-chart-familybook::before {
231    content: url(webtrees/menu/chart-family-book.png);
232}
233
234.menu-chart-fanchart::before {
235    content: url(webtrees/menu/chart-fanchart.png);
236}
237
238.menu-chart-hourglass::before {
239    content: url(webtrees/menu/chart-hourglass.png);
240}
241
242.menu-chart-lifespan::before {
243    content: url(webtrees/menu/chart-lifespan.png);
244}
245
246.menu-chart-pedigree::before {
247    content: url(webtrees/menu/chart-pedigree.png);
248}
249
250.menu-chart-pedigreemap::before {
251    content: url(webtrees/menu/chart-pedigree-map.png);
252}
253
254.menu-chart-relationship::before {
255    content: url(webtrees/menu/chart-relationship.png);
256}
257
258.menu-chart-statistics::before {
259    content: url(webtrees/menu/chart-statistics.png);
260}
261
262.menu-chart-timeline::before {
263    content: url(webtrees/menu/chart-timeline.png);
264}
265
266.menu-chart-tree::before {
267    content: url(webtrees/menu/chart-tree.png);
268}
269
270.menu-list .nav-link::before {
271    content: url(webtrees/menu/list.png);
272}
273
274.menu-branches::before {
275    content: url(webtrees/menu/branches.png);
276}
277
278.menu-list-fam::before {
279    content: url(webtrees/menu/list-fam.png);
280}
281
282.menu-list-indi::before {
283    content: url(webtrees/menu/list-indi.png);
284}
285
286.menu-list-loc::before {
287    content: url(webtrees/menu/list-plac.png);
288}
289
290.menu-list-note::before {
291    content: url(webtrees/menu/list-note.png);
292}
293
294.menu-list-obje::before {
295    content: url(webtrees/menu/list-obje.png);
296}
297
298.menu-list-plac::before {
299    content: url(webtrees/menu/list-plac.png);
300}
301
302.menu-list-repo::before {
303    content: url(webtrees/menu/list-repo.png);
304}
305
306.menu-list-sour::before {
307    content: url(webtrees/menu/list-sour.png);
308}
309
310.menu-list-subm::before {
311    content: url(webtrees/menu/list-indi.png);
312}
313
314.menu-calendar .nav-link::before {
315    content: url(webtrees/menu/calendar.png);
316}
317
318.menu-calendar-day::before {
319    content: url(webtrees/menu/calendar-calendar.png);
320}
321
322.menu-calendar-month::before {
323    content: url(webtrees/menu/calendar-calendar.png);
324}
325
326.menu-calendar-year::before {
327    content: url(webtrees/menu/calendar-calendar.png);
328}
329
330.menu-report .nav-link::before {
331    content: url(webtrees/menu/report.png);
332}
333
334.menu-report .dropdown-item::before {
335    content: url(webtrees/menu/report-report.png);
336}
337
338.menu-search .nav-link::before {
339    content: url(webtrees/menu/search.png);
340}
341
342.menu-search .dropdown-item::before {
343    content: url(webtrees/menu/search-search.png);
344}
345
346.menu-faq .nav-link::before {
347    content: url(webtrees/menu/faq.png);
348}
349
350.menu-clippings .nav-link::before {
351    content: url(webtrees/menu/clippings.png);
352}
353
354.menu-clippings-add::before {
355    content: url(webtrees/menu/clippings-add.png);
356}
357
358.menu-clippings-cart::before {
359    content: url(webtrees/menu/clippings-cart.png);
360}
361
362.menu-clippings-download::before {
363    content: url(webtrees/menu/edit-preferences.png);
364}
365
366.menu-clippings-empty::before {
367    content: url(webtrees/menu/edit-delete.png);
368}
369
370.menu-story .nav-link::before {
371    content: url(webtrees/menu/story.png);
372}
373
374.wt-main-container {
375    /* Space between the header/footer and the main content. */
376    padding-top: 1rem;
377    padding-bottom: 1rem;
378}
379
380.wt-main {
381}
382
383.wt-messages {
384}
385
386.wt-page-title {
387    color: #006;
388    font-size: 1.5rem;
389    font-weight: bold;
390    text-align: center;
391}
392
393.wt-page-options {
394}
395
396.wt-page-content {
397}
398
399.wt-page-options-label {
400    color: #fff;
401    background-color: #81a9cb;
402    font-weight: bold;
403    border-left: 2px solid transparent;
404    border-right: 2px solid transparent;
405}
406
407.wt-page-options-value {
408    background-color: #edf7f9;
409    border: solid #81a9cb 1px;
410    padding: 0.25rem 0.75rem;
411}
412
413.wt-page-content {
414    margin-top: 1rem;
415}
416
417.wt-footers {
418}
419
420.wt-footer {
421}
422
423.wt-footer-contact {
424}
425
426.wt-footer-cookies {
427    background: #aaa;
428    color: #fff;
429    transition: height 0.5s;
430}
431
432.wt-footer-page-views {
433}
434
435.wt-footer-powered-by {
436}
437
438.wt-footer-powered-by-webtrees {
439    width: 100px;
440    height: 21px;
441    content: url(images/powered-by-webtrees.png);
442}
443
444/*
445 * The tree/user home pages
446 *
447 * wt-home-page / wt-user-page
448 * +---wt-main-blocks
449 * |   +---wt-block, wt-block-AAA
450 * |   +---wt-block, wt-block-BBB
451 * |   +---wt-block, wt-block-CCC
452 * +---wt-side-blocks
453 *     +---wt-block, wt-block-XXX
454 *     +---wt-block, wt-block-YYY
455 *     +---wt-block, wt-block-ZZZ
456 *
457 * Each block as the structure
458 * wt-block, wt-block-XXX
459 * +---wt-block-header, wt-block-header-XXX
460 * +---wt-block-content, wt-block-content-XXX
461 */
462
463.wt-block {
464    background-color: #edf7fd;
465    border: solid #81a9cb 1px;
466}
467
468.wt-block-header {
469    background-color: #edf7fd;
470    border-bottom: none;
471    font-weight: bold;
472}
473
474.wt-block-content {
475}
476
477.wt-block-content .list_table {
478    border-spacing: 1px;
479    border: solid #81a9cb 1px;
480    border-right: 0;
481}
482
483.wt-block-content .list_value,
484.wt-block-content .list_value_wrap {
485    border: 0;
486    border-top: solid #81a9cb 1px;
487    border-right: solid #81a9cb 1px;
488}
489
490/*
491 * The individual page.
492 *
493 * wt-route-individual
494 * +---wt-header-wrapper
495 */
496
497.wt-individual-silhouette-f {
498    content: url(images/individual-silhouette-female.png);
499}
500
501.wt-individual-silhouette-m {
502    content: url(images/individual-silhouette-male.png);
503}
504
505.wt-individual-silhouette-u,
506.wt-individual-silhouette-x {
507    content: url(images/individual-silhouette-unknown.png);
508}
509
510/*
511 * Chart-boxes are used to build the various charts.
512 * Each type of chart will set its own size and hide/show content.
513 *
514 * wt-chart-box
515 * +--- wt-chart-box-thumbnail
516 * +--- wt-chart-box-extra
517 *      +--- wt-chart-box-zoom
518 *           +--- wt-chart-box-icon
519 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
520 *      +--- wt-chart-box-links
521 *           +--- wt-chart-box-icon
522 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
523 * +--- wt-chart-box-name
524 * +--- wt-chart-box-lifespan
525 * +--- wt-chart-box-facts
526 *     +--- wt-chart-box-fact
527 */
528.wt-chart-box {
529    height: 5rem;
530    padding: 2px;
531    line-height: 1.1;
532    border: solid gray thin;
533}
534
535.wt-chart-box-f,
536.wt-chart-box-f .wt-chart-box-dropdown {
537    background: var(--sex-f-bg);
538    border: solid var(--sex-f-fg) thin;
539}
540
541.wt-chart-box-m,
542.wt-chart-box-m .wt-chart-box-dropdown {
543    background: var(--sex-m-bg);
544    border: solid var(--sex-m-fg) thin;
545}
546
547.wt-chart-box-u,
548.wt-chart-box-u .wt-chart-box-dropdown {
549    background: var(--sex-u-bg);
550    border: solid var(--sex-u-fg) thin;
551}
552
553.wt-chart-box-x,
554.wt-chart-box-x .wt-chart-box-dropdown {
555    background: var(--sex-x-bg);
556    border: solid var(--sex-x-fg) thin;
557}
558
559:focus {
560    outline-style: none;
561}
562
563.flash-messages {
564    clear: both;
565    text-align: center;
566}
567
568img {
569    border: 0;
570}
571
572legend img {
573    height: 20px;
574    vertical-align: middle;
575    width: 20px;
576}
577
578img.block {
579    border: 0;
580    height: 25px;
581    vertical-align: middle;
582}
583
584.button {
585    width: 60px;
586}
587
588.alpha_index {
589    color: #999;
590}
591
592.news_box:target,
593#gedcom_stats:target {
594    background-color: #ffc;
595}
596
597/* families tab person box */
598table.center {
599    margin-left: auto;
600    margin-right: auto;
601}
602
603.list_table {
604    margin: 0 auto;
605}
606
607.list_label,
608.list_label_wrap {
609    color: #fff;
610    background-color: #81a9cb;
611    font-weight: bold;
612    text-align: center;
613}
614
615.list_value,
616.list_value_wrap {
617    background-color: #edf7f9;
618    border: solid #81a9cb 1px;
619    vertical-align: top;
620    padding: 4px;
621}
622
623.list_label,
624.list_value {
625    white-space: nowrap;
626}
627
628.list_label_wrap,
629.list_value_wrap {
630    white-space: normal;
631}
632
633div.fact_SHARED_NOTE {
634    clear: both;
635}
636
637/* Table of genealogical facts */
638.wt-facts-table caption {
639    caption-side: top;
640}
641
642.wt-facts-table th {
643    background-color: #81a9cb;
644    border: solid #81a9cb 1px;
645    text-align: center;
646    font-weight: normal;
647}
648
649.wt-facts-table > tbody > tr > th {
650    min-width: 20%;
651}
652
653.wt-facts-table td {
654    background-color: #edf7fd;
655    border: 1px solid #81a9cb;
656}
657
658.wt-facts-table .wt-sex-f > td {
659    background-color: var(--sex-f-bg);
660    border: solid #81a9cb thin;
661}
662
663.wt-facts-table .wt-sex-m > td {
664    background-color: var(--sex-m-bg);
665    border: solid var(--sex-m-fg) thin;
666}
667
668.wt-facts-table .wt-sex-u > td {
669    background-color: var(--sex-u-bg);
670    border: solid var(--sex-u-fg) thin;
671}
672
673.wt-facts-table .wt-sex-x > td {
674    background-color: var(--sex-x-bg);
675    border: solid var(--sex-x-fg) thin;;
676}
677
678.details_label {
679    font-weight: bold;
680}
681
682.date {
683    color: #337;
684}
685
686.label {
687    font-weight: bold;
688}
689
690.error {
691    color: #d00;
692    font-weight: bold;
693}
694
695.indent {
696    padding-left: 20px;
697}
698
699.parentdeath {
700    border: thin solid #888;
701    padding: 1px;
702}
703
704.journal_box {
705    padding: 3pt;
706    border: thin solid #aaa;
707    overflow: visible;
708}
709
710.news_box {
711    background-color: #edf7fd;
712    border-top: solid #81a9cb 1px;
713}
714
715.news_title {
716    font-weight: bold;
717}
718
719.news_date {
720    margin-bottom: 12px;
721}
722
723.current_day {
724    font-weight: bold;
725    font-size: 16px;
726}
727
728.cal_day {
729    font-weight: bold;
730}
731
732.rtl_cal_day {
733    color: #00f;
734    font-weight: bold;
735}
736
737#user-page h1 {
738    margin: 0.25em auto 0.6em;
739}
740
741.tvertline {
742    vertical-align: bottom;
743}
744
745#childbox {
746    padding: 5px;
747    position: absolute;
748    display: none;
749    text-align: start;
750    white-space: nowrap;
751    top: 20px;
752    left: 0;
753}
754
755.layout3 #childbox {
756    top: auto;
757    bottom: 20px;
758}
759
760.person0 {
761    background-color: #aaf;
762    border: outset #aaf 1px;
763    vertical-align: top;
764}
765
766.person1 {
767    background-color: #afa;
768    border: outset #afa 1px;
769    vertical-align: top;
770}
771
772.person2 {
773    background-color: #faa;
774    border: outset #faa 1px;
775    vertical-align: top;
776}
777
778.person3 {
779    background-color: #55f;
780    border: outset #55f 1px;
781    vertical-align: top;
782}
783
784.person4 {
785    background-color: #f55;
786    border: outset #f55 1px;
787    vertical-align: top;
788}
789
790.person5 {
791    background-color: #5f5;
792    border: outset #5f5 1px;
793    vertical-align: top;
794}
795
796.starredname {
797    text-decoration: underline;
798}
799
800.search_hit {
801    background-color: #ff0;
802}
803
804.descriptionbox {
805    color: #fff;
806    font-size: 12px;
807    background-color: #81a9cb;
808    border: solid #81a9cb 1px;
809    vertical-align: top;
810    padding: 3px;
811}
812
813.optionbox {
814    background-color: #d1d9ef;
815    font-size: 1rem;
816    border: solid #81a9cb 1px;
817    vertical-align: top;
818    white-space: nowrap;
819    padding: 3px;
820}
821
822.red {
823    color: #f00;
824}
825
826.wt-associate-fact,
827.wt-relation-fact,
828.wt-historic-fact {
829    opacity: 0.8;
830}
831
832.messagebox {
833    background-color: #c2ceef;
834    border: solid #81a9cb 1px;
835}
836
837/* ---Pending edits--- */
838.wt-new {
839    outline: solid blue 1px;
840}
841
842.wt-old {
843    outline: solid red 1px;
844}
845
846.nowrap {
847    white-space: nowrap;
848}
849
850.wrap {
851    white-space: normal;
852}
853
854.statistics-page {
855    text-align: center;
856}
857
858.gchart {
859    border: solid #81a9cb 1px;
860}
861
862#facts_content dd {
863    float: left;
864    width: 70%;
865}
866
867td.descriptionbox a {
868    color: #fff;
869}
870
871.filtersH,
872.filtersF {
873    margin: 4px;
874}
875
876.filtersH img {
877    margin-bottom: 2px;
878}
879
880.list-charts {
881    text-align: center;
882}
883
884#place-hierarchy h2,
885#place-hierarchy h4 {
886    text-align: center;
887}
888
889/* ==== FAQ table styles ===== */
890table.faq {
891    background-color: #e0e0e0;
892    margin: 5px 0 50px 5px;
893    width: 98%;
894}
895
896table.faq tr:nth-child(odd) td {
897    background-color: #e7eef3;
898}
899
900div.faq_title {
901    background-color: #e0e0e0;
902    margin: 1em 0;
903    padding: .25em;
904    font-weight: bold;
905    width: 98%;
906}
907
908div.faq_body {
909    clear: both;
910    padding: 0 1em;
911}
912
913.faq_top {
914    float: right;
915}
916
917#indi_note {
918    margin: 0 0 5px;
919}
920
921.indi_table {
922    clear: left;
923}
924
925#indi_note .fact_NOTE {
926    float: left;
927    margin: 0 5px 0 0;
928}
929
930#indi_note .fact_SOUR {
931    margin: 3px 0;
932}
933
934#indi_note .fact_SOUR a {
935    font-size: 100%;
936}
937
938#indi_note .fact_NOTE,
939#indi_note .fact_SOUR {
940    clear: both;
941}
942
943.odometer {
944    font-family: courier, monospace;
945    font-weight: bold;
946    background: #000;
947    color: #fff;
948}
949
950/* Sidebar - Family navigator */
951.wt-family-navigator-dropdown {
952    background: #edf7fd;
953}
954
955.wt-family-navigator-dropdown-heading {
956    font-weight: bold;
957    font-size: inherit;
958    color: inherit;
959}
960
961/* Sidebar - Descendants */
962#sb_content_descendancy {
963    margin-top: 5px;
964}
965
966#sb_desc_content {
967    margin-left: 3px;
968    font-size: 0.8em;
969}
970
971#sb_desc_content ul {
972    padding: 0;
973    margin: 0;
974}
975
976.sb_desc_indi_li {
977    list-style-type: none;
978}
979
980/* Individuals and Families */
981#sidebar-content-individuals,
982#sidebar-content-families {
983    margin-top: 5px;
984}
985
986.sb_indi_surname_li,
987.sb_fam_surname_li {
988    list-style-image: url(icons/plus.png);
989}
990
991.name_tree_div ul {
992    padding: 0;
993    margin: 0;
994}
995
996.name_tree_div li {
997    list-style: none;
998    margin: 0;
999    padding: 0;
1000}
1001
1002/* Clippings */
1003#sb_clippings_content ul {
1004    padding: 0;
1005    margin: 0;
1006}
1007
1008#sb_clippings_content li {
1009    list-style: none;
1010    margin: 0;
1011    padding: 0;
1012    white-space: nowrap;
1013}
1014
1015/*-- Fan chart ---- */
1016.fan_chart_menu {
1017    background: #fff;
1018    position: absolute;
1019    display: none;
1020    z-index: 100;
1021}
1022
1023#fan_chart ul {
1024    list-style-type: none;
1025    margin: 0;
1026}
1027
1028/* Lifespans chart */
1029.wt-lifespans-subtitle {
1030    text-align: center;
1031}
1032
1033.wt-lifespans-scale {
1034    white-space: nowrap;
1035}
1036
1037.wt-lifespans-decade {
1038    width: 70px;
1039    height: 60px;
1040    display: inline-block;
1041    background-image: url(images/lifespan-decade.png);
1042    background-position-y: bottom;
1043    background-repeat: no-repeat;
1044    background-size: 70px 37px;
1045}
1046
1047.wt-lifespans-individuals {
1048    background: #fafafa;
1049}
1050
1051.wt-lifespans-individual {
1052}
1053
1054.wt-lifespans-summary {
1055    background: #ffffff;
1056    border: thin solid #000;
1057    z-index: 1;
1058}
1059
1060.wt-lifespans-summary-link {
1061    font-weight: bold;
1062}
1063
1064/*-- timeline  --*/
1065#timeline_chart {
1066    position: relative;
1067    top: 0;
1068    left: 0;
1069}
1070
1071/*
1072 * Any element that is loaded dynamically has the class wt-ajax-load.
1073 * We can provide a "loading" placeholder for empty elements with this class.
1074 */
1075.wt-ajax-load:empty {
1076    height: 32px;
1077    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1078}
1079
1080/*
1081 * Default icons are provided by FontAwesome.
1082 */
1083.wt-icon-anniversary {
1084    content: url(icons/anniversary.png);
1085}
1086
1087.wt-icon-arrow-down {
1088    content: url(webtrees/icons/arrow-down.png);
1089}
1090
1091a > .wt-icon-arrow-down:hover {
1092    content: url(webtrees/icons/arrow-down-hover.png);
1093}
1094
1095.wt-icon-arrow-left {
1096    content: url(webtrees/icons/arrow-left.png);
1097}
1098
1099a > .wt-icon-arrow-left:hover {
1100    content: url(webtrees/icons/arrow-left-hover.png);
1101}
1102
1103.wt-icon-arrow-right {
1104    content: url(webtrees/icons/arrow-right.png);
1105}
1106
1107a > .wt-icon-arrow-right:hover {
1108    content: url(webtrees/icons/arrow-right-hover.png);
1109}
1110
1111.wt-icon-arrow-up {
1112    content: url(webtrees/icons/arrow-up.png);
1113}
1114
1115a > .wt-icon-arrow-up:hover {
1116    content: url(webtrees/icons/arrow-up-hover.png);
1117}
1118
1119.wt-icon-bing-maps {
1120    content: url(icons/bing-maps.png);
1121}
1122
1123.wt-icon-calendar {
1124    content: url(icons/calendar.png)
1125}
1126
1127.wt-icon-collapse {
1128}
1129
1130.wt-icon-coordinates {
1131    content: url(icons/coordinates.png)
1132}
1133
1134.wt-icon-copy {
1135    content: url(icons/copy.png)
1136}
1137
1138.wt-icon-delete {
1139    content: url(icons/delete.png);
1140}
1141
1142.wt-icon-edit {
1143    content: url(icons/edit.png);
1144}
1145
1146.wt-icon-expand {
1147}
1148
1149.wt-icon-family {
1150    content: url(icons/family.png);
1151}
1152
1153.wt-icon-google-maps {
1154    content: url(icons/google-maps.png);
1155}
1156
1157.wt-icon-help {
1158    content: url(webtrees/icons/help.png);
1159}
1160
1161.wt-icon-individual {
1162    content: url(icons/individual.png);
1163}
1164
1165.wt-icon-keyboard {
1166    content: url(icons/keyboard.png);
1167}
1168
1169.wt-icon-media {
1170    content: url(icons/media.png);
1171}
1172
1173.wt-icon-note {
1174    content: url(icons/note.png);
1175}
1176
1177.wt-icon-openstreetmap {
1178    content: url(icons/openstreetmap.png);
1179}
1180
1181.wt-icon-preferences {
1182    content: url(webtrees/icons/preferences.png);
1183}
1184
1185.wt-icon-reorder {
1186    content: url(icons/reorder.png);
1187}
1188
1189.wt-icon-repository {
1190    content: url(icons/repository.png);
1191}
1192
1193.wt-icon-sex {
1194    height: 1em;
1195}
1196
1197.wt-icon-sex-f {
1198    content: url(icons/sex-female.png);
1199}
1200
1201.wt-icon-sex-m {
1202    content: url(icons/sex-male.png);
1203}
1204
1205.wt-icon-sex-u {
1206    content: url(icons/sex-unknown.png);
1207}
1208
1209.wt-icon-sex-x {
1210    content: url(icons/sex-unknown.png);
1211}
1212
1213.wt-icon-source {
1214    content: url(icons/source.png);
1215}
1216
1217.wt-icon-submitter {
1218    content: url(icons/individual.png);
1219}
1220
1221.wt-icon-warning {
1222    content: url(icons/warning.png);
1223}
1224
1225.wt-icon-zoom-in {
1226    content: url(webtrees/icons/zoom-in.png);
1227}
1228
1229.wt-icon-zoom-out {
1230    content: url(webtrees/icons/zoom-out.png);
1231}
1232
1233/* Miscellaneous images */
1234.icon-cfamily {
1235    content: url(webtrees/images/family.png);
1236}
1237
1238.icon-childless {
1239    content: url(images/childless.png);
1240}
1241
1242.icon-children {
1243    content: url(images/children.png);
1244}
1245
1246.icon-edit_indi {
1247    content: url(webtrees/images/edit_indi.png);
1248}
1249
1250.icon-fam-list {
1251    content: url(webtrees/images/family.png);
1252}
1253
1254.icon-indi-list {
1255    content: url(webtrees/images/indis.png);
1256}
1257
1258.icon-loading-small {
1259    content: url(images/indicator.gif);
1260}
1261
1262.icon-minus {
1263    content: url(icons/minus.png);
1264}
1265
1266.icon-mypage {
1267    content: url(webtrees/images/mypage.png);
1268}
1269
1270.icon-plus {
1271    content: url(icons/plus.png);
1272}
1273
1274.icon-resn-confidential {
1275    content: url(images/resn_confidential.png);
1276}
1277
1278.icon-resn-locked {
1279    content: url(images/resn_locked.png);
1280}
1281
1282.icon-resn-none {
1283    content: url(images/resn_none.png);
1284}
1285
1286.icon-resn-privacy {
1287    content: url(images/resn_privacy.png);
1288}
1289
1290.icon-rings {
1291    content: url(images/rings.png);
1292}
1293
1294.icon-selected {
1295    content: url(webtrees/images/selected.png);
1296}
1297
1298/* Silhouettes on charts */
1299.icon-silhouette-f {
1300    content: url(webtrees/images/silhouette_female_small.png);
1301}
1302
1303.icon-silhouette-m {
1304    content: url(webtrees/images/silhouette_male_small.png);
1305}
1306
1307.icon-silhouette-u,
1308.icon-silhouette-x {
1309    content: url(webtrees/images/silhouette_unknown_small.png);
1310}
1311
1312.icon-indis {
1313    content: url(webtrees/images/indis.png);
1314}
1315
1316.icon-patriarch {
1317    content: url(webtrees/images/patriarch.png);
1318}
1319
1320.icon-pedigree {
1321    content: url(webtrees/images/pedigree.png);
1322}
1323
1324.icon-sfamily {
1325    content: url(webtrees/images/family.png);
1326}
1327
1328.icon-user_add {
1329    content: url(webtrees/images/user_add.png);
1330}
1331
1332/* Census assistant */
1333.wt-census-assistant-form-control:focus {
1334    min-width: 12rem;
1335}
1336
1337/* Some blocks show a reduced version on the right-hand side. */
1338.wt-side-blocks .wt-side-block-optional {
1339    display: none !important;
1340}
1341
1342/* my page chart enhancements */
1343.wt-block-content-charts {
1344    overflow: auto;
1345}
1346
1347/* Some charts are wider than the page. */
1348.wt-chart {
1349    overflow-x: auto;
1350    overflow-y: hidden;
1351}
1352
1353/* Forms */
1354.col-form-label {
1355    font-weight: bold;
1356}
1357