Jump to content

User:Waldyrious/modern.css

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by 1997kB (talk | contribs) at 10:36, 1 July 2019 (1997kB moved page User:Waldir/modern.css to User:Waldyrious/modern.css: Automatically moved page while renaming the user "Waldir" to "Waldyrious"). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/********************************************
 * Make the navigation links fixed in place *
 ********************************************/
#mw_header,
#p-personal,
#p-cactions,
#mw_portlets {
  position: fixed;
  z-index: 1;
}

/* Give the actions tabs a background */
#p-cactions {
  background: white;
  width: 100%;
  border-bottom: 1px solid grey;
  height: 16px;
  font-size: 75%;
  padding-left: 4.5em;
}

/* Do not let the language toolbar get too tall */
#p-lang {
  max-height:250px;
  overflow: auto;
}

/* Prevent having stuff hidden behind the title/actions bar */
#mw_contentholder {
  position:relative;
  top: 1.7em;
}

/* Fix bottom margin */
#mw_content { padding:0 1em 3em; }

/* Remove some gaps */
div.mw-topboxes { margin: -1em -1em 0; }

/* Fix anchor navigation */
span.mw-headline { padding-top:70px; }

/********************************************
 * Other fixes                              *
 ********************************************/
 
/* Make new messages notice orange again */
/*.usermessage { background-color: orange; }*/

/* Tweak display of navigation popups */
.navpopup {
  border: 1px solid SteelBlue;
  box-shadow: 10px 10px 10px #c0c0c0;
  border-radius: 10px;
  border-top-left-radius: 0;
  background-color: #ffffee;
}