MediaWiki:Common.css

From Sandbox Wiki
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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");

@font-face {
    font-family: 'czn';
    src: url('/fonts/czn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-czn: #ff540c;
}

/* Fix -webkit-focus-ring-color */
a:focus {
    outline: none;
}

a:focus,a:hover {
    text-decoration: none;
}

body {
    font-family: 'czn';
    background: url(https://sandboxwiki.com/images/3/3a/Bg.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#p-logo, #p-navigation, #p-tb, #mw-head, .mw-editsection, .mw-footer {
    display: none;
}

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

#content {
    width: 1200px;
    max-width: 1200px;
    margin: auto;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.8);
}