MediaWiki:Monobook.css

From Geofic

(Difference between revisions)
(test)
Line 1: Line 1:
-
<pre><nowiki>*/
 
-
 
-
/* Don't display some stuff on the main page */
 
-
body.page-Main_Page #t-cite,
 
-
body.page-Main_Page #lastmod,
 
-
body.page-Main_Page #siteSub,
 
-
body.page-Main_Page #contentSub,
 
-
body.page-Main_Page h1.firstHeading {
 
-
    display: none !important;
 
-
}
 
-
 
-
/* Donations link to be uncommented during fundraising drives  */
 
-
#siteNotice {
 
-
    margin-top:5px;
 
-
    padding-left: 4px;
 
-
    font-style: italic;
 
-
    text-align: center;
 
-
    background: transparent;
 
-
}
 
-
 
/*
/*
-
#fundraising {
+
<pre>
-
text-align: center;
+
-
border: 1px solid gray;
+
-
padding: 5px;
+
-
}
+
*/
*/
-
/****************************/
+
body
-
/* BEGIN LIGHT BLUE SECTION */
+
{
-
/****************************/
+
background-image: url(http://www.google.com/images/firefox/grgrad.gif);
-
/* Make all non-namespace pages have a light blue content area. This is done by
+
background-repeat: repeat-x;
-
  setting the background color for all #content areas to light blue and then
+
background-position: top left
-
  overriding it for any #content enclosed in a .ns-0 (main namespace). I then
+
-
  do the same for the "tab" background colors. --Lupo */
+
-
 
+
-
#content {
+
-
    background: #F8FCFF; /* a light blue */
+
}
}
-
#content div.thumb {
+
/*TOC layout*/
-
    border-color: #F8FCFF;
+
#toc,
 +
.toc {
 +
  background-color: #F9F9F9;
 +
  border: 1px solid #AAAAAA;
 +
  padding: 5px;
 +
  font-size: 95%;
}
}
-
.ns-0 * #content {
+
#toc h2,
-
    background: white;
+
.toc h2 {
 +
  display: inline;
 +
  border: none;
 +
  padding: 0;
 +
  font-size: 100%;
 +
  font-weight: bold;
}
}
-
#mytabs li {
+
#toc #toctitle,
-
    background: #F8FCFF;
+
.toc #toctitle,
 +
#toc .toctitle,
 +
.toc .toctitle {
 +
  text-align: center;
 +
  background-color: transparent;
}
}
-
.ns-0 * #mytabs li {
+
#toc ul,
-
    background: white;
+
.toc ul {
 +
  list-style-type: none;
 +
  list-style-image: none;
 +
  margin-left: 0;
 +
  padding-left: 0;
 +
  text-align: left;
}
}
-
#mytabs li a {
+
#toc ul ul,
-
    background-color: #F8FCFF;
+
.toc ul ul {
 +
  margin: 0 0 0 1em;
}
}
-
.ns-0 * #mytabs li a {
+
#toc .toctoggle,
-
    background-color: white;
+
.toc .toctoggle {
 +
  font-size: 100%;
}
}
-
#p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a {
+
li.toclevel-1 {
-
    background-color: #F8FCFF;
+
  border-top: 1px solid #AAAAAA;
}
}
-
.ns-0 * #p-cactions li a {
+
.toc a,
-
    background-color: #fbfbfb;
+
#toc a {
 +
  text-decoration:none;
}
}
-
.ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover {
 
-
    background-color: white;
 
-
}
 
-
.ns-0 * #content div.thumb {
 
-
    border-color: white;
 
-
}
 
-
/**************************/
+
legend {
-
/* END LIGHT BLUE SECTION */
+
background-color: #F9F9F9;
-
/**************************/
+
border: 1px solid #AAAAAA;
-
 
+
color: #F9F9F9;
-
/* block quotations */
+
-
#content blockquote {
+
-
    font-size: 93.75%; /* equivalent of 15px in 16px default */
+
-
    margin: 1em 1.6em; /* same indent as an unordered list */
+
-
}
+
-
#content blockquote p {
+
-
    line-height:inherit;
+
}
}
-
/* Display "From Wikipedia, the free encyclopedia" */
+
fieldset { background-color: #F9F9F9; }
-
#siteSub {
+
-
    display: inline;
+
-
    font-size: 92%;
+
-
    font-weight: normal;
+
-
}
+
-
#bodyContent #siteSub a {
+
#preftoc li {
-
    color: #000;
+
background-color: transparent;
-
    text-decoration: none;
+
border: 0px;
-
    background-color: transparent;
+
-
    background-image: none;
+
-
    padding-right: 0;
+
}
}
-
/* Bold 'edit this page' link to encourage newcomers */
+
#preftoc li a { color: #AAAAAA; }
-
#ca-edit a { font-weight: bold !important; }
+
-
/* Display "User $1, you are already logged in!"
+
#preftoc li.selected {
-
  ([[MediaWiki:Alreadyloggedin]]) in red and bold */
+
border: 1px;
-
div.alreadyloggedin { color: red; font-weight: bold; }
+
background-color: #F9F9F9;
-
 
