MediaWiki:Monobook.css

From Geofic

(Difference between revisions)
(test)
(more testing)
Line 1: Line 1:
-
/*
+
//Formatting<pre>
-
<pre>
+
@media print { .noprint { display: none}}
-
*/
+
-
body
+
/* Adjust portlet boxes on left so we can fit our title on one line in IE */
-
{  
+
.portlet li { margin: 0px -2px 0px -2px; }
-
background-image: url(http://www.google.com/images/firefox/grgrad.gif);
+
 
-
background-repeat: repeat-x;
+
/* Bold 'edit this page' link to encourage newcomers */
-
background-position: top left
+
#ca-edit a { font-weight: bold !important; }
 +
 
 +
#pt-login {
 +
  font-weight: bold;
 +
  font-size: 110%;
}
}
-
/*TOC layout*/
+
/* Adjust logo positioning (change if logo changes) */
-
#toc,
+
#p-logo a {
-
.toc {
+
    position:absolute;
-
  background-color: #F9F9F9;
+
    top: 3px;
-
  border: 1px solid #AAAAAA;
+
    left: 0px;
-
  padding: 5px;
+
    height: 103px;
-
  font-size: 95%;
+
    width: 12.2em;
 +
    background-repeat: no-repeat;
 +
    background-position: 50% 5px !important;
 +
}
 +
#p-logo a:hover {
 +
    position:absolute;
 +
    top: 3px;
 +
    left: 0px;
 +
    height: 103px;
 +
    width: 12.2em;
 +
    background-repeat: no-repeat;
 +
    background-position: 50% 5px !important;
}
}
-
#toc h2,
+
/*Move the left column up to match (default was 160px)*/
-
.toc h2 {
+
#column-one { padding-top: 105px;}
-
  display: inline;
+
 
-
  border: none;
+
/* Create more space to top and left of the section Edit links and put norn in it */
-
  padding: 0;
+
 
-
  font-size: 100%;
+
*.editsection { position: relative; top: 1em; }
-
  font-weight: bold;
+
span.editsection:hover {
 +
    background: url(http://images.wikia.com/furry/images/9/9f/Editnorn.png) 0px 0px no-repeat;
 +
    padding: 16px 0px 0px 21px;
 +
    position: relative;
 +
    top: -3px;
}
}
-
#toc #toctitle,
+
/* Nyr at bottom left */
-
.toc #toctitle,
+
#footer { background-color: white; background: url(http://images.wikia.com/furry/images/0/02/Censor_panda_nyr_button.png);
-
#toc .toctitle,
+
clear: right;
-
.toc .toctitle {
+
background-repeat: no-repeat; background-position: 3px 2px;
-
  text-align: center;
+
padding-bottom: 1.24em; padding-left: 102px;
-
  background-color: transparent;
+
}
}
-
#toc ul,
+
/* Change background of category bar */
-
.toc ul {
+
#catlinks {  
-
  list-style-type: none;
+
background-image: url(http://images.wikia.com/furry/images/7/72/CategoryPaws.png);
-
  list-style-image: none;
+
background-repeat: no-repeat;
-
  margin-left: 0;
+
background-position: bottom right;
-
  padding-left: 0;
+
-
  text-align: left;
+
}
}
-
#toc ul ul,
+
/* **** Begin import from Wikipedia's Common.css **** */
-
.toc ul ul {
+
 
-
  margin: 0 0 0 1em;
+
/* let's make a class that deals with tables better Any complaints, please message Ta bu shi da yu */
 +
 
 +
table.prettytable {  
 +
  border-collapse: collapse;
 +
  background: #f9f9f9;
 +
  margin-left: 10px;
 +
  margin-right: 10px;
 +
  margin-top: 5px;
 +
  margin-bottom: 5px;
 +
  padding: 5px;
 +
  vertical-align: top;
 +
}
 +
 
 +
table.prettytable td,
 +
table.prettytable th
 +
{
 +
  border: 1px solid #ccc;
 +
  text-align: left;
}
}
-
#toc .toctoggle,
+
table.prettytable th
-
.toc .toctoggle {
+
{
-
  font-size: 100%;
+
  background: #FFCC99;
 +
  font-weight: bold;
 +
  text-align: center;
}
}
-
li.toclevel-1 {
+
/* Style for "notices" */
-
  border-top: 1px solid #AAAAAA;
+
.notice {
 +
    text-align: justify;
 +
    margin: 1em;
 +
    padding: 0.2em;
}
}
-
.toc a,
+
#disambig {
-
#toc a {
+
    border-top: 3px double #cccccc;
