MediaWiki:Exclusive test.css

.exclusive-section { display: inline-block; margin: 1em 0; } .exclusive-section:before, .exclusive-section:after { content: ""; position: sticky; display: block; border-top: 2px dashed; border-left: 2px solid transparent; border-right: 2px solid transparent; z-index: 10; } .exclusive-section:before { top: 0; } .exclusive-section:after { bottom: 0; }

.exclusive-section > .exclusive-container { outline: 2px dashed; margin: 0 2px; padding: 0.5em 1em; overflow: auto; } .exclusive-paragraph > .exclusive-container, .exclusive-list > .exclusive-container { outline: 2px dashed; cursor: help; padding: 0.1em 0.2em; }

.exclusive-console.exclusive-section:before, .exclusive-console.exclusive-section:after { border-top-color: #FF9; } .exclusive-console > .exclusive-container { outline-color: #FF9; }

.exclusive-java.exclusive-section:before, .exclusive-java.exclusive-section:after { border-top-color: #FC9; } .exclusive-java > .exclusive-container { outline-color: #FC9; }

.exclusive-bedrock.exclusive-section:before, .exclusive-bedrock.exclusive-section:after { border-top-color: #9F9; } .exclusive-bedrock > .exclusive-container { outline-color: #9F9; }

.exclusive-bedrock.exclusive-java.exclusive-section:before, .exclusive-bedrock.exclusive-java.exclusive-section:after { background-color: #FC9; } .exclusive-bedrock.exclusive-java > .exclusive-container { box-shadow: 0 0 0 2px #FC9; }

.exclusive-bedrock.exclusive-console.exclusive-section:before, .exclusive-bedrock.exclusive-console.exclusive-section:after, .exclusive-java.exclusive-console.exclusive-section:before, .exclusive-java.exclusive-console.exclusive-section:after { background-color: #FF9; } .exclusive-bedrock.exclusive-console > .exclusive-container, .exclusive-java.exclusive-console > .exclusive-container { box-shadow: 0 0 0 2px #FF9; }