+
-
@media print {
+
-
    /* Do not print edit link in templates using Template:Ed
+
-
      Do not print certain classes that shouldn't appear on paper */
+
-
    .editlink, .noprint, .metadata, .dablink { display: none }
+
-
    #content { background: #fff; } /* white background on print */
+
}
}
 +
ol ol { list-style-type: lower-latin; }
-
/* Accessibility experiment: make diff changes not just colour-based */
+
ol ol ol { list-style-type: lower-roman; }
-
.diffchange {
+
li#pt-userpage {
-
    font-weight: bold;
+
background: url("/graphics/user.gif") top left no-repeat !important;
-
    background-color: inherit;
+
background-repeat: no-repeat;
 +
background-color: transparent !important;
 +
padding-left: 20px;
 +
text-transform: none;
}
}
-
td.diff-addedline, td.diff-deletedline, td.diff-context {
+
/* Bold 'edit this page' link to encourage newcomers */
-
  vertical-align: top;
+
#ca-edit a { font-weight: bold !important; }
-
  font-size: 85%;
+
-
  color: inherit;
+
-
}
+
-
#pt-login {
+
/* rounded corners - Mozilla/Firefox only */
-
   font-weight: bold;
+
.pBody {
-
   font-size: 110%;
+
  padding: 0.1em 0.1em;
-
}
+
  -moz-border-radius-topright: 0.5em;
 +
  -moz-border-radius-bottomright: 0.5em;
 +
}
 +
#p-cactions ul li, #p-cactions ul li a {
 +
   -moz-border-radius-topright: 0.5em;
 +
   -moz-border-radius-topleft: 0.5em;
 +
}
 +
#content {
 +
  -moz-border-radius-topleft: 0.5em;
 +
  -moz-border-radius-topright: 0.5em;
 +
  -moz-border-radius-bottomleft: 0.5em;
 +
  -moz-border-radius-bottomright: 0.5em;
 +
}
-
form#userlogin {
+
/* buttons and input boxes */
-
  float: left;
+
input[type="submit"] { border: 1px solid #aaa; border-bottom: 2px solid #aaa; border-right: 2px solid #aaa; background: #eee; }
-
  padding: 1em 1em .7em 1em;
+
input[type="text"], input[type="password"], textarea[name="wpTextbox1"] { border: 1px solid #aaa; border-top: 2px solid #aaa; border-left: 2px solid #aaa; }
-
  background-color: #ffffe6;
+
-
  border: 2px solid #fc6;
+
-
  color: #000;
+
-
  margin-right: 2em;
+
-
}
+
-
form#userlogin table {
+
/* Add small Blank-themed background image to bottom right of categories bar */
-
  float: left;
+
#catlinks {  
-
  background-color: #ffffe6;
+
background-image: url(http://editthis.info/blankclubencyclopedia/images/blankclubencyclopedia/d/d5/Category_pic.png);
-
  color: #000;
+
background-repeat: no-repeat;
 +
background-position: right;
}
}
-
p.error {
+
p.catlinks {
-
  font-weight: bold;
+
border: 1px outset #282828;
 +
margin: 2px;
 +
padding: 5px;
}
}
-
/* Class styles */
+
/*
-
 
+
</pre>
-
/* .toccolours added here because version in
+
*/
-
  monobook/main.css wasn't being used by the print style */
+
-
.toccolours {
+
-
  border:1px solid #aaa;
+
-
  background-color:#f9f9f9;
+
-
  padding:5px;
+
-
  font-size: 95%;
+
-
}
+
-
 
+
-
/* Remove padding from external links displayed without icon */
+
-
#bodyContent .plainlinks a {padding: 0 !important}
+
-
 
+
-
 
+
-
#p-nav h5 {
+
-
  display: none;
+
-
}
+
-
 
+
-
.portlet a {
+
-
  text-decoration: none;
+
-
}
+
-
 
+
-
.portlet a:hover {
+
-
  text-decoration: underline;
+
-
}
+
-
 
+
-
#p-nav .pBody {
+
-
  padding-right: 0;
+
-
}
+
-
 
+
-
#p-nav a {
+
-
  display: block;
+
-
  width: 100%;
+
-
}
+
-
 
+
-
/* Special characters list below edit window works better without underlining */
+
-
#editpage-specialchars a { text-decoration: none; }
+
-
#editpage-specialchars a:hover { text-decoration: underline; }
+
-
 
+
-
/* If you don't want to see special characters list at all,
+
-
  put the following line in your User:You/monobook.css file
+
-
  (and remove the slash-asterisk comments) */
+
-
/* #editpage-specialchars { display: none; } */
+
-
 
+
-
/* Makes the background of a framed image white instead of gray. */
+
-
/* Only visible with transparent images. */
+
-
/* See #Framed_image_background_color */
+
-
div.thumb div a img {
+
-
    background-color:#fff;
+
-
}
+
-
 
+
-
/* For positioning icons at top-right, used in Templates
+
-
  "Spoken Article" and "Featured Article" */
+
-
 
+
-
div.topicon {
+
-
  position:absolute;
+
-
  z-index:100;
+
-
  top:10px;
+
-
  display: block !important;
+
-
}
+
-
 
