MediaWiki:Common.css

From Screeps Wiki
Revision as of 13:27, 4 October 2020 by SemperRabbit (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Make your own CSS!
* wiki.screepspl.us/index.php/Special:MyPage/common.css
*/

body, #mw-page-base {
  background-color: #2b2b2b !important;
  background-repeat: repeat-x !important;   
  background-attachment: fixed;
  color: #bbb;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: lighter;
  line-height: 1.5;
  margin: 0;
}
.mw-body-content {
  font-size: 14px;
  line-height: 1.5;
}
.mw-wiki-logo {
  width:160px !important;
  height:160px !important;
}
.mw-body {
  border: none;
  color: #bbb;
  background-color: #2b2b2b !important;
  min-height: 100%; 
  background-attachment: fixed;
}
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
  color: #ffd180;
  font-weight: 400;
}


a, #mw-head a:visited {
  color: #428bca !important;
  font-family: Helvetica, Arial, sans-serif;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:visited {
  color: #476b88 !important;
}

strong {
  color: #D18F98 !important;
}

a.new {
  color: #ff8282 !important;
}

#mw-head {
  box-shadow: 0 1px 5px 1px #1e1e1e;
  background-image: linear-gradient(to bottom, #4b4b4b 0%, #333333 100%);
  height: 45px;
}

pre {
  padding: 10px !important;
  display: block;
  border: 5px solid #2a3b5f !important;
}

code,
pre {
  color: #f8f8f2 !important;
  border: none !important;
  background-color: #2a3b5f !important;
}


#left-navigation,
#right-navigation { 
  margin-top: 0;
}
#left-navigation {
margin-left:170px;
}
div.vectorTabs {
  background-image: none;
  background-color: inherit;
  height: 44.5px;
}
div.vectorTabs * {
  background-image: none !important;
  background-color: transparent !important;
}
div.vectorTabs #ca-unwatch.icon a {
  background-image: url(/skins/Vector/images/unwatch-icon-hl.png?c4723) !important;
}
div.vectorTabs #ca-watch.icon a {
  background-image: url(/skins/Vector/images/unwatch-icon-hl.png?e1b42) !important;
}
div.vectorMenu h3 span {
  color: #888787 !important;
}
div#mw-head div.vectorMenu h3 {
  background-image:none !important;
}

#p-personal {
  top: 3.33em;
  z-index: initial;
}
#p-logo {
  left: 0 !important;
}
#mw-head-base {
  margin-top: -7.5em;
}
#mw-panel {
  padding-left: 0 !important;
}
div#mw-panel div.portal h3 {
  font-size: 1.3em !important;
  color: #bbb;
}
#mw-panel li {
  font-size: .83em !important;
}
#toc, .toc {
  background-color: inherit;
}

.mw-editsection-bracket {
  color: #428BCA;
}

table.wikitable {
  color: white;
}

div.editOptions,
table.wikitable > * > tr > th,
table.wikitable,
ul#filetoc,
table.wikitable > * > tr > td,
.catlinks {
  background-color: #303030 !important;
  border: 1px solid black !important;
}

li#footer-info-lastmod {
  color: white !important;
}

#simpleSearch {
  border: none !important;
}

/* text boxes */
input#wpDestFile,
textarea#wpUploadDescription,
input#nsto,
input#nsfrom,
input#from.mw-ui-input-inline,
div#simpleSearch #searchInput,
input#wpSummary.mw-summary,
textarea#wpTextbox1 {
  background-color: #1f1f1f !important;
  color: #a9b7c6 !important;
  border: 1px solid #161616 !important;
}

div#simpleSearch {
  background: none;
}

li.selected.before,
li.selected.after {
  background-color: #3b3b3b !important;
  border: 1px solid #161616 !important;
}

li.before,
li.after,
li.between {
  border: 1px solid #161616 !important;
}

button,
input[type=submit] {
  background-color: #4b4b4b !important;
  color: white !important;
  border: 1px solid black !important;
}

ul, ol {
    list-style-image: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"> <circle cx="2.5" cy="9" r="2.5" fill="%23bbb"/> </svg>);
}