-
  text-decoration:none;
+
    border-bottom: 3px double #cccccc;
}
}
 +
#spoiler {
 +
    border-top: 2px solid #ddd;
 +
    border-bottom:2px solid #ddd;
 +
}
 +
/* Standard talk template style */
-
legend {
+
.Talk-Notice  {
-
background-color: #F9F9F9;
+
    border: 1px solid #C0C090;
-
border: 1px solid #AAAAAA;
+
    background-color: #F8EABA;
-
color: #F9F9F9;
+
    margin-bottom: 3px;
 +
    width: 85%;
 +
    border-spacing: 3px;
 +
    margin-left: auto;
 +
    margin-right: auto;
}
}
-
fieldset { background-color: #F9F9F9; }
+
/* Make template background appear correctly on all browsers */
-
 
+
.Talk-Notice td {
-
#preftoc li {
+
    background: inherit;
-
background-color: transparent;
+
-
border: 0px;
+
}
}
-
#preftoc li a { color: #AAAAAA; }
+
/* Merge template style */
-
#preftoc li.selected {
+
.messagebox {
-
border: 1px;
+
  border: 1px solid #aaaaaa;
-
background-color: #F9F9F9;
+
  background-color: #f9f9f9;
 +
  width: 85%;
 +
  margin: 0 auto 1em auto;
 +
  padding: .2em;
 +
  text-align: justify;
 +
}
 +
.messagebox.merge {
 +
  border: 1px solid #cf9fff;
 +
  background-color: #f5edf5;
 +
  text-align: center;
 +
}
 +
.messagebox.cleanup {
 +
  border: 1px solid #9f9fff;
 +
  background-color: #efefff;
 +
  text-align: center;
 +
}
 +
.messagebox.standard-talk {
 +
  border: 1px solid #c0c090;
 +
  background-color: #f8eaba;
}
}
-
ol ol { list-style-type: lower-latin; }
+
.infobox {
 +
  border: 1px solid #aaaaaa;
 +
  background-color: #f9f9f9;
 +
  margin-bottom: 0.5em;
 +
  margin-left: 1em;
 +
  padding: .2em;
 +
  float: right;
 +
  clear: right;
 +
}
 +
.infobox tr {
 +
  vertical-align: top;
 +
}
 +
.infobox caption {
 +
  margin-left: inherit;
 +
}
 +
.infobox.bordered {
 +
  border-collapse: collapse;
 +
}
 +
.infobox.bordered td, .infobox.bordered th {
 +
  border: 1px solid #aaaaaa;
 +
}
 +
.infobox.sisterproject {
 +
  width: 22em;
 +
}
-
ol ol ol { list-style-type: lower-roman; }
+
/* **** End import **** */
-
li#pt-userpage {
+
/* .toccolours added here because version in
-
background: url("/graphics/user.gif") top left no-repeat !important;
+
  monobook/main.css wasn't being used by the print style */
