MediaWiki:Common.css

A Wikiforrásból

Megjegyzés: közzététel után frissítened kell a böngésződ gyorsítótárát, hogy lásd a változásokat.

  • Firefox / Safari: tartsd lenyomva a Shift gombot és kattints a Frissítés gombra a címsorban, vagy használd a Ctrl–F5 vagy Ctrl–R (Macen ⌘–R) billentyűkombinációt
  • Google Chrome: használd a Ctrl–Shift–R (Macen ⌘–Shift–R) billentyűkombinációt
  • Internet Explorer / Edge: tartsd nyomva a Ctrl-t, és kattints a Frissítés gombra, vagy nyomj Ctrl–F5-öt
  • Opera: Nyomj Ctrl–F5-öt
/* Style for horizontal lists (separator following item) */
/* Forrás: 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;
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
	counter-increment: level1;
}
.hlist.hnum ol li:before {
	content: counter(level1) " ";
}
.hlist.hnum ol ol li {
	counter-increment: level2;
}
.hlist.hnum ol ol li:first-child:before {
	content: "(" counter(level2) " ";
}
.hlist.hnum ol ol li:before {
	content: counter(level2) " ";
}

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

/* Közös CSS az összes felületnek */
/*
=== Táblázatok ===
   let's make a class that deals with tables better 
   Any complaints, please message Ta bu shi da yu */

table.prettytable { 
	border-collapse: collapse;
	background-color: #f9f9f9;
	margin: 5px 10px;
	padding: 5px;
	vertical-align: top;
	text-align: left;
} 

table.prettytable td,
table.prettytable th { 
	border: 1px solid #ccc; 
}

table.prettytable th {
	background-color: #efefef;
	font-weight: bold;
	text-align: center;
}

/* Alternate version of pretty table styling class.  We'll remove the extra when we're done deciding all this. */

table.wikitable {
	margin: 1em 1em 1em 0;
}
table.wikitable th, table.wikitable td {
	padding: 0.2em;
}
table.wikitable caption {
	margin-left: inherit;
	margin-right: inherit;
}

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

/* Merge template style */

.messagebox {
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	width: 85%;
	margin: 0 auto 1em auto;
	padding: .2em;
	text-align: justify;
}

.messagebox.standard-talk {
	border-color: #c0c090;
	background-color: #f8eaba;
}

.infobox {
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	margin-bottom: 0.5em;
	margin-left: 1em; 
	padding: .2em;
	float: right;
	clear: right;
}
.infobox tr {
	vertical-align: top;
}
.infobox caption {
	margin-left: inherit;
}

/*********
** Page namespace
*********/
/* Sorkizárt */
body.ns-104 {
	text-align:justify;
}

/* Bekezdésjelzők (¶) */
/* [[Fájl:Paragraph-mark.svg]] */
body.ns-104 div.pagetext > p,
body.ns-104 div.pagetext > div.mw-parser-output > p {
	background: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/6px-Paragraph-mark.svg.png) 0 .3em no-repeat;
	margin-left: -10px;
	padding-left: 10px;
}

/* Quality */
.quality4 {
	background-color:#7CFC00;
}
.quality3 {
	background-color:#FF8C00;
}
.quality2 {
	background-color:#4B0082;
}
.quality1 {
	background-color:#F0E68C;
}