Difference between revisions of "MediaWiki:Common.css"

From Timelines
Jump to: navigation, search
(reduce .notice padding, which is causing Template:Protected to wrap on to a second line)
(See talk; replacing on behalf of Netoholic; please direct any problems at him)
Line 80: Line 80:
 
/* Merge template style */
 
/* Merge template style */
  
.Merge  {
+
.messagebox {
    border: 1px solid #CF9FFF;
+
  border: 1px solid #aaaaaa;
    background-color: #F5EDF5;
+
  background-color: #f9f9f9;
    margin-bottom: 1em;
+
  width: 85%;
    width: 85%;
+
  margin: 0 auto 1em auto;
    border-spacing: 3px;
+
  padding: 0 3px;
    margin-left: auto;
+
  text-align: justify;
    margin-right: auto;
+
  font-size: 90%;
 
}
 
}
 
+
.messagebox.merge {
/* Make template background appear correctly on all browsers */
+
  border: 1px solid #cf9fff;
.Merge td {
+
  background-color: #f5edf5;
    background: inherit;
+
  text-align: center;
 
}
 
}
  
 
/*</nowiki></pre>*/
 
/*</nowiki></pre>*/

Revision as of 10:09, 16 July 2005

/* Common CSS for all skins */
/*<pre><nowiki>*/

/* Style for "notices" */
.notice {
    text-align: justify;
    margin: 1em;
    padding: 0.2em;
}

#disambig {
    border-top: 3px double #cccccc; 
    border-bottom: 3px double #cccccc;
}

#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}

/* Standard talk template style */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}

/* Choose whether to have AD/BC dates or CE/BCE dates*/

/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }

/* If you want to display AD and BC add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
*/

/*If you want to display CE and BCE add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:none; }
.Use_BCE_and_CE {display:inline; }
*/

/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed.
*/

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
  display : none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
#bodyContent .plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important
}

/* Merge template style */

.messagebox {
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  width: 85%;
  margin: 0 auto 1em auto;
  padding: 0 3px;
  text-align: justify;
  font-size: 90%;
}
.messagebox.merge {
  border: 1px solid #cf9fff;
  background-color: #f5edf5;
  text-align: center;
}

/*</nowiki></pre>*/