-
background-repeat: no-repeat;
+
.toccolours {
-
background-color: transparent !important;
+
  border:1px solid #aaaaaa;
-
padding-left: 20px;
+
  background-color:#f9f9f9;
-
text-transform: none;
+
  padding:5px;
 +
  font-size: 95%;
}
}
-
/* Bold 'edit this page' link to encourage newcomers */
+
/* Remove padding from external links displayed without icon */
-
#ca-edit a { font-weight: bold !important; }
+
#bodyContent .plainlinks a {padding: 0 !important}
-
/* rounded corners - Mozilla/Firefox only */
+
#siteNotice {
-
.pBody {
+
  margin: 0px -10px 0px -10px;
-
  padding: 0.1em 0.1em;
+
  text-align: center;
-
  -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 */
+
/* Forum formatting -Algorithm & -Splaka */
-
input[type="submit"] { border: 1px solid #aaa; border-bottom: 2px solid #aaa; border-right: 2px solid #aaa; background: #eee; }
+
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
-
input[type="text"], input[type="password"], textarea[name="wpTextbox1"] { border: 1px solid #aaa; border-top: 2px solid #aaa; border-left: 2px solid #aaa; }
+
.forumlist td.forum_edited a { color: black; text-decoration: none }
 +
.forumlist td.forum_title a { padding-left: 20px; }
 +
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://images.wikia.com/furry/images/4/4e/Forum_new.gif)
 +
center left no-repeat; padding-left: 20px; }
 +
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
 +
.forumlist th.forum_title { padding-left: 20px; }
-
/* Add small Blank-themed background image to bottom right of categories bar */
+
/* Hyphen breadlinks for dynamic page list of stubs */
-
#catlinks {  
+
.hyphenbread ul { margin-left: 0; padding-left: 0; display: inline; border: none; }
-
background-image: url(http://editthis.info/blankclubencyclopedia/images/blankclubencyclopedia/d/d5/Category_pic.png);
+
.hyphenbread ul li { margin-left: 0; padding-left: 2px; border: none; list-style: none; display: inline; }
-
background-repeat: no-repeat;
+
.hyphenbread ul li:before { content: "\\0020-\\0020"; }
-
background-position: right;
+
.hyphenbread ul li:first-child:before { content: " "; }
-
}
+
-
p.catlinks {
+
/* Paint it pink! */
-
border: 1px outset #282828;
+
/* Available for future reference
-
margin: 2px;
+
td.even {
-
padding: 5px;
+
border: 1px outset #fee4fc;
 +
background-color: #fee4fc;
}
}
 +
.pBody,pre,div#catlinks,table.diff,td.diff-context,#toc,#toc #toctitle,#toc td,.infobox, #infobox td { background-color: #f8d8f5}
 +
#p-personal a:hover { background-color: #f8d8f5 !important}
 +
code,#column-google,table.diff,td.diff-otitle,td.diff-ntitle,table.grey,table.wiki-sidebar,table.browser,body,#bodyContent,#content,#footer,#content_withads, .selected,#p-cactions ul li a,table,td,tr,#p-personal,#p-personal a,#preftoc li {background-color: #fee4fc;}
 +
.floatright, .floatright span, .floatright a.image, .floatleft, .floatleft span, .floatleft a.image {
 +
background-color: transparent !important;
 +
border-color: transparent !important;
 +
}
 +
.thumb, .tright, .tleft {
 +
border-color: #fee4fc !important;
 +
background-color: #fee4fc !important;
 +
}
 +
div.thumb div a img { border: none; }
 +
div.thumb div { background-color: #f8d8f5 !important; }
 +
#pagehistory li { border: 1px solid #fee4fc; }
 +
#pagehistory li.selected {
 +
background-color: #f8d8f5;
 +
border: 1px dashed #fee4fc;
 +
}
 +
 +
/* Classes for MU logos */
 +
pre.MU-logo { float:right; font-size:5pt; line-height: 5pt; padding-left: 5px; padding:0px; border:none; background-color:transparent;}
-
/*
 
-
</pre>
 
*/
*/
 +
//Formatting</pre>

Revision as of 08:01, 5 April 2007

//Formatting<pre>
@media print { .noprint { display: none}}

/* Adjust portlet boxes on left so we can fit our title on one line in IE */
.portlet li { margin: 0px -2px 0px -2px; }

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

#pt-login {
  font-weight: bold;
  font-size: 110%;
}

/* Adjust logo positioning (change if logo changes) */
#p-logo a {
    position:absolute;
    top: 3px;
    left: 0px;
    height: 103px;
    width: 12.2em;
    background-repeat: no-repeat;
    background-position: 50% 5px !important;
}
#p-logo a:hover {
    position:absolute;
    top: 3px;
    left: 0px;
    height: 103px;
    width: 12.2em;
    background-repeat: no-repeat;
    background-position: 50% 5px !important;
}

/*Move the left column up to match (default was 160px)*/
#column-one { padding-top: 105px;}

/* Create more space to top and left of the section Edit links and put norn in it */

