Zuletzt bearbeitet vor 3 Monaten
von Margit Link-Rodrigue

Vorlage:Hinweisbox/styles.css und AutoDoc:SectionAnchors: Unterschied zwischen den Seiten

(Unterschied zwischen Seiten)
Keine Bearbeitungszusammenfassung
 
hw>Unknown user
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
/* Infoboxes */
==DescriptionMsg==
.hw-messagebox {
{{AutoDocDescriptionMsg
padding: 14px;
|name = SectionAnchors
margin: 2em 0 1em 0;
|desc = {{int:sectionanchors-desc
display: block;
}}
position:relative;
}}
clear:both;
==License==
}
{{AutoDocLicense
.hw-messagebox.icon {
|name = GPL-3.0-only
padding-left: 35px;
}}
}
==Requirements==
.hw-messagebox.icon::before {
{{AutoDocRequirements
position: absolute;
|mediawiki = {{AutoDocVersion
font-size: 1.6em;
|name = MediaWiki
top: 8px;
|version = 1.39.0
font-family: "fontawesome";
}}
left:8px;
}}
}
==Hooks==
.hw-messagebox p {
{{AutoDocHooks
margin:0
|Hooks = {{AutoDocCallback
}
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
.notification-note, .notification-Hinweis {
|callback = SectionAnchorsHooks
border-left: solid 4px #3498db;
}}
background:#d9edf7;
}}
}


.notification-bsversion {
border-left: solid 4px #b0cbf4;
background:#d8e8fd
}
.notification-bsversion.old {
border-left: solid 4px #f8c57f;
background:#fdeed9
}
.notification-bsversion.icon::before{
content: "\f069";
color: #f8c57f
}
.boxlabel {
font-weight:bold;
padding-right:0.5em;
}
.notification-note.icon::before, .notification-Hinweis.icon::before{
content: "\f05a ";
color: #3498db;
}
.notification-tip,.notification-Tipp {
border-left: solid 4px #f2c412;
background:#FFF5C9;
}
.notification-tip.icon::before, .notification-Tipp.icon::before{
content: "\f0eb";
color: #dbb213;
font-size: 1.7em;
margin-left: 5px;
}
.notification-warning, .notification-Warnung  {
border-left: solid 4px #c23c2b;
background: #f2dede
}
.notification-warning.icon::before, .notification-Warnung.icon::before{
content: "\f071";
color: #c23c2b;
}
.notification-important, .notification-Wichtig {
border-left: solid 4px #ffa406;
background: #fedb9c;
margin-left: 2px;
}
.notification-important.icon::before, .notification-Wichtig.icon::before{
content: "\f06a";
color: #ffa406;
}
.notification-example, .notification-Beispiel {
border-left: solid 4px #00b241;
background: #dff0d8;
}
.notification-example.icon::before, .notification-Beispiel.icon::before{
content: "\f0a4";
color: #00b241;
}
.notification-neutral, .notification-Neutral {
background:#f1f3f9;
padding:14px;
}
.notification-neutral.icon, .notification-Neutral.icon {
text-indent:0;
}
.notification-neutral.icon::before, .notification-Neutral.icon::before{
content: "\f0a9 ";
color: #555;
left: 10px;
top: 8px;
}
.notification-neutral .boxlabel, .notification-Neutral .boxlabel {
display:none;
}

Version vom 22. Juni 2023, 12:49 Uhr

DescriptionMsg

Fügt einen Link zur Überschrift hinzu

License

GPL v3

Requirements

  • MediaWiki: 1.39.0

Hooks

Hooks

Keine Kategorien vergebenBearbeiten

Diskussionen