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