Difference between revisions of "MediaWiki:Common.css"

From Timelines
Jump to: navigation, search
(copy .Merge and AD/CE stuff from Monobook.css)
(copy .plainlinksneverexpand from Monobook.css)
Line 56: Line 56:
 
.Use_BCE_and_CE {display:inline; }
 
.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 */
 
/* Merge template style */

Revision as of 09:27, 11 July 2005

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

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

#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 */

.Merge  {
    border: 1px solid #CF9FFF;
    background-color: #F5EDF5;
    margin-bottom: 1em;
    width: 85%;
    border-spacing: 3px;
    margin-left: auto;
    margin-right: auto;
}

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

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