User:Tobias Alcaraz/common.css/parserErrorsFixes.css

From Mine Blocks Wiki
< User:Tobias Alcaraz‎ | common.css
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

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: 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.
/*
 * Checks if the warning message exists. If so, remove it.
 * @note: This only works in Chrome 105+ and Safari 15.4+. Firefox does not
 *        support :has() yet.
*/
@supports (selector(:has(works))) {
  body:has(br + b + b + b + br + meta) {
    font-size: 0;
  }
  
  body:has(br + b + b + b + br + meta) > :is(#mw-head-base, #mw-page-base, .mw-body, #mw-navigation, #footer, .suggestions) {
    font-size: 1rem;
  }
}

.action-edit #mw-head-base {
  height: 26px;
}

body.action-edit > .mw-body {
  margin-top: 53px;
}

.wikiEditor-ui-toolbar .wikiEditor-ui-top,
.wikiEditor-ui-toolbar .tabs,
.wikiEditor-ui-toolbar .section-main {
  max-height: 26px;
}