MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus k4cg.org
Noqqe (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: →remove Toolbox: #p-tb { display:none !important; }“) |
Poschi (Diskussion | Beiträge) (Seitenspezifisches CSS für Seiten die es nicht gibt entfernt) |
||
| (4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* | .PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; } | ||
/* remove | |||
# | .archive-box { | ||
border: 1px solid #aaaaff; | |||
background-color: #f2f2f9; | |||
color: black; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
text-align: center; | |||
} | |||
/* Add arrows to toggle-blocks for collapsible elements */ | |||
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded { | |||
padding-left: 20px !important; | |||
background-image: url('//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png'); | |||
background-repeat: no-repeat; | |||
background-position: center left; | |||
} | |||
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed { | |||
padding-left: 20px !important; | |||
background-image: url('//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png'); | |||
background-repeat: no-repeat; | |||
background-position: center left; | |||
} | |||
/* Fix the background color on the sitenotice */ | |||
table#mw-dismissable-notice { background-color: transparent; } | |||
/* For template documentation */ | |||
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff; background-color:#eef5ff; padding:1em; } | |||
/* Remove default styles for [[MediaWiki:Noarticletext]]. */ | |||
div.noarticletext { border:none; background:transparent; padding:0px; } | |||
/* Selectively hide headers in WikiProject banners */ | |||
.wpb .wpb-header { display: none; } | |||
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */ | |||
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */ | |||
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */ | |||
.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; } | |||
/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */ | |||
#mw-fr-commentbox { display:none; } | |||
/* User block messages */ | |||
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; } | |||
/* Keep menus in toolbox from growing too long */ | |||
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; } | |||
/* Show only when printing */ | |||
@media screen, projection, handheld { | |||
.printonly { display: none !important; } | |||
} | |||
/* Disable the automatic text-size adjust of WebKit on iPhones etc. | |||
It scales some text, and not the other. Use none, or fixed percentage instead. | |||
Use media selector, because defining a value, overwrites platform defaults. */ | |||
@media only screen and (max-device-width: 480px) { | |||
body { | |||
-webkit-text-size-adjust: none; | |||
} | |||
} | |||
/* Re-bold-en minor and bot edits in contributions, history, recent changes */ | |||
abbr.minoredit, abbr.botedit { | |||
font-weight: bold; | |||
} | |||
#catlinks li { | |||
padding:0 .3em; | |||
margin:0; | |||
} | |||
#catlinks li:first-child { | |||
padding-left:0; | |||
} | |||
/* Category tree */ | |||
#mw-subcategories ul { | |||
list-style: none none; | |||
margin-left: 0.25em; | |||
} | |||
.CategoryTreeChildren { | |||
margin-left: 1.25em; | |||
} | |||
/* To color the "updated since my last visit" in the history */ | |||
span.updatedmarker { | |||
color: #000; | |||
background: #99D642; | |||
} | |||
/* Geographical coordinates defaults. See [[Template:Coord/link]] | |||
for how these are used. The classes "geo", "longitude", and | |||
"latitude" are used by the [[w:Geo microformat]]. | |||
*/ | |||
.geo-default, .geo-dms, .geo-dec { display: inline; } | |||
.geo-nondefault, .geo-multi-punct { display: none; } | |||
.longitude, .latitude { white-space: nowrap; } | |||
.nobuttons input.searchboxSearchButton, | |||
.nobuttons input.mw-ui-button { | |||
display:none; | |||
} | |||
.infobox { | |||
width:22em; | |||
font-size:90%; | |||
margin-left:1em; | |||
margin-bottom:1em; | |||
float:right; | |||
} | |||
.infobox th { | |||
background-color:#729FCF; | |||
color:white; | |||
border-bottom:none; | |||
text-align:center; | |||
padding: 1ex 0.6ex; | |||
font-size:110%; | |||
} | |||
.infobox td { | |||
width:50%; | |||
border-width: 0 1px; | |||
border-right:0; | |||
padding-left:1em; | |||
} | |||
.clearfix::before, | |||
.clearfix::after { | |||
content: " "; | |||
display: table; | |||
} | |||
.clearfix::after { | |||
clear: both; | |||
} | |||
.clearfix { | |||
*zoom: 1; /* Für den IE6 und IE7 */ | |||
} | |||
@media (max-width: 899px) { | |||
#mp-left, #mp-right { | |||
width:100%; | |||
} | |||
} | |||
Aktuelle Version vom 1. Februar 2025, 19:47 Uhr
.PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; }
.archive-box {
border: 1px solid #aaaaff;
background-color: #f2f2f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
padding-left: 20px !important;
background-image: url('//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
background-repeat: no-repeat;
background-position: center left;
}
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed {
padding-left: 20px !important;
background-image: url('//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
background-repeat: no-repeat;
background-position: center left;
}
/* Fix the background color on the sitenotice */
table#mw-dismissable-notice { background-color: transparent; }
/* For template documentation */
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff; background-color:#eef5ff; padding:1em; }
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext { border:none; background:transparent; padding:0px; }
/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }
/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }
/* User block messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; }
/* Keep menus in toolbox from growing too long */
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; }
/* Show only when printing */
@media screen, projection, handheld {
.printonly { display: none !important; }
}
/* Disable the automatic text-size adjust of WebKit on iPhones etc.
It scales some text, and not the other. Use none, or fixed percentage instead.
Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
body {
-webkit-text-size-adjust: none;
}
}
/* Re-bold-en minor and bot edits in contributions, history, recent changes */
abbr.minoredit, abbr.botedit {
font-weight: bold;
}
#catlinks li {
padding:0 .3em;
margin:0;
}
#catlinks li:first-child {
padding-left:0;
}
/* Category tree */
#mw-subcategories ul {
list-style: none none;
margin-left: 0.25em;
}
.CategoryTreeChildren {
margin-left: 1.25em;
}
/* To color the "updated since my last visit" in the history */
span.updatedmarker {
color: #000;
background: #99D642;
}
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[w:Geo microformat]].
*/
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
.nobuttons input.searchboxSearchButton,
.nobuttons input.mw-ui-button {
display:none;
}
.infobox {
width:22em;
font-size:90%;
margin-left:1em;
margin-bottom:1em;
float:right;
}
.infobox th {
background-color:#729FCF;
color:white;
border-bottom:none;
text-align:center;
padding: 1ex 0.6ex;
font-size:110%;
}
.infobox td {
width:50%;
border-width: 0 1px;
border-right:0;
padding-left:1em;
}
.clearfix::before,
.clearfix::after {
content: " ";
display: table;
}
.clearfix::after {
clear: both;
}
.clearfix {
*zoom: 1; /* Für den IE6 und IE7 */
}
@media (max-width: 899px) {
#mp-left, #mp-right {
width:100%;
}
}