MediaWiki:GeshiStyles/code.css

.mw-geshi pre { display: inline-block; padding: 5px 10px; } .mw-geshi ol { list-style-type: none; margin-left: 30px; margin-top: 10px; counter-reset: line; } .mw-geshi ol li { padding: 5px 10px; } .mw-geshi ol li:before { content: counter(line) '.'; margin-right: 20px; counter-increment: line; border: 1px solid #ddd; padding: 2px 5px; } .mw-geshi { background-color: #fff; background-image: linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px), linear-gradient(#eee .1em, transparent .1em); background-size: 100% 1.9em; }