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