Jump to content

User:Aksiomi/common.css

From Wikipedia, the free encyclopedia
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.
/* Content width restriction for readability */
div#bodyContent {
    max-width: 860px;
}

.mw-body {
    padding: 1.25em 4.5em 1.5em 4.5em;
}

/* Fix sidebar */
div#mw-panel { position: fixed;
  overflow: auto;
  top: 0px;
  bottom: 0px;
  height: 100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color: #F6F6F6;
  border-right: 1px solid #A7D7F9;
}

/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}

/* Flag deprecated elements for cleanup */
tt, center, dir, font, xmp, strike {
	color: DarkRed !important;
	background: Pink !important;
}