User:Westgrass/common.css

table.diagram td.ct, table.diagram td.cb{ position: relative; }

table.diagram td.ct:before, table.diagram td.cb:before, table.diagram td.ct:after, table.diagram td.cb:after{ content: ""; display: block; position: absolute; width: 5px; height: 5px; box-sizing: border-box; border-style: solid; border-color: var(--theme-border-color); } table.diagram td.ct:before{ right: 0; top: 0; width: 100%; height: calc(100%-5px); border-width: 0 1px 0 0; } table.diagram td.cb:before{ right: -5px; top: 0; border-width: 0 1px 1px 0; border-radius: 0 0 5px 0; }

table.diagram td.ct:after{ right: -5px; bottom: -1px; border-width: 1px 1px 0 0; border-radius: 0 5px 0 0; } table.diagram td.cb:after{ right: -5px; top: 0; border-width: 0 1px 1px 0; border-radius: 0 0 5px 0; }