Template:Brace border/styles.css

From Wikisource
Jump to navigation Jump to search
.wst-brace-border > p:last-child {
	margin-bottom: 0;
}

.wst-brace-border > p:first-child {
	margin-top: 0;
}

.wst-brace-border-shrink {
	display: inline-block;
}

.wst-brace-border-outside {
	margin-left: -10px;
	margin-right: -10px;
}

.wst-brace-border-left,
.wst-brace-border-right,
.wst-brace-border-lr {
    border-image-source:  url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/GullBraceLeftRight.svg/90px-GullBraceLeftRight.svg.png');
    border-image-slice: 10% 50%;
}

.wst-brace-border-left {
    border-left: solid;
    border-width: 0 0 0 10px;
    border-image-width: 4px 0 4px 10px;
}

.wst-brace-border-right {
    border-right: solid;
    border-width: 0 10px 0 0;
    border-image-width: 4px 10px 4px 0;
}

.wst-brace-border-lr {
    border-right: solid;
    border-left: solid;
    border-width: 0 10px 0 10px;

    border-image-width: 4px 10px 4px 10px;
}

.wst-brace-border-top,
.wst-brace-border-bottom,
.wst-brace-border-tb {
    border-image-source:  url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/GullBraceTopBottom.svg/166px-GullBraceTopBottom.svg.png');
    border-image-slice: 50% 10%;
}

.wst-brace-border-top {
    border-top: solid;
    border-width: 10px 0 0 0;
    border-image-width: 10px 4px 0 4px;
}

.wst-brace-border-bottom {
    border-bottom: solid;
    border-width: 0 0 10px 0;
    border-image-width: 0 4px 10px 4px;
}

.wst-brace-border-tb {
    border-top: solid;
    border-bottom: solid;
    border-width: 10px 0 10px 0;

    border-image-width: 10px 4px 10px 4px;
}