Module:family tree/style.css: Difference between revisions
Sware created the page Module:family tree/style.css using a non-default content model "Sanitized CSS" |
No edit summary |
||
| Line 1: | Line 1: | ||
.familytree { | |||
font-family: monospace; | |||
font-size: 1.25em; | |||
white-space: nowrap; | |||
} | |||
.familytree ul { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; /* counteract a mobile style */ | |||
} | |||
.familytree li { | |||
margin: 0; | |||
} | |||
.familytree-toptoggle { | |||
margin-left: 1ch; | |||
} | |||
.familytree-toptoggle::before { | |||
content: "["; | |||
} | |||
.familytree-toptoggle::after { | |||
content: "]"; | |||
} | |||
.familytree-code { | |||
color: green; | |||
} | |||
.familytree-icon { | |||
padding: 0 0.5ch; | |||
color: white; | |||
font-size: 0.8em; | |||
} | |||
.familytree-family .familytree-icon, | |||
.familytree-lang .familytree-icon { | |||
background: green; | |||
} | |||
.familytree-etymlang .familytree-icon { | |||
background: #005ab3; | |||
} | |||