/**
* webtrees: online genealogy
* Copyright (C) 2026 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 .
*/
/* The minimal theme */
@import "_base.css";
:root {
--chart-line-radius: var(--bs-border-radius-xl);
--chart-line: solid var(--bs-secondary-color) var(--bs-border-width);
--link-color-hover: var(--bs-link-hover-color);
--link-color: var(--bs-link-color);
--link-decoration-hover: var(--bs-link-decoration);
--link-decoration: none;
--sex-f-bg: var(--bs-body-bg);
--sex-f-fg: var(--bs-pink);
--sex-m-bg: var(--bs-body-bg);
--sex-m-fg: var(--bs-blue);
--sex-u-bg: var(--bs-body-bg);
--sex-u-fg: var(--bs-gray);
--sex-x-bg: var(--bs-body-bg);
--sex-x-fg: var(--bs-gray);
}
/* Override Bootstrap formatting */
.btn-link {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.table-given-name {
overflow-x: hidden;
}
.container-fluid {
padding-left: 5px;
padding-right: 5px;
}
table {
border-collapse: separate;
}
/*
* Pages have the following high-level structure:
*
* wt-global wt-theme- wt-route-
* +---wt-header-wrapper
* | +---wt-header-container
* | +---wt-header-content
* | +---wt-accessibility-links
* | +---wt-site-logo
* | +---wt-site-title
* | +---wt-header-search
* | | +---wt-header-search-form
* | | +---wt-header-search-field
* | | +---wt-header-search-button
* | +---wt-secondary-navigation
* | | +---wt-user-menu
* | +---wt-primary-navigation
* | +---wt-genealogy-menu
* +---wt-main-wrapper
* | +---wt-main-container
* | +---wt-main-content
* | +---wt-messages
* | +---wt-page-title
* | +---wt-page-options wt-page-options-xxxxx
* | +---wt-page-content
* +---wt-footers
* +---wt-footer wt-footer-xxxxx
*/
.wt-header-wrapper {
background: var(--bs-primary-bg-subtle);
}
.wt-header-container {
margin-top: 1rem;
}
.wt-header-content {
}
.wt-accessibility-links {
}
.wt-site-logo {
display: none;
}
.wt-site-title {
order: 1;
flex: 1 1 auto;
width: auto;
font-size: 1.75rem;
color: var(--bs-primary-text-emphasis);
}
.wt-header-search {
order: 3;
flex: 0 0 15rem;
}
.wt-header-search-form {
}
.wt-header-search-field {
}
.wt-header-search-button {
}
.wt-secondary-navigation {
order: 2;
flex: 0 0 auto;
width: auto;
white-space: nowrap;
}
.wt-user-menu {
flex-wrap: nowrap;
}
.wt-user-menu .nav-link {
padding: 0.5rem;
}
.wt-primary-navigation {
order: 4;
/* Extend to full page width */
flex: 0 1 100vw;
max-width: 100vw;
/* Recalculate margins for content */
margin: 0 calc(50% - 50vw);
padding: 0 calc(50vw - 50%);
}
.wt-genealogy-menu {
justify-content: center;
}
.wt-genealogy-menu .nav-link {
padding: 0.5rem;
}
.wt-main-container {
/* Space between the header/footer and the main content. */
padding-top: 1rem;
padding-bottom: 1rem;
}
.wt-main {
}
.wt-messages {
}
.wt-page-title {
text-align: center;
}
.wt-page-content {
margin-top: 1rem;
}
.wt-footers {
}
.wt-footer {
}
.wt-footer-contact {
}
.wt-footer-page-views {
}
.wt-footer-powered-by {
}
.wt-footer-powered-by-webtrees {
}
/*
* The tree/user home pages
*
* wt-home-page / wt-user-page
* +---wt-main-blocks
* | +---wt-block, wt-block-AAA
* | +---wt-block, wt-block-BBB
* | +---wt-block, wt-block-CCC
* +---wt-side-blocks
* +---wt-block, wt-block-XXX
* +---wt-block, wt-block-YYY
* +---wt-block, wt-block-ZZZ
*
* Each block as the structure
* wt-block, wt-block-XXX
* +---wt-block-header, wt-block-header-XXX
* +---wt-block-content, wt-block-content-XXX
*/
.wt-block {
}
.wt-block-header {
}
.wt-block-content {
}
.wt-block-content .list_table {
border-spacing: 1px;
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
border-right: 0;
}
.wt-block-content .list_value,
.wt-block-content .list_value_wrap {
border: 0;
border-top: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
border-right: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
border-radius: var(--bs-border-radius);
}
/*
* The individual page.
*
* wt-route-individual
* +---wt-header-wrapper
*/
.wt-individual-silhouette-f {
content: url(images/individual-silhouette-female.png);
}
.wt-individual-silhouette-m {
content: url(images/individual-silhouette-male.png);
}
.wt-individual-silhouette-u,
.wt-individual-silhouette-x {
content: url(images/individual-silhouette-unknown.png);
}
/*
* Chart-boxes are used to build the various charts.
* Each type of chart will set its own size and hide/show content.
*
* wt-chart-box
* +--- wt-chart-box-thumbnail
* +--- wt-chart-box-extra
* +--- wt-chart-box-zoom
* +--- wt-chart-box-icon
* +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
* +--- wt-chart-box-links
* +--- wt-chart-box-icon
* +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
* +--- wt-chart-box-name
* +--- wt-chart-box-lifespan
* +--- wt-chart-box-facts
* +--- wt-chart-box-fact
*/
.wt-chart-box {
height: 5rem;
padding: 2px;
line-height: 1.1;
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
}
.wt-chart-box-f {
background: var(--sex-f-bg);
border: var(--bs-border-style) var(--sex-f-fg) var(--bs-border-width);
}
.wt-chart-box-m {
background: var(--sex-m-bg);
border: var(--bs-border-style) var(--sex-m-fg) var(--bs-border-width);
}
.wt-chart-box-u {
background: var(--sex-u-bg);
border: var(--bs-border-style) var(--sex-u-fg) var(--bs-border-width);
}
.wt-chart-box-x {
background: var(--sex-x-bg);
border: var(--bs-border-style) var(--sex-x-fg) var(--bs-border-width);
}
/* ---Pending edits--- */
.wt-new {
outline: solid thin blue;
}
.wt-old {
outline: solid thin red;
}
.list_value,
.list_value_wrap {
background: var(--bs-body-bg);
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
border-radius: var(--bs-border-radius);
vertical-align: top;
padding: 4px;
}
.list_table {
margin: 0 auto;
}
.filtersH,
.filtersF {
margin: 4px;
}
.filtersH img {
margin-bottom: 2px;
}
.list-charts {
text-align: center;
}
#place-hierarchy h2,
#place-hierarchy h4 {
text-align: center;
}
.user_welcome_block table,
.gedcom_block_block table {
margin: auto;
}
.user_welcome_block td,
.gedcom_block_block td {
width: 33%;
text-align: center;
vertical-align: top;
}
.user_welcome_block i,
.gedcom_block_block i {
background-image: none;
height: 0;
width: 0;
}
/* Table of genealogical facts */
.wt-facts-table caption {
caption-side: top;
}
.wt-facts-table th {
font-weight: normal;
}
.wt-facts-table > tbody > tr > th {
min-width: 20%;
}
.wt-facts-table td {
}
.parentdeath {
padding: 1px;
}
/* ==== FAQ table styles ===== */
table.faq {
margin: 5px 0 50px 5px;
width: 98%;
}
div.faq_title {
margin: 1em 0;
padding: .25em;
font-weight: bold;
width: 98%;
}
div.faq_body {
clear: both;
padding: 0 1em;
}
.faq_top {
float: right;
}
#indi_note {
margin: 0 0 5px;
}
.indi_table {
clear: left;
}
.label {
font-weight: bold;
}
#indi_note .fact_NOTE {
float: left;
margin: 0 5px 0 0;
}
#indi_note .fact_SOUR {
margin: 3px 0;
}
#indi_note .fact_SOUR a {
font-size: 100%;
}
#indi_note .fact_NOTE,
#indi_note .fact_SOUR {
clear: both;
}
.odometer {
font-family: var(--bs-font-monospace);
font-weight: var(--bs-font-weight-bold);
color: var(--bs-emphasis-color);
background-color: var(--bs-secondary-bg);
padding: 0.1rem 0.25rem;
border-radius: var(--bs-border-radius-sm);
}
.upcoming_events_block button,
.todays_events_block button {
margin: 0 20px;
}
/* Sidebar - Family navigator */
/* Sidebar - Descendants */
#sb_content_descendancy {
margin-top: 5px;
}
#sb_desc_content {
margin-left: 3px;
font-size: 0.8em;
}
#sb_desc_content ul {
padding: 0;
margin: 0;
}
.sb_desc_indi_li {
list-style-type: none;
}
/* Individuals and Families */
#sidebar-content-individuals,
#sidebar-content-families {
margin-top: 5px;
}
.sb_indi_surname_li,
.sb_fam_surname_li {
list-style-image: url(icons/plus.png);
}
.name_tree_div ul {
padding: 0;
margin: 0;
}
.name_tree_div li {
list-style: none;
margin: 0;
padding: 0;
}
/* Clippings */
#sb_clippings_content ul {
padding: 0;
margin: 0;
}
#sb_clippings_content li {
list-style: none;
margin: 0;
padding: 0;
white-space: nowrap;
}
/* ====== Charts Styles ======== */
#people label {
display: block;
}
/*-- Fan chart ---- */
.fan_chart_menu {
background: var(--bs-body-bg);
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
border-radius: var(--bs-border-radius);
position: absolute;
display: none;
z-index: 100;
}
#fan_chart ul {
list-style-type: none;
margin: 0;
}
/* Lifespans chart */
.wt-lifespans-subtitle {
text-align: center;
}
.wt-lifespans-scale {
white-space: nowrap;
}
.wt-lifespans-decade {
width: 70px;
height: 60px;
display: inline-block;
background-image: url(images/lifespan-decade.png);
background-position-y: bottom;
background-repeat: no-repeat;
background-size: 70px 37px;
}
.wt-lifespans-individuals {
}
.wt-lifespans-individual {
}
.wt-lifespans-summary {
background: var(--bs-secondary-bg);
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
z-index: 1;
}
.wt-lifespans-summary-link {
font-weight: bold;
}
/*-- Pedigree ---- */
.tvertline {
vertical-align: bottom;
}
.optionbox, .descriptionbox {
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
vertical-align: top;
padding: 3px;
}
#childbox {
padding: 5px;
position: absolute;
display: none;
text-align: start;
white-space: nowrap;
top: 20px;
left: 0;
}
.layout3 #childbox {
top: auto;
bottom: 20px;
}
.person0, .person1, .person2, .person3, .person4, .person5, .person6, .person7 {
border: outset var(--bs-border-color) var(--bs-border-width);
vertical-align: top;
}
/*
* Default icons are provided by FontAwesome.
*/
.wt-icon-sex-f {
color: var(--sex-f-fg);
}
.wt-icon-sex-m {
color: var(--sex-m-fg);
}
.wt-icon-sex-u {
color: var(--sex-u-fg);
}
.wt-icon-sex-x {
color: var(--sex-x-fg);
}
/* Miscellaneous images */
.icon-loading-small {
content: url(images/indicator.gif);
}
.icon-loading-large {
content: url(images/loading-32x32.gif);
}
.icon-minus {
content: url(icons/minus.png);
}
.icon-plus {
content: url(icons/plus.png);
}
.icon-rings {
content: url(images/rings.png);
}
/* Silhouettes on charts */
.icon-silhouette-f {
content: url(minimal/images/silhouette_female_small.png);
}
.icon-silhouette-m {
content: url(minimal/images/silhouette_male_small.png);
}
.icon-silhouette-u,
.icon-silhouette-x {
content: url(minimal/images/silhouette_unknown_small.png);
}
/* Census assistant */
.wt-census-assistant-form-control:focus {
min-width: 12rem;
}
/* Some blocks show a reduced version on the right-hand side. */
.wt-side-blocks .wt-side-block-optional {
display: none !important;
}
/* my page chart enhancements */
.wt-block-content-charts {
overflow: auto;
}
/* Some charts are wider than the page. */
.wt-chart {
overflow-x: auto;
overflow-y: hidden;
}
.wt-calendar-month {
border-collapse: collapse;
}
.wt-calendar-month .wt-page-options-label,
.wt-calendar-month .wt-page-options-value {
border: var(--bs-border-style) var(--bs-border-color) var(--bs-border-width);
padding: 0.2rem;
}
.wt-page-options-value {
padding: 0.2rem;
}
/* Forms */
.col-form-label {
font-weight: bold;
}
/* Accordions */
.accordion .wt-icon-expand,
.accordion .wt-icon-collapse {
display: none;
}
.accordion-button:after {
display: block;
}