+
-
/* try adding here, this had no effect in [[MediaWiki:Common.css]] */
+
-
.plainlinksneverexpand a.external.text:after {
+
-
display: none !important
+
-
}
+
-
 
+
-
#coordinates { 
+
-
position:absolute;
+
-
z-index:1;
+
-
border:none;
+
-
background:none;
+
-
right:30px;
+
-
top:3.7em;
+
-
float:right;
+
-
margin:0.0em;
+
-
padding:0.0em;
+
-
line-height:1.5em;
+
-
text-align:right;
+
-
text-indent:0;
+
-
font-size:85%;
+
-
text-transform:none;
+
-
white-space:nowrap;
+
-
}
+
-
 
+
-
.portlet li {
+
-
  list-style-image: url("http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png");
+
-
}
+
-
 
+
-
li.FA {
+
-
  list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
+
-
}
+
-
 
+
-
.mw-plusminus-pos {
+
-
  color: #006400;
+
-
}
+
-
 
+
-
.mw-plusminus-neg {
+
-
  color: #8B0000;
+
-
}
+
-
 
+
-
/* Infobox template style */
+
-
 
+
-
.infobox {
+
-
  border: 1px solid #aaa;
+
-
  background-color: #f9f9f9;
+
-
  color: black;
+
-
}
+
-
 
+
-
.infobox.bordered td,
+
-
.infobox.bordered th {
+
-
  border: 1px solid #aaa;
+
-
}
+
-
 
+
-
/* styles for bordered infobox with merged rows */
+
-
.infobox.bordered .mergedtoprow td,
+
-
.infobox.bordered .mergedtoprow th {
+
-
  border-top: 1px solid #aaa;
+
-
  border-right: 1px solid #aaa;
+
-
}
+
-
 
+
-
.gallerybox .thumb img {
+
-
  background: #F9F9F9;
+
-
}
+
-
 
+
-
.infobox.bordered .mergedrow td,
+
-
.infobox.bordered .mergedrow th {
+
-
  border-right: 1px solid #aaa;
+
-
}
+
-
/*</nowiki></pre>
+

Revision as of 07:58, 5 April 2007

/*
<pre>
*/

body
{ 
background-image: url(http://www.google.com/images/firefox/grgrad.gif);
background-repeat: repeat-x;
background-position: top left
}

/*TOC layout*/
#toc,
.toc {
   background-color: #F9F9F9;
   border: 1px solid #AAAAAA;
   padding: 5px;
   font-size: 95%;
}

#toc h2,
.toc h2 {
   display: inline;
   border: none;
   padding: 0;
   font-size: 100%;
   font-weight: bold;
}

#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
   text-align: center;
   background-color: transparent;
}

#toc ul,
.toc ul {
   list-style-type: none;
   list-style-image: none;
   margin-left: 0;
   padding-left: 0;
   text-align: left;
}

#toc ul ul,
.toc ul ul {
   margin: 0 0 0 1em;
}

#toc .toctoggle,
.toc .toctoggle {
   font-size: 100%;
}

li.toclevel-1 {
   border-top: 1px solid #AAAAAA;
}

.toc a,
#toc a {
   text-decoration:none;
}



legend {
	background-color: #F9F9F9;
	border: 1px solid #AAAAAA;
	color: #F9F9F9;
}

fieldset { background-color: #F9F9F9; }

#preftoc li {
	background-color: transparent;
	border: 0px;
}

#preftoc li a { color: #AAAAAA; }

#preftoc li.selected {
	border: 1px;
	background-color: #F9F9F9;
}

ol ol { list-style-type: lower-latin; }

ol ol ol { list-style-type: lower-roman; }

li#pt-userpage {
	background: url("/graphics/user.gif") top left no-repeat !important;
	background-repeat: no-repeat;
	background-color: transparent !important;
	padding-left: 20px;
	text-transform: none;
}

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }

 /* rounded corners - Mozilla/Firefox only */
 .pBody {
  padding: 0.1em 0.1em;
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-bottomright: 0.5em;
 }
 #p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-topleft: 0.5em;
 }
 #content {
  -moz-border-radius-topleft: 0.5em;
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-bottomleft: 0.5em;
  -moz-border-radius-bottomright: 0.5em;
 }

 /* buttons and input boxes */
 input[type="submit"] { border: 1px solid #aaa; border-bottom: 2px solid #aaa; border-right: 2px solid #aaa; background: #eee; }
 input[type="text"], input[type="password"], textarea[name="wpTextbox1"] { border: 1px solid #aaa; border-top: 2px solid #aaa; border-left: 2px solid #aaa; }

/* Add small Blank-themed background image to bottom right of categories bar */
#catlinks { 
background-image: url(http://editthis.info/blankclubencyclopedia/images/blankclubencyclopedia/d/d5/Category_pic.png);
background-repeat: no-repeat;
background-position: right;
}

p.catlinks {
	border: 1px outset #282828;
	margin: 2px;
	padding: 5px;
}

/*
</pre>
*/
Personal tools
active geofiction