„MediaWiki:Common.css” változatai közötti eltérés

A Wikikönyvekből, a szabad elektronikus könyvtárból.
Tartalom törölve Tartalom hozzáadva
további nem használt szabályok ki
plainlist migrálva sablonba, a <code> háttérszíne alapból be van állítva
 
2. sor: 2. sor:


/*
/*
=== Vízszintes (hlist) és listajel nélküli (plainlist) listák ===
=== Vízszintes listák (hlist) ===
*/
*/
/* Style for horizontal lists (separator following item) */
/* Style for horizontal lists (separator following item) */
53. sor: 53. sor:
content: ")";
content: ")";
font-weight: normal;
font-weight: normal;
}

/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
}


69. sor: 59. sor:
*/
*/
code {
code {
background-color: #f8f9fa;
font-size: 110%;
font-size: 110%;
}
}

A lap jelenlegi, 2020. augusztus 27., 19:51-kori változata

/* Közös CSS az összes felületnek */

/* 
=== Vízszintes listák (hlist) ===
*/
/* Style for horizontal lists (separator following item) */
/* Forrás: w:en:MediaWiki:Common.css */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li { 
    display: inline;
    margin: 0;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
    display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* Add parens around nested lists */
.hlist dl dl dd:first-child:before,
.hlist ol ol li:first-child:before,
.hlist ul ul li:first-child:before {
    content: "(";
}
.hlist dl dl dd:last-child:after,
.hlist ol ol li:last-child:after,
.hlist ul ul li:last-child:after {
    content: ")";
    font-weight: normal;
}

/*
=== Code tag ===
*/ 
code {
	font-size: 110%;
}

/*
=== Sablonstílusok ===
*/

.infobox {
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	margin-bottom: 0.5em;
	margin-left: 1em; 
	padding: .2em;
	float: right;
	clear: right;
}
.infobox tr {
	vertical-align: top;
}
.infobox caption {
	margin-left: inherit;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
	border: 1px solid #a2a9b1;
}
.infobox.sisterproject {
	width: 22em;
}

/* keretes szövegek */
.keret,
.keretjobb,
.keretbal {
	background: #cccccc;
	width: 33%;
	border: 4px groove gray;
	padding: 1em;
	margin: 1em;
	font-size: smaller;
}
.keretjobb {
	float: right;
}
.keretbal {
	float: left;
}