MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Phoenix-Larp Wiki

Keine Bearbeitungszusammenfassung
Warnbox-Styling unter dem Quelltextfeld + Icon-Styling für VisualEditor-Symbol
 
(72 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Die Phoenix-spezifischen Anpassungen (.phoenix-hero, Portal-Kacheln, Religions-Karten, Länderkarten-Marker, Infoboxen, mobiles Burger-Menü, Chip-Navigation, TOC-Tiefe, Chip-Design für Benutzer-/Aktionsmenü usw.) wurden in den PhoenixSkin-Fork übernommen (resources/phoenix-custom.less) und hier entfernt, da PhoenixSkin seit 2026-09-08 der Standard-Skin des Wikis ist. */


#p-personal {
/* Hinweis-Box (Quelltext-Editor) und Symbol (VisualEditor) für den
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="12" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"/></svg>');
  Redaktionsleitfaden im Bearbeiten-Modus (Inhalt wird per Common.js
    background-position: top right;
  eingefuegt). Bewusst hier in Common.css statt im Skin hinterlegt,
    background-repeat: no-repeat;
  damit Farbe/Text direkt im Wiki angepasst werden koennen, ohne den
    padding-right: 20px;
  Skin anzufassen. */
#phoenix-editnotice-leitfaden {
display: flex;
align-items: flex-start;
gap: 0.5em;
margin: 0.8em 0 0;
padding: 0.7em 1em;
background: #fdf2d9;
border: 2px solid #b8860b;
border-left: 6px solid #b8860b;
border-radius: 2px;
color: #443a2a;
font-size: 0.95em;
}
}
 
#phoenix-editnotice-leitfaden .phoenix-editnotice-icon {
#footer {
flex: 0 0 auto;
z-index: auto;
font-size: 1.4em;
height: 120px;
line-height: 1.2;
color: #b8860b;
}
}
 
#phoenix-editnotice-leitfaden .phoenix-editnotice-text {
.mw-body-content img {
flex: 1 1 auto;
max-width: 100%;
height: auto;
}
}
 
#phoenix-editnotice-leitfaden a {
@media screen and (min-width: 751px) {
font-weight: bold;
#column-navigation {
width: 13em;
}
}
}


@media screen and (max-width: 960px) {
#phoenix-ve-editnotice-icon {
a#p-banner {
display: inline-flex;
margin-left: 0;
align-items: center;
min-width: 300px;
justify-content: center;
}
align-self: center;
 
width: 2.86em;
#p-search {
height: 2.86em;
padding: 0 0 0.5rem 0;
margin: 0 0.2em;
width: 100%;
color: #b8860b;
display: flex;
font-size: 1.1em;
position: relative;
text-decoration: none;
top: inherit;
cursor: pointer;
right: inherit;
}
 
#searchInput {
flex: 15em 1 1;
}
 
#searchGoButton {
flex: 1.5rem 0 0;
margin: 0 10px;
}
}
 
@media screen and (max-width: 1024px) {
#page-tools {
display: flex;
flex-wrap: wrap;
line-height: 1.2rem;
}
}
}
 
#phoenix-ve-editnotice-icon:hover {
@media screen {
color: #8a6508;
  #p-search input {
    background-color: rgba(255,255,255,0.8);
    border: none;
    margin-right: 10px;
    border-radius: 10px;
  }
}
}

Aktuelle Version vom 9. September 2026, 05:33 Uhr

/* Die Phoenix-spezifischen Anpassungen (.phoenix-hero, Portal-Kacheln, Religions-Karten, Länderkarten-Marker, Infoboxen, mobiles Burger-Menü, Chip-Navigation, TOC-Tiefe, Chip-Design für Benutzer-/Aktionsmenü usw.) wurden in den PhoenixSkin-Fork übernommen (resources/phoenix-custom.less) und hier entfernt, da PhoenixSkin seit 2026-09-08 der Standard-Skin des Wikis ist. */

/* Hinweis-Box (Quelltext-Editor) und Symbol (VisualEditor) für den
   Redaktionsleitfaden im Bearbeiten-Modus (Inhalt wird per Common.js
   eingefuegt). Bewusst hier in Common.css statt im Skin hinterlegt,
   damit Farbe/Text direkt im Wiki angepasst werden koennen, ohne den
   Skin anzufassen. */
#phoenix-editnotice-leitfaden {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	margin: 0.8em 0 0;
	padding: 0.7em 1em;
	background: #fdf2d9;
	border: 2px solid #b8860b;
	border-left: 6px solid #b8860b;
	border-radius: 2px;
	color: #443a2a;
	font-size: 0.95em;
}
#phoenix-editnotice-leitfaden .phoenix-editnotice-icon {
	flex: 0 0 auto;
	font-size: 1.4em;
	line-height: 1.2;
	color: #b8860b;
}
#phoenix-editnotice-leitfaden .phoenix-editnotice-text {
	flex: 1 1 auto;
}
#phoenix-editnotice-leitfaden a {
	font-weight: bold;
}

#phoenix-ve-editnotice-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 2.86em;
	height: 2.86em;
	margin: 0 0.2em;
	color: #b8860b;
	font-size: 1.1em;
	text-decoration: none;
	cursor: pointer;
}
#phoenix-ve-editnotice-icon:hover {
	color: #8a6508;
}