MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Unterrichtsmaterial
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wiki…“)
 
 
(21 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
 
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Standard Navigationsleisten, aka box hiding thingy
+
.infobox {
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
+
    background: white;
div.NavFrame {
+
    border: 1px solid #aaa;
margin: 0;
+
    float: right;
padding: 4px;
+
    margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
+
    padding: 0;
text-align: center;
+
    width: 300px;
border-collapse: collapse;
+
    position: sticky;
font-size: 95%;
 
 
}
 
}
div.NavFrame + div.NavFrame {
+
.infobox-title {
border-top-style: none;
+
    font-size: 2em;
border-top-style: hidden;
+
    text-align: center;
 +
    background: #f0f0f0;
 +
    padding: none;
 
}
 
}
div.NavPic {
+
.infobox-image {
background-color: #fff;
+
    text-align: center;
margin: 0;
 
padding: 2px;
 
/* @noflip */
 
float: left;
 
 
}
 
}
div.NavFrame div.NavHead {
+
.infobox th {
line-height: 1.6em;
+
    text-align: left;
font-weight: bold;
+
    vertical-align: top;
background-color: #ccf;
+
    width: 120px;
position: relative;
 
 
}
 
}
div.NavFrame p,
+
.infobox td {
div.NavFrame div.NavContent,
+
    vertical-align: top;
div.NavFrame div.NavContent p {
 
font-size: 100%;
 
 
}
 
}
div.NavEnd {
+
 
margin: 0;
+
.mw-highlight::before {
padding: 0;
+
content: "Sourcecode";
line-height: 1px;
+
font-size: larger;
clear: both;
 
 
}
 
}
a.NavToggle {
+
 
position: absolute;
+
#p-search {
top: 0;
+
margin-left: 15em;
/* @noflip */
 
right: 3px;
 
font-weight: normal;
 
font-size: 90%;
 
 
}
 
}
 
+
#personal h2 span {
.client-js .NavFrame.collapsed > .NavContent {
+
height: 1.25em;
display: none;
+
}
 +
.test {
 +
color: red;
 +
}
 +
/* LESS
 +
.mw-highlight {
 +
.mw-collapsible;
 
}
 
}
 +
*/

Aktuelle Version vom 17. Februar 2021, 16:08 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.infobox {
    background: white;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0;
    width: 300px;
    position: sticky;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    background: #f0f0f0;
    padding: none;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

.mw-highlight::before {
	content: "Sourcecode";
	font-size: larger;
}

#p-search {
	margin-left: 15em;
}
#personal h2 span {
	height: 1.25em;
}
.test {
	color: red;
}
/* LESS 
.mw-highlight {
	.mw-collapsible;
}
*/