Difference between revisions of "MediaWiki:Common.css"
Wikisimpsons - The Simpsons Wiki
(Undo revision 168533 by Solar Dragon (Talk)) |
(stylizing, fixed colored admin names and removed some unnecessary rules) |
||
Line 1: | Line 1: | ||
− | /* | + | /* <source lang="css"> */ |
− | < | ||
− | */ | ||
− | h2 {margin-top: 20px;} | + | h2 { |
+ | margin-top: 20px; | ||
+ | } | ||
− | .toc {margin-top: 20px;} | + | .toc { |
+ | margin-top: 20px; | ||
+ | } | ||
− | blockquote {padding-right: 150px} | + | blockquote { |
+ | padding-right: 150px; | ||
+ | } | ||
− | .unpatrolled {display: none !important; } | + | .unpatrolled { |
+ | display: none !important; | ||
+ | } | ||
− | .hiddenStructure {display: none;} | + | .hiddenStructure { |
+ | display: none; | ||
+ | } | ||
− | a {text-decoration: none; color: #002bb8; background: none;} | + | a { |
+ | text-decoration: none; | ||
+ | color: #002bb8; | ||
+ | background: none; | ||
+ | } | ||
− | a:visited {color: #5a3696;} | + | a:visited { |
+ | color: #5a3696; | ||
+ | } | ||
− | a:active {color: #faa700;} | + | a:active { |
+ | color: #faa700; | ||
+ | } | ||
− | a:hover {text-decoration: underline; | + | a:hover { |
− | + | text-decoration: underline; | |
− | + | } | |
− | |||
− | |||
+ | a.stub { | ||
+ | color: #772233; | ||
+ | } | ||
+ | a.new, #p-personal a.new { | ||
+ | color: #ba0000; | ||
+ | } | ||
+ | a.new:visited, #p-personal a.new:visited { | ||
+ | color: #a55858; | ||
+ | } | ||
− | + | /* Display text below main article header, located at MediaWiki:Tagline */ | |
− | |||
− | /* Display text below main article header, located at MediaWiki: | ||
#siteSub { | #siteSub { | ||
− | + | display: inline; | |
− | + | font-size: 90%; | |
− | + | font-weight: normal; | |
− | + | font-style: italic; | |
− | + | text-align: right; | |
} | } | ||
− | |||
/*********************************************************** | /*********************************************************** | ||
** Formatting for "hidden" Appearences section; cc-by-nc by [[w:c:MemoryAlpha:User:Bp]] at [[w:c:MemoryAlpha:User:Bp/interactive tree script]] | ** Formatting for "hidden" Appearences section; cc-by-nc by [[w:c:MemoryAlpha:User:Bp]] at [[w:c:MemoryAlpha:User:Bp/interactive tree script]] | ||
*/ | */ | ||
− | .hiddenlist { display:none; } | + | .hiddenlist { |
− | .visiblelist { display:block; } | + | display: none; |
+ | } | ||
+ | .visiblelist { | ||
+ | display: block; | ||
+ | } | ||
− | .listexpand { text-decoration: none; color: #002BB8; } | + | .listexpand { |
− | .listexpand:hover { text-decoration: underline; color: #002BB8; | + | text-decoration: none; |
− | + | color: #002BB8; | |
− | + | } | |
− | + | .listexpand:hover { | |
− | + | text-decoration: underline; | |
− | + | color: #002BB8; | |
− | + | } | |
− | |||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
− | + | margin: 1em 1em 1em 0; | |
− | + | background: #f9f9f9; | |
− | + | border: 1px #aaa solid; | |
− | + | border-collapse: collapse; | |
} | } | ||
− | + | ||
table.wikitable th, table.wikitable td, | table.wikitable th, table.wikitable td, | ||
table.prettytable th, table.prettytable td { | table.prettytable th, table.prettytable td { | ||
− | + | border: 1px #aaa solid; | |
− | + | padding: 0.2em; | |
} | } | ||
− | + | ||
table.wikitable th, | table.wikitable th, | ||
table.prettytable th { | table.prettytable th { | ||
− | + | background: #f2f2f2; | |
− | + | text-align: center; | |
} | } | ||
− | + | ||
table.wikitable caption, | table.wikitable caption, | ||
table.prettytable caption { | table.prettytable caption { | ||
− | + | margin-left: inherit; | |
− | + | margin-right: inherit; | |
− | + | font-weight: bold; | |
} | } | ||
− | + | ||
table.prettytable code, | table.prettytable code, | ||
table.wikitable code { | table.wikitable code { | ||
− | + | background-color: transparent; | |
} | } | ||
− | h2 { border-top: none; border-bottom: 1px solid #999999; } | + | h2 { |
+ | border-top: none; | ||
+ | border-bottom: 1px solid #999999; | ||
+ | } | ||
− | /* remove talk link from forum namespace ( | + | /* remove talk link from forum namespace (monobook/monaco) */ |
− | body.ns-110 #ca-talk | + | body.ns-110 #ca-talk, body.ns-110 #page_tabs li+li { |
+ | display: none; | ||
+ | } | ||
body.mainpage .firstHeading { | body.mainpage .firstHeading { | ||
Line 101: | Line 129: | ||
/* rounded corners - Mozilla/Firefox only */ | /* rounded corners - Mozilla/Firefox only */ | ||
.pBody { | .pBody { | ||
− | + | padding: 0.1em 0.1em; | |
− | + | -moz-border-radius-topright: 0.5em; | |
− | + | -moz-border-radius-bottomright: 0.5em; | |
− | + | -webkit-border-radius-topright: 0.5em; | |
− | + | -webkit-border-radius-topleft: 0.5em; | |
} | } | ||
− | #p-cactions ul li, #p-cactions ul li a { | + | #p-cactions ul li, #p-cactions ul li a { |
− | + | -moz-border-radius-topright: 0.5em; | |
− | + | -moz-border-radius-topleft: 0.5em; | |
− | + | -webkit-border-radius-topright: 0.5em; | |
− | + | -webkit-border-radius-topleft: 0.5em; | |
} | } | ||
#content, #catlinks, .toc, pre, h4.mw-specialpagesgroup, #filetoc, .gallery, .thumb, .smwfact { | #content, #catlinks, .toc, pre, h4.mw-specialpagesgroup, #filetoc, .gallery, .thumb, .smwfact { | ||
− | + | -moz-border-radius-topleft: 0.5em; | |
− | + | -moz-border-radius-topright: 0.5em; | |
− | + | -moz-border-radius-bottomleft: 0.5em; | |
− | + | -moz-border-radius-bottomright: 0.5em; | |
− | + | -webkit-border-radius-topright: 0.5em; | |
− | + | -webkit-border-radius-topleft: 0.5em; | |
− | + | -webkit-border-radius-bottomright: 0.5em; | |
− | + | -webkit-border-radius-bottomleft: 0.5em; | |
} | } | ||
/* rounded corners */ | /* rounded corners */ | ||
− | .rtop, .rbottom { display: block; padding: 0px; margin: 0px; } | + | .rtop, .rbottom { |
− | .rtop *, .rbottom * { display: block; height: 1px; overflow: hidden; padding: 0px; } | + | display: block; |
+ | padding: 0px; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | .rtop *, .rbottom * { | ||
+ | display: block; | ||
+ | height: 1px; | ||
+ | overflow: hidden; | ||
+ | padding: 0px; | ||
+ | } | ||
.r1 { margin: 0 5px; } | .r1 { margin: 0 5px; } | ||
.r2 { margin: 0 3px; } | .r2 { margin: 0 3px; } | ||
.r3 { margin: 0 2px; } | .r3 { margin: 0 2px; } | ||
− | .r4 { margin: 0 1px; height: 2px; } | + | .r4 { |
+ | margin: 0 1px; | ||
+ | height: 2px; | ||
+ | } | ||
/* end rounded corners */ | /* end rounded corners */ | ||
/* Tabs */ | /* Tabs */ | ||
.activetab { | .activetab { | ||
− | border-top: 1px outset #E7F2FF; | + | border-top: 1px outset #E7F2FF; |
− | border-right: 1px outset #E7F2FF; | + | border-right: 1px outset #E7F2FF; |
− | border-bottom: 1px solid #E7F2FF; | + | border-bottom: 1px solid #E7F2FF; |
− | border-left: 1px outset #E7F2FF; | + | border-left: 1px outset #E7F2FF; |
− | -moz-border-radius-topright: 0.5em; | + | -moz-border-radius-topright: 0.5em; |
− | -moz-border-radius-topleft: 0.5em; | + | -moz-border-radius-topleft: 0.5em; |
− | -webkit-border-radius-topright: 0.5em; | + | -webkit-border-radius-topright: 0.5em; |
− | -webkit-border-radius-topleft: 0.5em; | + | -webkit-border-radius-topleft: 0.5em; |
− | background-color: #E7F2FF; | + | background-color: #E7F2FF; |
− | font-weight: bold; | + | font-weight: bold; |
− | padding-left: 10px; | + | padding-left: 10px; |
− | padding-right: 10px; | + | padding-right: 10px; |
} | } | ||
.inactivetab { | .inactivetab { | ||
− | border-top: 1px inset #D4DEE8; | + | border-top: 1px inset #D4DEE8; |
− | border-right: 1px inset #D4DEE8; | + | border-right: 1px inset #D4DEE8; |
− | border-bottom: 1px solid #D4DEE8; | + | border-bottom: 1px solid #D4DEE8; |
− | border-left: 1px inset #D4DEE8; | + | border-left: 1px inset #D4DEE8; |
− | -moz-border-radius-topright: 0.5em; | + | -moz-border-radius-topright: 0.5em; |
− | -moz-border-radius-topleft: 0.5em; | + | -moz-border-radius-topleft: 0.5em; |
− | -webkit-border-radius-topright: 0.5em; | + | -webkit-border-radius-topright: 0.5em; |
− | -webkit-border-radius-topleft: 0.5em; | + | -webkit-border-radius-topleft: 0.5em; |
− | background-color: #D4DEE8; | + | background-color: #D4DEE8; |
− | padding-left: 10px; | + | padding-left: 10px; |
− | padding-right: 10px; | + | padding-right: 10px; |
} | } | ||
.inactivetab:hover { | .inactivetab:hover { | ||
− | border-top: 1px outset #A3B3FF; | + | border-top: 1px outset #A3B3FF; |
− | border-right: 1px outset #A3B3FF; | + | border-right: 1px outset #A3B3FF; |
− | border-bottom: 1px solid #A3B3FF; | + | border-bottom: 1px solid #A3B3FF; |
− | border-left: 1px outset #A3B3FF; | + | border-left: 1px outset #A3B3FF; |
− | -moz-border-radius-topright: 0.5em; | + | -moz-border-radius-topright: 0.5em; |
− | -moz-border-radius-topleft: 0.5em; | + | -moz-border-radius-topleft: 0.5em; |
− | -webkit-border-radius-topright: 0.5em; | + | -webkit-border-radius-topright: 0.5em; |
− | -webkit-border-radius-topleft: 0.5em; | + | -webkit-border-radius-topleft: 0.5em; |
− | background-color: #A3B3FF; | + | background-color: #A3B3FF; |
− | font-weight: bold; | + | font-weight: bold; |
} | } | ||
Line 179: | Line 219: | ||
Solar Dragon */ | Solar Dragon */ | ||
− | table.diff a[title="User:Solar Dragon"], ul#pagehistory li a[title="User:Solar Dragon"], ul.special li a[title="User:Solar Dragon], /* | + | table.diff a[title="User:Solar Dragon"], |
+ | ul#pagehistory li a[title="User:Solar Dragon"], | ||
+ | ul.special li a[title="User:Solar Dragon"], /* | ||
Smiley12 */ | Smiley12 */ | ||
− | table.diff a[title="User:Smiley12"], ul#pagehistory li a[title="User:Smiley12"], ul.special li a[title="User:Smiley12], /* | + | table.diff a[title="User:Smiley12"], |
+ | ul#pagehistory li a[title="User:Smiley12"], | ||
+ | ul.special li a[title="User:Smiley12"], /* | ||
Mr. Blackadder */ | Mr. Blackadder */ | ||
− | table.diff a[title="User:Mr. Blackadder"], ul#pagehistory li a[title="User:Mr. Blackadder"], ul.special li a[title="User:Mr. Blackadder], /* | + | table.diff a[title="User:Mr. Blackadder"], |
+ | ul#pagehistory li a[title="User:Mr. Blackadder"], | ||
+ | ul.special li a[title="User:Mr. Blackadder"], /* | ||
TheHomer */ | TheHomer */ | ||
− | table.diff a[title="User:TheHomer"], ul#pagehistory li a[title="User:TheHomer"], ul.special li a[title="User:TheHomer], /* | + | table.diff a[title="User:TheHomer"], |
+ | ul#pagehistory li a[title="User:TheHomer"], | ||
+ | ul.special li a[title="User:TheHomer"], /* | ||
TheUnderfaker */ | TheUnderfaker */ | ||
− | table.diff a[title="User:TheUnderfaker"], ul#pagehistory li a[title="User:TheUnderfaker"], ul.special li a[title="User:TheUnderfaker], /* | + | table.diff a[title="User:TheUnderfaker"], |
+ | ul#pagehistory li a[title="User:TheUnderfaker"], | ||
+ | ul.special li a[title="User:TheUnderfaker"], /* | ||
Brian McClure */ | Brian McClure */ | ||
− | table.diff a[title="User:Brian McClure"], ul#pagehistory li a[title="User:Brian McClure"], ul.special li a[title="User:Brian McClure] { color: #FFCC00; } | + | table.diff a[title="User:Brian McClure"], |
+ | ul#pagehistory li a[title="User:Brian McClure"], | ||
+ | ul.special li a[title="User:Brian McClure"] { | ||
+ | color: #FFCC00; | ||
+ | } | ||
+ | |||
+ | /* </source> */ |
Revision as of 17:05, December 8, 2010
/* <source lang="css"> */
h2 {
margin-top: 20px;
}
.toc {
margin-top: 20px;
}
blockquote {
padding-right: 150px;
}
.unpatrolled {
display: none !important;
}
.hiddenStructure {
display: none;
}
a {
text-decoration: none;
color: #002bb8;
background: none;
}
a:visited {
color: #5a3696;
}
a:active {
color: #faa700;
}
a:hover {
text-decoration: underline;
}
a.stub {
color: #772233;
}
a.new, #p-personal a.new {
color: #ba0000;
}
a.new:visited, #p-personal a.new:visited {
color: #a55858;
}
/* Display text below main article header, located at MediaWiki:Tagline */
#siteSub {
display: inline;
font-size: 90%;
font-weight: normal;
font-style: italic;
text-align: right;
}
/***********************************************************
** Formatting for "hidden" Appearences section; cc-by-nc by [[w:c:MemoryAlpha:User:Bp]] at [[w:c:MemoryAlpha:User:Bp/interactive tree script]]
*/
.hiddenlist {
display: none;
}
.visiblelist {
display: block;
}
.listexpand {
text-decoration: none;
color: #002BB8;
}
.listexpand:hover {
text-decoration: underline;
color: #002BB8;
}
/* wikitable/prettytable class for skinning normal tables */
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;
font-weight: bold;
}
table.prettytable code,
table.wikitable code {
background-color: transparent;
}
h2 {
border-top: none;
border-bottom: 1px solid #999999;
}
/* remove talk link from forum namespace (monobook/monaco) */
body.ns-110 #ca-talk, body.ns-110 #page_tabs li+li {
display: none;
}
body.mainpage .firstHeading {
display: none;
}
/* rounded corners - Mozilla/Firefox only */
.pBody {
padding: 0.1em 0.1em;
-moz-border-radius-topright: 0.5em;
-moz-border-radius-bottomright: 0.5em;
-webkit-border-radius-topright: 0.5em;
-webkit-border-radius-topleft: 0.5em;
}
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topright: 0.5em;
-moz-border-radius-topleft: 0.5em;
-webkit-border-radius-topright: 0.5em;
-webkit-border-radius-topleft: 0.5em;
}
#content, #catlinks, .toc, pre, h4.mw-specialpagesgroup, #filetoc, .gallery, .thumb, .smwfact {
-moz-border-radius-topleft: 0.5em;
-moz-border-radius-topright: 0.5em;
-moz-border-radius-bottomleft: 0.5em;
-moz-border-radius-bottomright: 0.5em;
-webkit-border-radius-topright: 0.5em;
-webkit-border-radius-topleft: 0.5em;
-webkit-border-radius-bottomright: 0.5em;
-webkit-border-radius-bottomleft: 0.5em;
}
/* rounded corners */
.rtop, .rbottom {
display: block;
padding: 0px;
margin: 0px;
}
.rtop *, .rbottom * {
display: block;
height: 1px;
overflow: hidden;
padding: 0px;
}
.r1 { margin: 0 5px; }
.r2 { margin: 0 3px; }
.r3 { margin: 0 2px; }
.r4 {
margin: 0 1px;
height: 2px;
}
/* end rounded corners */
/* Tabs */
.activetab {
border-top: 1px outset #E7F2FF;
border-right: 1px outset #E7F2FF;
border-bottom: 1px solid #E7F2FF;
border-left: 1px outset #E7F2FF;
-moz-border-radius-topright: 0.5em;
-moz-border-radius-topleft: 0.5em;
-webkit-border-radius-topright: 0.5em;
-webkit-border-radius-topleft: 0.5em;
background-color: #E7F2FF;
font-weight: bold;
padding-left: 10px;
padding-right: 10px;
}
.inactivetab {
border-top: 1px inset #D4DEE8;
border-right: 1px inset #D4DEE8;
border-bottom: 1px solid #D4DEE8;
border-left: 1px inset #D4DEE8;
-moz-border-radius-topright: 0.5em;
-moz-border-radius-topleft: 0.5em;
-webkit-border-radius-topright: 0.5em;
-webkit-border-radius-topleft: 0.5em;
background-color: #D4DEE8;
padding-left: 10px;
padding-right: 10px;
}
.inactivetab:hover {
border-top: 1px outset #A3B3FF;
border-right: 1px outset #A3B3FF;
border-bottom: 1px solid #A3B3FF;
border-left: 1px outset #A3B3FF;
-moz-border-radius-topright: 0.5em;
-moz-border-radius-topleft: 0.5em;
-webkit-border-radius-topright: 0.5em;
-webkit-border-radius-topleft: 0.5em;
background-color: #A3B3FF;
font-weight: bold;
}
/* Colored usernames for admins in the recent changes.
Solar Dragon */
table.diff a[title="User:Solar Dragon"],
ul#pagehistory li a[title="User:Solar Dragon"],
ul.special li a[title="User:Solar Dragon"], /*
Smiley12 */
table.diff a[title="User:Smiley12"],
ul#pagehistory li a[title="User:Smiley12"],
ul.special li a[title="User:Smiley12"], /*
Mr. Blackadder */
table.diff a[title="User:Mr. Blackadder"],
ul#pagehistory li a[title="User:Mr. Blackadder"],
ul.special li a[title="User:Mr. Blackadder"], /*
TheHomer */
table.diff a[title="User:TheHomer"],
ul#pagehistory li a[title="User:TheHomer"],
ul.special li a[title="User:TheHomer"], /*
TheUnderfaker */
table.diff a[title="User:TheUnderfaker"],
ul#pagehistory li a[title="User:TheUnderfaker"],
ul.special li a[title="User:TheUnderfaker"], /*
Brian McClure */
table.diff a[title="User:Brian McClure"],
ul#pagehistory li a[title="User:Brian McClure"],
ul.special li a[title="User:Brian McClure"] {
color: #FFCC00;
}
/* </source> */