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

From Tardis Wiki, the free Doctor Who reference
(Move mobile styling)
 
(3 intermediate revisions by 2 users not shown)
Line 36: Line 36:
   padding: 0.2em;
   padding: 0.2em;
   text-align: center;
   text-align: center;
}
/* Template:Familytree on dark theme */
.theme-fandomdesktop-dark .familytree td.family-tree-element {
    background-color: #41364d !important;
color:#fff;
}
}

Latest revision as of 18:35, 19 February 2024

/* 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;
}