MediaWiki:Gadget-Site.css
Jump to navigation
Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*********
** Most-used standard templates
*********/
/* All header templates */
/* colours common to Template:Header and MediaWiki:Proofreadpage header template */
/* Real header templates */
.authortemplate {
width: 100%;
margin-bottom: 4px;
}
/* Forward and backward link */
.gen_header_backlink, .gen_header_forelink {
width: 20%;
font-size: 0.9em;
line-height: normal;
}
.gen_header_backlink {
text-align: left;
}
.gen_header_forelink {
text-align: right;
}
/* Title field */
.gen_header_center_cell {
width: 60%;
text-align: center;
}
/* Notes field */
table.translation_notes, .process_notes, .author_notes {
width: 100%;
font-size: 0.9em;
line-height: 1.4;
margin-bottom: 4px; /* a bit of space before body-text; 1em might be better... */
}
table.header_notes {
border-bottom: 1px solid #A0A0A0;
background-color: #FAFAFF;
}
/* Specific header templates */
/* For Header template, see above with ProofreadPage code */
/* Template:Author */
.authortemplate {
border: 1px solid #BEA2A2;
background-color: #E4D8D8;
}
.author_notes {
border-bottom: 1px solid #A88;
background-color: #FFFBFC;
}
.author_seealso { /* Remove this if we change to Plain_sister usage */
float: right;
padding: 2px;
margin: 0 0 0.5em 1em;
border: 1px solid #CCC;
}
.process_notes {
border-bottom: 1px solid #A88;
background-color: #FFFBFC;
}
table.portal_notes {
border-bottom: 1px solid #88A;
background-color: #FCFBFF;
}
table.translation_notes {
border-bottom: 1px solid #FDD017;
background-color: #FFF8DC;
}
/***********
* Score extension
***********/
.mw-ext-score {
display: table;
margin: auto;
}
/* Prevent scores spilling over [[phab:T67252]] */
.mw-ext-score img {
max-width: 100%;
height: auto;
}
/*********
** Index namespace
*********/
/* Set borders on page numbers so we can manipulate their color without shifting content around. */
.prp-index-pagelist-page {
border: 1px solid transparent;
}
/*********
** Page namespace
*********/
/* Justify Text in Page namespace */
.pagetext {
text-align: justify;
}
/* Narrow screen adjustments */
@media screen and (max-width: 736px) {
/* hide non-essential desktop-only content */
.enws-hide-on-mobile {
display: none;
}
}
/*********
** Dividers
*********/
hr {
/* don't allow to exceed page size even if set manually */
max-width:100%;
}
@media print {
p {
text-align: inherit; /* override the load.php 'justify', which breaks centre and right alignments */
}
#mw-content-text {
text-align: justify; /* apply justify to the out div, and centred/right-aligned can override as usual */
}
}
/* @end */