User:Chieftain Alex/monobook.css

From Guild Wars 2 Wiki
Jump to navigationJump 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.
html { background-image: none !important; }

/* For Special:Search, no more tiny columns, full width search result links and coloured backgrounds. */
ul.mw-search-results {
  max-width: unset;
}
.mw-search-result {
  background-image: linear-gradient(to bottom,#faf4ea 0,#eed9b0 100%);
  border: 1px solid #e1b7a6;
  padding: 0.25em !important;
  margin-bottom: 0.5em;
}
.mw-search-result-heading > a,
.mw-search-exists {
  display: block;
}
.mw-search-result-data {
  display: none;
}

.mw-search-results li a,
.searchalttitle,
#mw-search-interwiki li {
  display: inline-block;
}


/** EXTENSION:ADVANCED SEARCH **/
/* Make the search box full screen width to prevent the various namespace options taking up a third of the vertical space */
.mw-special-Search div.oo-ui-textInputWidget,
.mw-special-Search div.oo-ui-tagMultiselectWidget,
.mw-special-Search div.oo-ui-actionFieldLayout.oo-ui-fieldLayout-align-top,
div.mw-advancedSearch-expandablePane-options,
div.mw-advancedSearch-expandablePane-namespaces,
div.mw-advancedSearch-namespace-selection,
div.mw-advancedSearch-fieldContainer {
  max-width: 100%;
}

/* Add padding on wide screens to allow the row with the number of results to be on the same line as the first advanced search box */
@media screen and (min-width: 1000px) {
  div.mw-advancedSearch-expandablePane-options,
  div.mw-advancedSearch-expandablePane-namespaces,
  div.mw-advancedSearch-namespace-selection,
  div.mw-advancedSearch-fieldContainer {
      padding-right: 180px;
  }
}

/* Allow results row to be on same as advanced search */
div.mw-advancedSearch-expandablePane-options,
div.mw-advancedSearch-expandablePane-namespaces,
.mw-special-Search .mw-search-visualclear {
  clear: none;
}

/* whilst editing like a bot */
#editpage-copywarn, #mw-editpage-watch { display: none; }

/* Stubs */
.metadata.stub, .metadata.section-stub {
  border: 1px dashed silver;
  background-color: #eee;
  font-style: italic;
}