MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Fix flickering */ body, code, pre, #WikiaPage, .WikiaArticle { -webkit-font-smoothing: subpixel-antialiased; -webkit-backface-visibility: hidden; backface-visibility: hidden; font-rendering: optimizeLegibility; }

/* Codeblocks */

.hljs, code .hljs, font-family: 'Fira Code', 'Lucida Console', 'Courier New', 'Consolas', 'ubuntu-mono', monospace; font-size: 0.9rem; }
 * 1) WikiaArticle.WikiaArticle pre,
 * 2) WikiaArticle #theme-solarized-light,
 * 3) WikiaArticle #theme-solarized-dark {

/** * Highlight-js codeblock padding fix */   padding: 0 !important; }
 * 1) WikiaArticle.WikiaArticle code[class]:not(.no-language) .hljs {

/* Codeblock identifiers */

code[class]:not(.no-language) { -webkit-backface-visibility: hidden; backface-visibility: hidden; contain: layout paint style; white-space: pre-wrap; word-break: break-all; --codeblock-colour: #D10000; }

code[class]:not(.no-language)::before { content: attr(class); display: flex; align-items: center; position: sticky; width: auto; height: 24px; padding-left: 10px; color: #FFF; font-family: 'Fira Code', 'Consolas', 'Lucida Console', monospace; font-weight: 450; font-size: 0.9rem; text-indent: 20px; text-transform: uppercase; box-shadow: 0 0 12px var(--codeblock-colour) !important; background-color: var(--codeblock-colour) !important; background-image: url('https://vignette.wikia.nocookie.net/central/images/6/6b/CodeIcon.png/revision/latest?cb=20190630222746'); background-size: 20px; background-position: 5px; background-repeat: no-repeat; margin: 0 !important; }

/*@end@*/