*.editsection { position: relative; top: 1em; }
span.editsection:hover {
    background: url(http://images.wikia.com/furry/images/9/9f/Editnorn.png) 0px 0px no-repeat;
    padding: 16px 0px 0px 21px;
    position: relative;
    top: -3px;
}

/* Nyr at bottom left */
#footer { background-color: white; background: url(http://images.wikia.com/furry/images/0/02/Censor_panda_nyr_button.png); 
clear: right;
background-repeat: no-repeat; background-position: 3px 2px;
padding-bottom: 1.24em; padding-left: 102px;
}

/* Change background of category bar */
#catlinks { 
background-image: url(http://images.wikia.com/furry/images/7/72/CategoryPaws.png);
background-repeat: no-repeat;
background-position: bottom right;
}

/* **** Begin import from Wikipedia's Common.css **** */

/* let's make a class that deals with tables better Any complaints, please message Ta bu shi da yu */

table.prettytable { 
  border-collapse: collapse; 
  background: #f9f9f9; 
  margin-left: 10px; 
  margin-right: 10px; 
  margin-top: 5px; 
  margin-bottom: 5px; 
  padding: 5px;
  vertical-align: top;
} 

table.prettytable td,
table.prettytable th 
{ 
  border: 1px solid #ccc; 
  text-align: left;
}

table.prettytable th
{
  background: #FFCC99;
  font-weight: bold;
  text-align: center;
}

/* 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;
}

/* Merge template style */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 85%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.messagebox.merge {
   border: 1px solid #cf9fff;
   background-color: #f5edf5;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   margin-bottom: 0.5em;
   margin-left: 1em; 
   padding: .2em;
   float: right;
   clear: right;
}
.infobox tr {
   vertical-align: top;
}
.infobox caption {
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.sisterproject {
   width: 22em;
}

/* **** End import **** */

/* .toccolours added here because version in 
   monobook/main.css wasn't being used by the print style */
.toccolours { 
   border:1px solid #aaaaaa;
   background-color:#f9f9f9;
   padding:5px;
   font-size: 95%;
}

/* Remove padding from external links displayed without icon */
#bodyContent .plainlinks a {padding: 0 !important}

#siteNotice {
   margin: 0px -10px 0px -10px;
   text-align: center;
}

/* Forum formatting -Algorithm & -Splaka */
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
.forumlist td.forum_edited a { color: black; text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://images.wikia.com/furry/images/4/4e/Forum_new.gif) 
center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }

/* Hyphen breadlinks for dynamic page list of stubs */
.hyphenbread ul { margin-left: 0; padding-left: 0; display: inline; border: none; } 
.hyphenbread ul li { margin-left: 0; padding-left: 2px; border: none; list-style: none; display: inline; }
.hyphenbread ul li:before { content: "\\0020-\\0020"; }
.hyphenbread ul li:first-child:before { content: " "; }

/* Paint it pink! */
/* Available for future reference
td.even {
	border: 1px outset #fee4fc;
	background-color: #fee4fc;
}
.pBody,pre,div#catlinks,table.diff,td.diff-context,#toc,#toc #toctitle,#toc td,.infobox, #infobox td { background-color: #f8d8f5}
#p-personal a:hover { background-color: #f8d8f5 !important}
code,#column-google,table.diff,td.diff-otitle,td.diff-ntitle,table.grey,table.wiki-sidebar,table.browser,body,#bodyContent,#content,#footer,#content_withads, .selected,#p-cactions ul li a,table,td,tr,#p-personal,#p-personal a,#preftoc li {background-color: #fee4fc;}
.floatright, .floatright span, .floatright a.image, .floatleft, .floatleft span, .floatleft a.image {
	background-color: transparent !important;
	border-color: transparent !important;
}
.thumb, .tright, .tleft {
	border-color: #fee4fc !important;
	background-color: #fee4fc !important;
}
div.thumb div a img { border: none; }
div.thumb div { background-color: #f8d8f5 !important; }
#pagehistory li { border: 1px solid #fee4fc; }
#pagehistory li.selected {
	background-color: #f8d8f5;
	border: 1px dashed #fee4fc;
}

/* Classes for MU logos */
pre.MU-logo { float:right; font-size:5pt; line-height: 5pt; padding-left: 5px; padding:0px; border:none; background-color:transparent;}

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