MediaWiki:Common.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (13 revisions: mediawiki + talk)
mNo edit summary
 
(251 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins on desktop */


body.page-Main_Page #catlinks {
/* Navbox style
    display: none !important;
      Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-NavboxStyle.css
}
  Staff highlights
 
      Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-StaffHighlights.css */
/* 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;
}
 
/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 5px;
    text-align: center;
    width: 100%;
}
 
table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}
 
table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}
 
@media print {
    .navbox {
        display: none;
    }
}
 
/* Infobox template style */


/* Infoboxes */
.infobox {
.infobox {
  border: 1px solid #aaa;
color: #000;
  background-color: #f9f9f9;
float: right;
  color: black;
clear: right;
  margin-bottom: 0.5em;
font-size: 80%;
  margin-left: 1em;
text-align: left;
  padding: 0.2em;
min-width: 150px;
  float: right;
max-width: 350px;
  clear: right;
border: 1px solid #aaa;
background-color: #f9f9f9;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
}
}
.infobox td,
.infobox td, .infobox th {
.infobox th {
vertical-align: top;
  vertical-align: top;
}
}
.infobox caption {
.infobox caption {
  font-size: larger;
font-size: larger;
  margin-left: inherit;
margin-left: inherit;
}
.infobox img {
max-width: 340px;
height: auto !important;
}
}
.infobox.bordered {
.infobox.bordered {
  border-collapse: collapse;
border-collapse: collapse;
}
}
.infobox.bordered td,
.infobox.bordered td,
.infobox.bordered th {
.infobox.bordered th {
  border: 1px solid #aaa;
border: 1px solid #aaa;
}
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
.infobox.bordered .borderless th {
  border: 0;
border: 0;
}
}
 
.infoboxTitle {
.infobox.sisterproject {
font-size: 140%;
  width: 20em;
text-align: center;
  font-size: 90%;
}
}


@media print {
/* Bordered infobox with merged rows */
    .infobox.sisterproject {
        display: none;
    }
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
.infobox.bordered .mergedtoprow th {
  border: 0;
border: 0;
  border-top: 1px solid #aaa;
border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
border-right: 1px solid #aaa;
}
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
.infobox.bordered .mergedrow th {
  border: 0;
border: 0;
  border-right: 1px solid #aaa;
border-right: 1px solid #aaa;
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
/* Bold edit tab */
#ca-edit a {
div.Boxmerge,
font-weight: bold !important;
div.NavFrame {
    margin: 0px;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
 
    border-style: none;
/* Forum */
    border-style: hidden;
.forumheader {
margin: 1em 0 15px;
padding: 12px;
}
}
div.NavFrame + div.NavFrame {
.forumlist td.forum_edited a {
    border-top-style: none;
color: #000;
    border-top-style: hidden;
text-decoration: none
}
}
div.NavPic {
.forumlist td.forum_title a {
    background-color: #fff;
padding-left: 20px;
    margin: 0px;
    padding: 2px;
    float: left;
}
}
div.NavFrame div.NavHead {
.forumlist td.forum_title a.forum_new {
    height: 1.6em;
font-weight: bold;
    font-weight: bold;
background: url(https://pikmin.wiki.gallery/images/forum_new.gif) center left no-repeat;
    background-color: #ccf;
padding-left: 20px;
    position:relative;
}
}
div.NavFrame p {
.forumlist td.forum_title a.forum_new:visited {
    font-size: 100%;
font-weight: normal;
background: none;
padding-left: 20px;
}
}
div.NavFrame div.NavContent {
.forumlist th.forum_title {
    font-size: 100%;
padding-left: 20px;
}
}
div.NavFrame div.NavContent p {
 
    font-size: 100%;
/* Pikipedia boxes */
.pikipediaBox {
color: #000;
margin: 0 auto 10px;
padding: 0 0.5em;
}
}
div.NavEnd {
h2 + .pikipediaBox,
    margin: 0px;
div + .pikipediaBox,
    padding: 0px;
table + .pikipediaBox,
    line-height: 1px;
.pikipediaBox + .navbox {
    clear: both;
margin-top: 10px;
}
}
a.NavToggle {
.pikipediaBox + .pikipediaBox {
    position:absolute;
margin-top: -5px;
    top:0px;
    right:3px;
    font-weight:normal;
    font-size:smaller;
}
}


/*Boldify edit tab*/
/* References */
#ca-edit a { font-weight: bold !important; }
sup.reference:target,
ol.references li:target {
background-color: #cfc;
}


/* Italicise redirects in Allpages, Watchlist and Recent Changes */
/* Indicator icons */
.allpagesredirect { font-style: italic; }
.mw-indicator {
.watchlistredir { font-style: italic; }
margin: 0 2px;
 
/* Forum */
 
.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(/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;  
}
}


/* TabbyBox */
/* Who's online */
#tabbyHead a {
#whosonline {
    padding: 0 10px;
margin-bottom: 1px;
    background-color: #cfc;
    border-topleft-radius: 15px;
    border-bottomright-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-bottomright: 15px;
    -webkit-border-topleft-radius: 15px;
    -webkit-border-bottomright-radius: 15px;
    color: #060;
    font-size: 150%;
}
#tabbyHead a.selected {
    border: 2px solid #0b0;
    background: #ffffff;
}
#tabbyHead p {
    margin: 1px;
}
#tabbyHead {
    position: relative;
    left: 50px;
}
}

Latest revision as of 14:12, August 17, 2024

/* CSS placed here will be applied to all skins on desktop */

/* Navbox style
       Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-NavboxStyle.css
   Staff highlights
       Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-StaffHighlights.css */

/* Infoboxes */
.infobox {
	color: #000;
	float: right;
	clear: right;
	font-size: 80%;
	text-align: left;
	min-width: 150px;
	max-width: 350px;
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
}
.infobox td, .infobox th {
	vertical-align: top;
}
.infobox caption {
	font-size: larger;
	margin-left: inherit;
}
.infobox img {
	max-width: 340px;
	height: auto !important;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}
.infoboxTitle {
	font-size: 140%;
	text-align: center;
}

/* Bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #aaa;
	border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	border-right: 1px solid #aaa;
}

/* Bold edit tab */
#ca-edit a {
	font-weight: bold !important;
}

/* Forum */
.forumheader {
	margin: 1em 0 15px;
	padding: 12px;
}
.forumlist td.forum_edited a {
	color: #000;
	text-decoration: none 
}
.forumlist td.forum_title a {
	padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
	font-weight: bold;
	background: url(https://pikmin.wiki.gallery/images/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;
}

/* Pikipedia boxes */
.pikipediaBox {
	color: #000;
	margin: 0 auto 10px;
	padding: 0 0.5em;
}
h2 + .pikipediaBox,
div + .pikipediaBox,
table + .pikipediaBox,
.pikipediaBox + .navbox {
	margin-top: 10px;
}
.pikipediaBox + .pikipediaBox {
	margin-top: -5px;
}

/* References */
sup.reference:target,
ol.references li:target {
	background-color: #cfc;
}

/* Indicator icons */
.mw-indicator {
	margin: 0 2px;
}

/* Who's online */
#whosonline {
	margin-bottom: 1px;
}