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)

Tiny Cube fix

  #pt-userpage a,
  #pt-login,
  #pt-anonuserpage {
    background: url(https://i2.theportalwiki.net/img/b/b4/Icon_Tiny_Cube.png) left top no-repeat !important;
    padding-left: 20px !important;
    background-position-y: 6px !important;
  }

Tark 13:54, 26 May 2024 (UTC)