MediaWiki:LanguageBox.css

/** * * @title           LanguageBox * @description    Converts the interlanguage navigation at the end of the article into a box above the article contents. * @author         Speedit * @version        1.0.0 * @license        CC-BY-SA 3.0 * */

/** * @section        Content reordering * @element        #WikiaMainContentContainer */ .skin-oasis #WikiaMainContentContainer { display: flex; flex-flow: column nowrap; } .skin-oasis #WikiaMainContentContainer .WikiaArticleInterlang { order: -1; }

/** * @section        Interlanguage box styling * @element        .WikiaArticleInterlang */ .skin-oasis #WikiaMainContentContainer .WikiaArticleInterlang { font-size: 14px; line-height: 22px; border: 1px solid hsla(0, 0%, 0%, 0.2); margin: 1em 0; padding: 5px; } .oasis-dark-theme #WikiaMainContentContainer .WikiaArticleInterlang { border: 1px solid hsla(0, 0%, 100%, 0.2); } .skin-oasis #WikiaMainContentContainer .WikiaArticleInterlang h3 { font-size: inherit; font-weight: bold; line-height: 1.5em; } .skin-oasis #WikiaMainContentContainer .WikiaArticleInterlang ul { margin-bottom: -6px; } .skin-oasis #WikiaMainContentContainer .WikiaArticleInterlang ul li { border: none; display: inline; line-height: 1.5em; margin: 0; padding: 0; } .skin-oasis .WikiaArticleInterlang ul li:nth-child(n+2):before { content: ' ' var(--language-box-separator, '|') ' '; display: inline; }

/** * @section        Dev Wiki main page language box * @element        .wiki-dev.mainpage .WikiaArticleInterlang */ .skin-oasis.wiki-dev.mainpage .WikiaArticleInterlang { border: none; font-family: Rubik, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; line-height: 150%; margin: 0 10% 1% 7%; /* width: 670px; */ } @media (max-width:1023px) { .skin-oasis.wiki-dev.mainpage .WikiaArticleInterlang { margin-left: auto; margin-right: auto; } } @media (min-width:1024px) and (max-width:1600px) { .skin-oasis.wiki-dev.mainpage .WikiaArticleInterlang { margin-left: 0; margin-right: 0; } }

/** **/