MediaWiki:Common.css: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 70: Line 70:
/* K - pretty pre text */
/* K - pretty pre text */
pre {
pre {
   background-color: #C2C2C2;
   background-color: #EAEAEA;
   border: 1px solid #A0A0A0;
   border: 1px solid #A0A0A0;
   padding: 5px;
   padding: 5px;

Revision as of 19:48, 28 January 2024

/* CSS placed here will be applied to all skins */

/** float edit section to the right **/
span.mw-editsection {
  float: right;
}

/** make sub page link larger **/
span.subpages {
  display: block;
  font-size: medium;
  padding-top: 5px;
}

/** Default? - Bump left navigation against screen **/
#left-navigation {
  margin-left: 1em;
  margin-top: .5em;
}

/** Default? - Bump right navigation against screen **/
#right-navigation {
  margin-top: .5em;
}

/** Default? - Bump main panel up against screen **/
#mw-head-base {
  margin-top: -7em;
}

/** K - Hide Footer **/
#footer {
  display: none;
}

/** K - Hide sidebar **/
div#mw-panel {
  display: none;
}
#left-navigation {
  left: 1em;
}
#mw-head-base, div#content, div#footer {
  margin-left: 1em;
}

/* K - Hide various other items */
div#p-personal, li#ca-talk, li#ca-watch, li#ca-protect, li#ca-history, #ca-viewsource {
  display: none;
}

/* K - pretty tables */
table, th, td {
  border-collapse: collapse;
  border: 1px solid #A0A0A0;
  padding: 0.2em 0.4em;
}
th {
  background-color: #F2F2F2;
  text-align: center;
}

/* K - pretty quotes */
blockquote {
  background-color: #F2F2F2;
  border: 1px solid #A0A0A0;
  padding: 5px;
}

/* K - pretty pre text */
pre {
  background-color: #EAEAEA;
  border: 1px solid #A0A0A0;
  padding: 5px;
}

/* K - Hide new navigation */
nav#p-personal {
  display: none;
}

/* K - Fix edit links */
span.mw-editsection {
  padding-top: 0.5em;
}