MediaWiki:Common.css: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 13: Line 13:
}
}


/** Bump left navigation against screen **/
/** Default? - Bump left navigation against screen **/
#left-navigation {
#left-navigation {
   margin-left: 1em;
   margin-left: 1em;
Line 19: Line 19:
}
}


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


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


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


/** Hide sidebar **/
/** K - Hide sidebar **/
div#mw-panel {
div#mw-panel {
   display: none;
   display: none;
Line 45: Line 45:
}
}


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


/* ken pretty tables */
/* K - pretty tables */
table, th, td {
table, th, td {
   border-collapse: collapse;
   border-collapse: collapse;
Line 61: Line 61:
}
}


/* ken pretty quotes */
/* K - pretty quotes */
blockquote {
blockquote {
   background-color: #F2F2F2;
   background-color: #F2F2F2;
   border: 1px solid #A0A0A0;
   border: 1px solid #A0A0A0;
   padding: 5px;
   padding: 5px;
}
/* K - pretty pre text */
pre {
  background-color: #f8f9fa
  border: 1px solid #eaecf0;
  padding: 5px;
}
/* K - Hide new navigation */
nav#p-personal {
  display: none;
}
/* K - Fix edit links */
span.mw-editsection {
  padding-top: 0.5em;
}
}

Latest revision as of 20:34, 29 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: #f8f9fa
  border: 1px solid #eaecf0;
  padding: 5px;
}

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

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