MediaWiki talk:Common.css

From the Portal Wiki
Jump to navigation Jump to search

Suggestion

Add this to Common.css. Somewhat modernizes the wiki:

/* Make a good editing bar */
.wikiEditor-ui-toolbar {
    background-color: #fff;
    box-shadow: 0 2px 1px 0 rgb(0 0 0 / 10%);
}

div[rel="wikiEditor-ui-view-preview"].current,
div[rel="wikiEditor-ui-view-changes"].current {
     box-shadow: 0 2px 1px 0 rgb(0 0 0 / 10%);
     background-color: #fff;
}

div#content.mw-body {
     box-shadow: 0.3px 0.3px 3px #25bdec;
}

/* ignore this, unnecessary unless really needed */
.vector-menu-portal h3 {
    background-image: url(https://en.wikipedia.org/w/skins/Vector/resources/common/images/portal-separator.png?4ab04);
    background-image: linear-gradient(to right,#c8ccd100 0,#c8ccd1 33%,#c8ccd1 66%,#c8ccd100 100%);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 1px;
}

~ Headquarter8302 23:49, 26 May 2021 (UTC)