MediaWiki:Gadget-ms-Familytree.css: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
Line 39: Line 39:


/* Template:Familytree on dark theme */
/* Template:Familytree on dark theme */
.theme-fandomdesktop-dark .family-tree td.family-tree-element {
.theme-fandomdesktop-dark .familytree td.family-tree-element {
     background-color: #41364d !important;
     background-color: #41364d !important;
color:#fff;
color:#fff;
}
}

Revision as of 16:52, 16 March 2023

/* Styles for Template:Familytree/element */
.family-tree-table-cell {
  margin: 0;
  padding: 0;
}

.family-tree-line-table {
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

.family-tree-line {
  width: 1em;
  height: 1em;
}

.family-tree-line-dashed-right {
  border-right: 1px dashed #8B4513;
}

.family-tree-line-dashed-bottom {
  border-bottom: 1px dashed #8B4513;
}

.family-tree-line-solid-right {
  border-right: 1px solid #8B4513;
}

.family-tree-line-solid-bottom {
  border-bottom: 1px solid #8B4513;
}

.family-tree-element {
  background-color: #F5DEB3;
  padding: 0.2em;
  text-align: center;
}

/* Template:Familytree on dark theme */
.theme-fandomdesktop-dark .familytree td.family-tree-element {
    background-color: #41364d !important;
	color:#fff;
}