MediaWiki:Common.css

From Beta Wiki
Revision as of 16:03, 13 August 2024 by Swusho (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

@font-face {
   font-family: Minecraft;
   src: url('fonts/MinecraftRegular-Bmg3.otf');
}

html {
   background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('http://192.168.0.26/betawiki/images/b/bf/DirtBackground.png?20240813130941');
background-size: 150px;
image-rendering: pixelated;
}

body {
   background: rgba(0, 0, 0, 0)
}

.mw-page-container {
   background: rgba(0, 0, 0, 0.25)
}

h1, h2, h3, p, .mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2, html, body, .mw-editsection {
   color: rgb(255, 255, 255);
   font-family: Minecraft;
}

h2 {
   border-bottom: 2.5px solid #ffffff;
}

.mw-halign-right {
   background: rgba(0, 0, 0, 0)
}

.vector-pinned-container {
    background-color: #0000004a;
    border: 2.5px solid;
    padding: 16px 16px;
    margin-bottom: 2rem;
}

figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element {
    border: 2.5px solid #ffffff;
    background: #f8f9fa;
}

figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'] {
    border: 2.5px solid #ffffff;
    border-bottom: 0;
    background-color: #0000004f;
}

figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
    border: 2.5px solid #ffffff;
    border-top: 0;
    background-color: #00000052;
    font-size: 88.4%;
}

.vector-pinnable-element .vector-menu-heading {
    color: #ffffff;
    font-weight: normal;
    cursor: default;
    padding: 6px 0;
    margin: 6px 0;
    border-bottom: 1px solid #eaecf0;
}

.vector-sticky-pinned-container::after {
    background: rgba(255, 255, 255, 0);
}

a.new:visited {
    color: #ff9c02;
}
a:visited {
    color: #892dff;
}
a.new {
    color: #ff0000;
}
a {
    text-decoration: none;
    color: #36c;
    background: none;
}

.vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited {
    color: #ffffff;
    border-bottom: 2px solid;
}

.vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-active) > .vector-toc-link {
    color: #ffffff;
}

.vector-toc .vector-toc-list-item-active > .vector-toc-link, .vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-expanded) > .vector-toc-link, .vector-toc .vector-toc-list-item-active.vector-toc-level-1-active > .vector-toc-link {
    color: #ffffff;
    font-weight: bold;
}

.mw-footer li {
    color: #ffffff;
    margin: 0;
    padding: 0.5em 0;
    font-size: 0.75em;
}