Difference between revisions of "MediaWiki:Common.css"

From Conservapedia
Jump to: navigation, search
(added style for horizontal UL lists)
Line 115: Line 115:
 
   border-right: none;
 
   border-right: none;
 
   padding-right: 0;
 
   padding-right: 0;
 +
}
 +
 +
/*** More whitespace on search page ***/
 +
.page-Special_Search #search {
 +
  padding: 2em 0;
 +
}
 +
 +
.page-Special_Search #powersearch {
 +
  border: 1px solid #CCCCCC;
 +
  padding: 0.5em 0.5em;
 +
}
 +
 +
.page-Special_Search #powersearch-namespaces {
 +
  padding-left: 1em;
 +
  margin: 0.7em 0;
 +
}
 +
 +
.page-Special_Search #powersearch-namespaces label {
 +
  white-space: nowrap;
 +
  min-width: 8.4em;
 +
  display: block;
 +
  float: left;
 +
}
 +
 +
/* Clear search button, but not check-boxes: */
 +
.page-Special_Search br {
 +
  clear: left;
 
}
 
}
  

Revision as of 18:02, August 21, 2007

/*
<pre>
*/

/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page #contentSub, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

body {background: #f7f7f7}

/*****
** Table formatting
*****/
   table.wikitable,
   table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }

   table.wikitable th, table.wikitable td,
   table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.2em;
      }

   table.wikitable th,
   table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }

   table.wikitable caption,
   table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }

/* Coloured watchlist numbers */
.mw-plusminus-pos {
  color:darkgreen;
}

/* .mw-plusminus-null currently at developer default */

.mw-plusminus-neg {
  color:darkred;
}

.dablink {
  font-style:italic;
  padding-left:2em;
}

/* make the list of references look smaller */
ol.references {
   font-size: 100%;
}
 
.references-small { font-size: 90%;}
 
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
  font-size: 90%;
  -moz-column-count:2;
  -webkit-column-count:2;
  column-count:2;
}
 
.same-bg { background: none }
 
/* Highlight clicked reference in blue to help navigation */
 
ol.references > li:target {
 background-color: #DEF;
}
 
sup.reference:target { 
  background-color: #DEF;
}
 
/* Styling for Citations */
 
cite {
    font-style: normal;
}
 
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
 
cite:target { 
  background-color: #DEF;
}

/* Style for horizontal UL lists */
.horizontal ul {
  padding: 0;
  margin: 0;
}
 
.horizontal li { 
  padding: 0 0.6em 0 0.4em;
  display: inline;
  border-right: 1px solid;
}
 
.horizontal li:last-child {
  border-right: none;
  padding-right: 0;
}

/*** More whitespace on search page ***/
.page-Special_Search #search {
  padding: 2em 0;
}
 
.page-Special_Search #powersearch {
  border: 1px solid #CCCCCC;
  padding: 0.5em 0.5em;
}
 
.page-Special_Search #powersearch-namespaces {
  padding-left: 1em;
  margin: 0.7em 0;
}
 
.page-Special_Search #powersearch-namespaces label {
  white-space: nowrap;
  min-width: 8.4em;
  display: block;
  float: left;
}
 
/* Clear search button, but not check-boxes: */
.page-Special_Search br {
  clear: left;
}

/*****

/*
</pre>
*/