MediaWiki:Common.css: Difference between revisions
From DSignT Support Database
Jump to navigationJump to search
(Created page with "→CSS placed here will be applied to all skins: →ms@forty-four.de: Tab-Reiter ausgeblendet: li#ca-viewsource,li#ca-history{display:none;}") |
No edit summary |
||
| (105 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS | /* | ||
This is the CSS for all skins (for all users) on MediaWiki.org. | |||
SECTIONS: | |||
1. Indication of namespaces | |||
2. Color classes for content | |||
3. Special pages | |||
4. Main page styling | |||
5. Sidebar external links | |||
6. Extension:Matrix stuff | |||
7. Wikitables, infobox templates, warnings, and other such stylings | |||
8. Some other small things | |||
*/ | |||
/* | |||
/* changes D.SignT: new design */ | |||
/* | |||
.mw-body | |||
{ | |||
position: relative; | |||
top: 14em; | |||
} | |||
*/ | |||
body { | |||
font-family: Arial; | |||
} | |||
img { | |||
padding-bottom: 7px; | |||
} | |||
.mw-body a.external { | |||
color: #00509f; | |||
font-weight: bold; | |||
padding: 0px 20px 0px 10px; | |||
border-radius: 7px; | |||
margin:5px; | |||
background-image: none; | |||
} | |||
.mw-body a.external:visited { | |||
color: #00509f; | |||
font-weight: bold; | |||
font-size: 14px; | |||
} | |||
.mw-body a.external.text { | |||
color: #00509f; | |||
font-weight: bold; | |||
font-size: 14px; | |||
} | |||
.mw-body a.external:hover { | |||
text-decoration: none; | |||
} | |||
a.DSP.more { | |||
display: block; | |||
text-align: center; | |||
} | |||
div#content | |||
{ | |||
top: 9em; | |||
/* margin-left:1.4em; */ | |||
margin-top: 25px; | |||
min-width:877px; | |||
min-height:69%; | |||
margin-right: 1.25em; | |||
border-right-width:1px; | |||
} | |||
div#column-content | |||
{ | |||
/* height: 120%; */ | |||
margin-bottom: 7em; | |||
} | |||
/* | |||
div#footer | |||
{ | |||
margin: 0 6em 0 0 | |||
} | |||
*/ | |||
/* | |||
#bodyContent{margin-left: 12em;padding-left:2em; | |||
margin-top: 2em;width:auto; min-width: 680px;} | |||
*/ | |||
/* | |||
li#ca-nstab-mediawiki,li#ca-nstab-category,li#ca-nstab-project,li#ca-nstab-main, li#ca-viewsource,li#ca-history,li#ca-edit,li#ca-push,li#ca-delete,li#ca-move,li#ca-protect,li#ca-watch,li#ca-unwatch { | |||
position: relative; top: 6em; | |||
} | |||
*/ | |||
@media screen { body.skin--responsive | |||
li#ca-talk { display:none!important; } | |||
} | |||
@media screen { body.skin--responsive | |||
#p-logo a | |||
{ | |||
width:100%; | |||
height:88px; | |||
margin-left: 136px; | |||
margin-top: 33px; | |||
margin-bottom: 20px; | |||
} | |||
} | |||
@media screen { body.skin--responsive | |||
#p-logo a:hover | |||
{ | |||
width:100%; | |||
height:88px; | |||
margin-left: 136px; | |||
margin-top: 33px; | |||
margin-bottom: 20px; | |||
} | |||
} | |||
@media screen { body.skin--responsive | |||
#p-logo | |||
{ | |||
width:24em; | |||
margin-bottom: 20px; | |||
} | |||
} | |||
@media screen { body.skin--responsive | |||
#p-cactions | |||
{ | |||
top: 10em; | |||
} | |||
} | |||
@media screen { body.skin--responsive | |||
#p-personal | |||
{ | |||
top: 5px; | |||
} | |||
} | |||
/* | |||
div#mw-panel { | |||
position: absolute; | |||
top: 100px; | |||
width: 20em; | |||
left: 0; | |||
} | |||
*/ | |||
h2 { | |||
/* font-size: 180%; */ | |||
font-weight: bold; | |||
} | |||
/* h3 { | |||
font-size: 145%; | |||
font-weight: normal; | |||
} */ | |||
/* from [[User:Splarka/Help:Linked images]] */ | |||
.imagelink_wikilogo a { | |||
width: 335px; | |||
height: 135px; | |||
display: block; | |||
text-decoration: none; | |||
background-image: url("//upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png"); | |||
} | |||
/** | |||
* Styling for links generated by [[MediaWiki:Edittools]] | |||
* @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling | |||
* @updated 2020-03-17 | |||
*/ | |||
.mw-charinsert-buttons { | |||
border: 1px solid #aaa; | |||
margin-top: 10px; | |||
padding: 1px; | |||
font-size: 1.1em; | |||
text-align: center; | |||
} | |||
.mw-charinsert-buttons a { | |||
background-color: #cde !important; | |||
color: #000; | |||
border: thin #069 outset; | |||
padding: 0 1px 1px; | |||
font-weight: bold; | |||
font-size: 0.9em; | |||
text-decoration: none; | |||
} | |||
.mw-charinsert-buttons a:hover, | |||
.mw-charinsert-buttons a:active { | |||
background-color: #bcd; | |||
border-style: inset; | |||
} | |||
.client-js .mw-edittools-section { | |||
display: inline; | |||
} | |||
.client-js .mw-edittools-section input[type="button"] { | |||
font-size: 0.9em; | |||
margin-left: 1px; | |||
padding-left: 1px; | |||
padding-right: 1px; | |||
} | |||
/* ms@forty-four.de: Tab-Reiter ausgeblendet */ | /* ms@forty-four.de: Tab-Reiter ausgeblendet */ | ||
li#ca-viewsource,li#ca-history{display:none;} | /* li#ca-viewsource,li#ca-history,li#ca-talk{display:none;} */ | ||
/* | |||
body.page-Main_Page.action-view table{ | |||
display: none; | |||
} | |||
*/ | |||
Latest revision as of 11:57, 30 July 2024
/*
This is the CSS for all skins (for all users) on MediaWiki.org.
SECTIONS:
1. Indication of namespaces
2. Color classes for content
3. Special pages
4. Main page styling
5. Sidebar external links
6. Extension:Matrix stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
*/
/*
/* changes D.SignT: new design */
/*
.mw-body
{
position: relative;
top: 14em;
}
*/
body {
font-family: Arial;
}
img {
padding-bottom: 7px;
}
.mw-body a.external {
color: #00509f;
font-weight: bold;
padding: 0px 20px 0px 10px;
border-radius: 7px;
margin:5px;
background-image: none;
}
.mw-body a.external:visited {
color: #00509f;
font-weight: bold;
font-size: 14px;
}
.mw-body a.external.text {
color: #00509f;
font-weight: bold;
font-size: 14px;
}
.mw-body a.external:hover {
text-decoration: none;
}
a.DSP.more {
display: block;
text-align: center;
}
div#content
{
top: 9em;
/* margin-left:1.4em; */
margin-top: 25px;
min-width:877px;
min-height:69%;
margin-right: 1.25em;
border-right-width:1px;
}
div#column-content
{
/* height: 120%; */
margin-bottom: 7em;
}
/*
div#footer
{
margin: 0 6em 0 0
}
*/
/*
#bodyContent{margin-left: 12em;padding-left:2em;
margin-top: 2em;width:auto; min-width: 680px;}
*/
/*
li#ca-nstab-mediawiki,li#ca-nstab-category,li#ca-nstab-project,li#ca-nstab-main, li#ca-viewsource,li#ca-history,li#ca-edit,li#ca-push,li#ca-delete,li#ca-move,li#ca-protect,li#ca-watch,li#ca-unwatch {
position: relative; top: 6em;
}
*/
@media screen { body.skin--responsive
li#ca-talk { display:none!important; }
}
@media screen { body.skin--responsive
#p-logo a
{
width:100%;
height:88px;
margin-left: 136px;
margin-top: 33px;
margin-bottom: 20px;
}
}
@media screen { body.skin--responsive
#p-logo a:hover
{
width:100%;
height:88px;
margin-left: 136px;
margin-top: 33px;
margin-bottom: 20px;
}
}
@media screen { body.skin--responsive
#p-logo
{
width:24em;
margin-bottom: 20px;
}
}
@media screen { body.skin--responsive
#p-cactions
{
top: 10em;
}
}
@media screen { body.skin--responsive
#p-personal
{
top: 5px;
}
}
/*
div#mw-panel {
position: absolute;
top: 100px;
width: 20em;
left: 0;
}
*/
h2 {
/* font-size: 180%; */
font-weight: bold;
}
/* h3 {
font-size: 145%;
font-weight: normal;
} */
/* from [[User:Splarka/Help:Linked images]] */
.imagelink_wikilogo a {
width: 335px;
height: 135px;
display: block;
text-decoration: none;
background-image: url("//upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png");
}
/**
* Styling for links generated by [[MediaWiki:Edittools]]
* @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
* @updated 2020-03-17
*/
.mw-charinsert-buttons {
border: 1px solid #aaa;
margin-top: 10px;
padding: 1px;
font-size: 1.1em;
text-align: center;
}
.mw-charinsert-buttons a {
background-color: #cde !important;
color: #000;
border: thin #069 outset;
padding: 0 1px 1px;
font-weight: bold;
font-size: 0.9em;
text-decoration: none;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
background-color: #bcd;
border-style: inset;
}
.client-js .mw-edittools-section {
display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
font-size: 0.9em;
margin-left: 1px;
padding-left: 1px;
padding-right: 1px;
}
/* ms@forty-four.de: Tab-Reiter ausgeblendet */
/* li#ca-viewsource,li#ca-history,li#ca-talk{display:none;} */
/*
body.page-Main_Page.action-view table{
display: none;
}
*/