Template:Codesample
From HS Wiki
Jump to navigationJump to search.wt-codesample-wrapper { margin: 1em 0; } .wt-codesample-header { display: flex; } .wt-codesample-header div { border-color: #c8ccd1; border-style: solid; border-width: 0; } .wt-codesample-header .wt-codesample-title { font-weight: bold; padding: .5em 1em; border-width: 1px 1px 0 1px; border-radius: .5em .5em 0 0; } .wt-codesample-header .wt-codesample-fill { border-width: 0 0 1px 0; flex: 2; } .wt-codesample-wrapper pre { font-family: "Source Code Pro",Menlo,Consolas,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New", monospace, monspace; margin: 0; } .wt-codesample-header + .mw-highlight pre { border-top: none; }