MediaWiki:Common.css

From PotterworldMC
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700');
body.mediawiki {
  background: #0d0c1a url(http://static.potterworldmc.com/img/website/games_bg.jpg) top -50px left -400px no-repeat;
  background-size: 1700px auto;
  color: #c2bcb2;
  position: relative;
}
body.mediawiki::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #0d0c1a, transparent);
  top: 385px;
}

.tocnumber {
  color: #c2bcb2 !important;
}

#content { position: relative; }

#mw-page-base { background: transparent; color: #c2bcb2; }

div#mw-panel div.portal div.body{ margin-left: 3px;}
div#mw-panel #p-logo + div.portal { padding-bottom: 15px; }

div#mw-panel div.portal {
  background: none;
  border-bottom: solid 1px #27282E;
}
div#mw-panel div.portal h3,
div#footer ul li {
  color: #c2bcb2;
}

body.mediawiki .mw-body a.external,
body.mediawiki a,
body.mediawiki div#mw-panel div.portal div.body ul li a { color: #ECBF62 !important; text-decoration: underline; }
body.mediawiki .mw-body a.external:hover,
body.mediawiki a:hover,
body.mediawiki div#mw-panel div.portal div.body ul li a:hover,
body.mediawiki .mw-body a.external:focus,
body.mediawiki a:focus,
body.mediawiki div#mw-panel div.portal div.body ul li a:focus { text-decoration: none; }
.mw-body h1, .mw-body h2,
h1, h2, h3, h4, h5, h6 {
  color: #c2bcb2;
  border: none;
  font-family: 'Merriweather', sans-serif;
  line-height: 1.6
}

div.vectorTabs {
  padding-left: 0 !important;
}

div.vectorTabs ul,
div#mw-head div.vectorMenu h3,
body.mediawiki div.vectorTabs,
body.mediawiki div.vectorTabs li,
body.mediawiki div.vectorTabs ul,
body.mediawiki div.vectorTabs span { background: none; }
body.mediawiki div.vectorTabs a { color: #ecbf61; }
body.mediawiki.x-body #p-namespaces > ul,
body.mediawiki.x-body div.vectorTabs,
body.mediawiki.x-body div.vectorTabs li span { background: none; }
body.mediawiki.x-body div.vectorTabs li a {
  color: #ECBF62;
}

html body.mediawiki div.vectorTabs li span { display: block; }

div#mw-head div.vectorMenu h3 span {
  color: #ECBF62;
  border-left: solid 1px #3D3E43;
  padding: 4px 2px 4px 8px;
  margin-top: 6px;
  margin-bottom: 2px;
  font-family: sans-serif;
}
div#mw-head div.vectorMenu h3 a {
  height: 35px;
}
html body.mediawiki div.vectorTabs li a { padding-top:5px; margin-top: 5px; }
html body.mediawiki div.vectorTabs li:not(:last-child) a { border-right: solid 1px #3D3E43; }

/* primary content */
.mw-body {
  background: #22222C;
  border: solid 1px #3D3E43;
  color: #c2bcb2;
}

/* secondary content */
#bs-statebar,
.editOptions {
  background: #27282E;
  border: solid 1px #3D3E43;
  color: #c2bcb2;
}

body.mediawiki div.vectorTabs li {
  background: #27282E;
  border-color: #3D3E43;
  border-width: 1px 1px 0 0;
  border-style: solid;
  color: #c2bcb2;
}
body.mediawiki div.vectorTabs li:first-child {
  border-width: 1px 1px 0 1px;
}
html body.mediawiki div.vectorTabs li:not(:last-child) a { border-right: none; }

/* editor */
div.mce-edit-area {
  background: #22222b;
  padding: 0 10px;
  border: solid 1px #3D3E43;
  border-width: 0 1px !important;
}

div.mce-edit-area,
#editform div.mce-tinymce,
.mce-container iframe { background: transparent !important; }

.mw-body .firstHeading {
  border-bottom: solid 1px #3D3E43;
}
#bs-statebar { display: none; }
#toc, .toc { padding: 10px; }
#toc, .toc, .mw-warning, .toccolours {
  background: transparent;
  border-color: #3D3E43;
}

hr {
  background-color: #3D3E43;
  margin: 10px 0;
}

ul {
  list-style: disc;
}

.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
  margin: 0.3em 0 0 1.6em;
  padding: 0;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
  background-color: transparent !important;
}

table th {
  background-color: #3D3E43 !important;
  font-family: 'Merriweather', sans-serif !important;
  letter-spacing: .03em;
  color: #c2bcb2;
  padding: 8px;
}

table tr {
  color: #c2bcb2;
}

.mw-parser-output > table:first-child tr {
  color: black;
}

.mw-body h2 {font-size: 28px; font-weight: bold;}
.mw-body h3 {font-size: 24px;}
.mw-body h4 {font-size: 20px;}
.mw-body h5 {font-size: 18px;}
.mw-body h6 {font-size: 16px;}


.mw-body table th h1,
.mw-body table th h2,
.mw-body table th h3,
.mw-body table th h4,
.mw-body table th h5,
.mw-body table th h6 {
  margin: 0;
  padding: 0;
}

table td {
  border: solid 1px #3D3E43;
  margin: 0;
  padding: 4px 8px;
  line-height: 1.5;
  background-color: transparent !important;
}

.mw-content-ltr table ul {
  color: inherit;
  list-style: upper-roman;
  padding: 8px;
}

.mw-content-ltr table li {
  padding-left: 4px;
  margin-bottom: 4px
}

.mw-editsection { display: none; }

body.mediawiki .mw-body .wikitable td a {
    color: #ad6000;
}

#content .permissions-errors { display: none; }
#footer-info::after { font-size: 12px; content: "Potterworld or Droobledore LLC is not in any way affiliated with Mojang AB,\00a0 J.K. Rowling,\00a0 Warner Brothers or any company,\00a0 copyright or trademark."; }

#t-whatlinkshere, #t-recentchangeslinked, #t-upload, #t-specialpages, #t-info, #t-recentchangeslinked, 
#ca-talk, #ca-history { display: none; }

body.mediawiki .mw-body table.wikitable[style*="float:"] td a { color: #260097 !important; text-decoration: underline; }
body.mediawiki .mw-body table.wikitable[style*="float:"] td a:hover, body.mediawiki .mw-body table.wikitable[style*="float: right;"] tbody td a:focus { text-decoration: none; }