MediaWiki talk:Common.css: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Created page with "== Suggestion == Add this to Common.css. Somewhat modernizes the wiki: <pre lang="css"> →‎Make a good editing bar: .wikiEditor-ui-toolbar { background-color: #fff;...")
 
(→‎Tiny Cube fix: new section)
 
Line 28: Line 28:
</pre>
</pre>
~ [[User:Headquarter8302|<span style="color: blue; padding: 3px; border: 1px solid black;">Headquarter</span>]][[User talk:Headquarter8302|<span style="color: orange; padding: 3px; border: 1px solid black">8302</span>]] 23:49, 26 May 2021 (UTC)
~ [[User:Headquarter8302|<span style="color: blue; padding: 3px; border: 1px solid black;">Headquarter</span>]][[User talk:Headquarter8302|<span style="color: orange; padding: 3px; border: 1px solid black">8302</span>]] 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;
  }
— [[User:Tark|<span style="font-weight:bold;color: #5BC236">Tark</span>]] 13:54, 26 May 2024 (UTC)

Latest revision as of 13:54, 26 May 2024

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)