MediaWiki:Common.css

Revision as of 07:43, July 14, 2016 by Porplemontage (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

body.page-Main_Page #catlinks {
  display: none !important;
}

/* navigation boxes */

table.navbox {
  background-color: #F9F9F9;
  border:           1px solid #AAA;
  clear:            both;
  font-size:        90%;
  margin:           0 auto;
  padding           0.2em;
  text-align:       center;
  min-width:        200px;
  max-width:        95%;
}

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

/* infoboxes */
.infobox {
  border:           1px solid #AAA;
  background-color: #F9F9F9;
  color:            black;
  margin-bottom:    0.5em;
  margin-left:      1em;
  padding:          0.2em;
  float:            right;
  clear:            right;
  font-size:        80%;
  text-align:       left;
  max-width:        350px;
  min-width:        150px;
}
.infobox td,
.infobox th {
  vertical-align: top;
}
.infobox th {
  background:     #E6E9FF;
  vertical-align: middle;
}
.infobox caption {
  font-size:   larger;
  margin-left: inherit;
}
.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;
}

.infobox.sisterproject {
  width:     20em;
  font-size: 90%;
}

.infoboxTitle{
  font-size:  140%;
  background: #CCF;
  text-align: center;
}

@media print {
  .infobox.sisterproject {
    display: none;
  }
}

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

/* boldify edit tab */

#ca-edit a {
  font-weight: bold !important;
}

/* italicise redirects in Allpages, Watchlist and Recent Changes */

.allpagesredirect {
  font-style: italic;
}
.watchlistredir {
  font-style: italic;
}

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

/* switchable */

.switchabletabs li {
  list-style:   none;
  display:      inline;
  margin-right: .5em;
  padding:      .1em .5em;
  border:       1px solid #AAA;
  background:   #F2F2F2;
}

/* hideable */

.hideable [alt="hide"] {
  margin: 0 .3em;
}

/* Edit box */
.wikiEditor-ui textarea#wpTextbox1 {
  line-height: 1.4em;
}
#wpSummary, #wpSummaryLabel {
  margin: 0.2em 0 0.4em 0 !important;
}
input#wpSummary {
  width: 85%;
}

/* Dismissable SiteNotice */
.sitedir-ltr .mw-dismissable-notice-body {
  margin: 0.5em 60px 0.5em 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
  margin: 0.5em 0 0.5em 60px;
}

/* Auto-scroll if <pre></pre> box is too wide */
pre {
  overflow: auto;
}

/* Captcha spacing */
.editOptions .g-recaptcha {
	margin-bottom: 10px;
}
#userloginForm .mw-htmlform-field-HTMLReCaptchaNoCaptchaField {
	margin-top: 8px;
}
#userloginForm .g-recaptcha {
	margin-top: 2px;
}

/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() { 
	.bodySearchWrap .mw-ui-button, .createboxButton {
		padding-top: 4px;
		padding-bottom: 5px;
	}
}

.pikipediaBox{
  background-color: #CFC;
  border:           2px outset #0b0;
  margin:           5px auto;
  padding:          0 .5em;
}

.titledBox{
  width:      100%;
  background: #f5fffa;
  border:     1px solid #cef2e0;
  margin-top: 10px;
  padding:    6px;
}
.titledBoxTitle{
  width:       100%;
  height:      1em;
  background:  #cef2e0;
  border:      1px solid #a3bfb1;
  padding:     0 5px;
  font-size:   1.2em;
  font-weight: bold;
}

/* Area navbox icons */

.navboxIcon img{
  transition: all 0.3s;
  -webkit-transform: scale(0.8);
  -moz-transform:    scale(0.8);
  -o-transform:      scale(0.8);
  -ms-transform:     scale(0.8);
  transform:         scale(0.8);
}

.navboxIcon img:hover{
  -webkit-transform: scale(1.0);
  -moz-transform:    scale(1.0);
  -o-transform:      scale(1.0);
  -ms-transform:     scale(1.0);
  transform:         scale(1.0);
}