Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
imported>Ivanhoe |
imported>Ivanhoe |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| + | |||
| + | p.none { | ||
| + | -webkit-hyphens: none; | ||
| + | -ms-hyphens: none; | ||
| + | hyphens: none; | ||
| + | } | ||
| + | p.manual { | ||
| + | -webkit-hyphens: manual; | ||
| + | -ms-hyphens: manual; | ||
| + | hyphens: manual; | ||
| + | } | ||
| + | p.auto { | ||
| + | -webkit-hyphens: auto; | ||
| + | -ms-hyphens: auto; | ||
| + | hyphens: auto; | ||
| + | } | ||
div#content a[href ^="https://"].external | div#content a[href ^="https://"].external | ||
| Line 14: | Line 30: | ||
margin: auto; | margin: auto; | ||
} | } | ||
| + | |||
| + | .mw-body references { | ||
| + | max-width: 500px; | ||
| + | margin: auto; | ||
| + | } | ||
| + | |||
| + | .mw-body-content a:link { color: #505050; } | ||
| + | .mw-body-content a:link:visited { color: #505050; } | ||
| + | .mw-body-content a:link:active { color: #505050; } | ||
| + | .mw-body-content a:link.new { color: #909090; } | ||
| + | .mw-body-content a:link.interwiki { color: #505050; } | ||
| + | .mw-body-content a:link.external { color: #505050; } | ||
| + | .mw-body-content a:link.stub { color: #909090; } | ||
| + | .mw-body-content a:visited {color: #505050; } | ||
| + | .mw-body-content a:hover {color: #000000; text-decoration: underline; } | ||
| + | .mw-body-content a:active {color: #505050; } | ||
| + | |||
| + | .toc, #toc { display: none; } | ||
Latest revision as of 18:30, 9 October 2017
/* CSS placed here will be applied to all skins */
p.none {
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
p.manual {
-webkit-hyphens: manual;
-ms-hyphens: manual;
hyphens: manual;
}
p.auto {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
div#content a[href ^="https://"].external
{
background: center right no-repeat; padding-right: 18px;
}
.mw-body p {
max-width: 500px;
margin: auto;
}
.mw-body blockquote {
max-width: 450px;
margin: auto;
}
.mw-body references {
max-width: 500px;
margin: auto;
}
.mw-body-content a:link { color: #505050; }
.mw-body-content a:link:visited { color: #505050; }
.mw-body-content a:link:active { color: #505050; }
.mw-body-content a:link.new { color: #909090; }
.mw-body-content a:link.interwiki { color: #505050; }
.mw-body-content a:link.external { color: #505050; }
.mw-body-content a:link.stub { color: #909090; }
.mw-body-content a:visited {color: #505050; }
.mw-body-content a:hover {color: #000000; text-decoration: underline; }
.mw-body-content a:active {color: #505050; }
.toc, #toc { display: none; }