MediaWiki:Common.css
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
/* Közös CSS az összes felszínnek */
/*
* Kezdőlap
*/
.hatterkep {
background: url('//upload.wikimedia.org/wikipedia/commons/9/94/Wikin_header5.jpg') 35% 50% no-repeat !important;
}
/*
* Táblázatok
*/
table.prettytable {
border-collapse: collapse;
background: #f9f9f9;
margin-left: 10px;
margin-right: 10px;
margin-top: 5px;
margin-bottom: 5px;
padding: 5px;
vertical-align: top;
text-align: left;
}
table.prettytable td,
table.prettytable th {
border: 1px solid #ccc;
}
table.prettytable th {
background: #efefef;
font-weight: bold;
text-align: center;
}
table.prettytable table td,
table.prettytable table th {
border: 0px none #fff;
}
table.prettytable table.prettytable td,
table.prettytable table.prettytable th {
border: 1px solid #ccc;
}
/*
* Alternatív verzió
*/
table.wikitable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
}
table.collapsible {
overflow: hidden;
}
/*
* Sablonstílusok
*/
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
width: 85%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
}
.messagebox.merge {
border: 1px solid #cf9fff;
background-color: #f5edf5;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 4px 2px 4px;
}
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
margin-bottom: 0.5em;
margin-left: 1em;
padding: .2em;
float: right;
clear: right;
text-align: left;
}
.infobox tr {
vertical-align: top;
}
.infobox caption {
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.sisterproject {
width: 22em;
}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
#spoiler {
border-top: 2px solid #ddd;
border-bottom:2px solid #ddd;
}
.Talk-Notice {
border: 1px solid #C0C090;
background-color: #F8EABA;
margin-bottom: 3px;
width: 85%;
border-spacing: 3px;
margin-left: auto;
margin-right: auto;
}
.Talk-Notice td {
background: inherit;
}
#mw-recreate-deleted-warn {
background: lightGoldenRodYellow;
border: 2px solid red;
}
/*
* Ambox
*/
table.ambox {
margin: 0 10%; /* Will not overlap with other elements */
border-collapse: collapse;
background: #fbfbfb;
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
width: 100%; /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image { /* The left image cell */
padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */
text-align: center;
}
table.ambox td.ambox-imageright { /* The right image cell */
padding: 2px 4px 2px 0px; /* 0px left, 4px right */
text-align: center;
}
* html table.ambox td.ambox-image {
height: 1%;
}
*:first-child+html table.ambox td.ambox-image {
height: 1%;
}
div.ambox-image-inner {
width: 52px;
}
table.ambox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.ambox-delete,
table.ambox-serious {
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
border-left: 10px solid #f4c430; /* Yellow */
}
table.ambox-merge {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-growth {
border-left: 10px solid #228b22; /* Forest green */
}
table.ambox-protection {
border-left: 10px solid #bba; /* Gray */
}
table.ambox-mini { /* small floating box variant */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
/*
* Multimédiasablon-stílusok
*/
.audiolink a{
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
div.listenlist {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
padding-left: 40px;
}
div.videolist, div.multivideolist {
background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
padding-left: 50px;
}
div.medialist {
min-height: 50px;
margin: 1em;
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
/*
* rquote sablon
*/
table.rquote {
font-family: Garamond, "Adobe Garamond Pro", "GaramondPremrPro", "ITC Garamond Std Book", "Stempel Garamond LT Pro", AGaramond, Galliard, serif;
font-style: italic;
font-size: 135%;
line-height: 135%;
background-color: inherit;
border-collapse: collapse;
border-style: none;
}
.rquote .forras {font-family: Verdana sans-serif;}
table.rquote i {
font-style: normal;
}
table.rquote p.forras {
line-height: 1em;
text-align: right;
font-style: normal;
font-size: 76%;
}
table.rquote p.forras i {
font-style: normal;
}
table.floatleft, table.floatright {
margin: .5em .75em;
}
table.floatcenter {
margin: .5em auto;
}
== Nyomtatási kép ==
<source lang="css">*/
/* A nyomtatási kinézetből eltávolítja a felesleges feliratokat
(Adatvédelmi nyilatkozat, A wikipédiáról, Jogi nyilatkozat, [szerkesztés] linkek + egyes sablonok).
Ezeknek a kinyomtatott lapon nincs értelmük (nem linkek) */
@media print {
#privacy, #about, #disclaimer {display:none;}
.editlink, .noprint, .metadata, .dablink { display: none }
}
/*</source>
== Friss változtatásoknál a betűszámláló betűi ==
<source lang="css">
*/
/*****
** Bytecounter colours
*****/
strong.mw-plusminus-neg
{
color: #c00;
}
span.mw-plusminus-neg
{
color: #900;
}
span.mw-plusminus-pos
{
color: #060;
}
/*
* Lábjegyzetek
*/
ol.references {
font-size: 85%;
column-count: 2;
-moz-column-count:2;
-webkit-column-count: 2;
column-gap: 3em;
-moz-column-gap: 3em;
-webkit-column-gap: 3em;
}
ol.references > li {
-webkit-column-break-inside: avoid;
}
.ref-1col ol.references {
column-count: 1;
-moz-column-count:1;
-webkit-column-count: 1;
}
/* Kijelölt hivatkozásnak kék háttér */
ol.references li:target {
background-color: #DEF;
}
sup.reference:target {
background-color: #DEF;
}
/* Felső indexek relatív pozicionálása, hogy ne növeljék meg a sorközt */
sup.reference {
vertical-align: baseline;
position: relative;
bottom: 1ex;
}
/*
* Átirányítás listában dőlt betűs
*/
.redirect-in-category, .allpagesredirect {
font-style:italic;
}
/*
* Edittools gombok
*/
#specialchars a {
color: black;
background-color: #ccddee !important;
text-decoration: none;
border: thin #006699 outset;
padding: 0.1em;
}
#specialchars a:hover, .my-buttons a:active {
background-color: #bbccdd;
border-style: inset;
}
#specialchars a, #editpage-specialchars a { text-decoration: none; }
#specialchars a:hover, #editpage-specialchars a:hover { text-decoration: underline; }
/*
* Külső linkek ikonjai
*/
#bodyContent a.external[href$=".pdf"],
#bodyContent a.external[href*=".pdf?"],
#bodyContent a.external[href*=".pdf#"],
#bodyContent a.external[href$=".PDF"],
#bodyContent a.external[href*=".PDF?"],
#bodyContent a.external[href*=".PDF#"] {
background:transparent url('//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif') no-repeat scroll right center;
padding-right:16px;
}
/*
* Nyilacska nélküli külső linkek
*/
.plainlinksneverexpand {
background: none ! important;
padding: 0 ! important;
}
.plainlinksneverexpand .urlexpansion {
display : none ! important;
}
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important
}
.plainlinksneverexpand a.external.text:after {
display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
display: none !important;
}
.nincslinkikon {
background: none ! important;
padding: 0 ! important;
}
.nincslinkikon a {
background: none ! important;
padding: 0 ! important;
}
.nincslinkikon .urlexpansion {
display : none ! important;
}
.nincslinkikon a.external.autonumber:after {
display: none !important
}
/* try adding here, this had no effect in [[MediaWiki:Common.css]] */
.plainlinksneverexpand a.external.text:after {
display: none !important
}
/*
* Járőrjelzések
*/
li.not-patrolled {
background: none;
border-left: 2px solid red;
padding-left: 5px;
/* list-style-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/8/84/Important-3.svg/5px-Important-3.svg.png'); */
}
/*
* Navigáció
*/
/* A kinyit-becsuk mechanizmus része, a többi a common.js-ben található */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefef;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-weight:normal;
font-size:smaller;
}
.NavLeft div.NavFrame div.NavHead {
padding-left: 4em;
}
.NavLeft a.NavToggle {
right:auto;
left:3px;
}
/*
* Keretes szövegek
*/
/* keretes szovegek, div class="keretjobb" ... */
div.keretjobb {
float:right;
background: #cccccc;
width: 33%;
border: 5px groove gray;
padding: 1em;
margin: 1em;
font-size: smaller;
}
div.keretbal {
float:left;
background: #cccccc;
width: 33%;
border: 5px groove gray;
padding: 1em;
margin: 1em;
font-size: smaller;
}
/*
* Tartalomjegyzék
*/
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
/*
* Bugfixek
*/
/* floatoknak feher kerete van, ettol a transparent szetcsuszik */
div.floatright, table.floatright {
clear: right;
float: right;
margin: 0.5em 0 0.8em 1.4em;
position: relative;
border-width: 0;
}
div.floatleft, table.floatleft {
float: left;
margin: 0.3em 0.5em 0.5em 0;
position: relative;
border-width: 0;
}
/* RTL usernevek ne zavarják össze az RC és egyéb listákat */
span.changedby, span.comment {
unicode-bidi:embed;
}
/* Ne folyjon ki a keretből a hosszú sor (helyette vízszintes scrollbar). Gecko-s böngészőkben. */
pre { overflow: auto; }
/* becsukható táblázatok nem működnek, ha overflow:auto van bennük */
.row-collapsed pre { overflow: hidden; background-color: transparent; }
/* Ne legyen kihagyott hely a Special:Allpages listájában szereplő cikkcímek
és az elválasztó között (https://bugzilla.wikimedia.org/show_bug.cgi?id=5565) */
table.allpageslist {border-collapse: collapse; border-spacing: 0}
table.allpageslist td {padding: 0}
/*
* IE Unicode bugfixek
*/
.IPA { /* IE only ( http://www.ibloomstudios.com/articles/the_ie7_css_hack/ ) */
font-family: "Chrysanthi Unicode", "Doulos SIL", Gentium, GentiumAlt, Code2000, "TITUS Cyberbit Basic", "DejaVu Sans", "Bitstream Cyberbit", "Arial Unicode MS", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro", "Matrix Unicode";
}
.IPA:lang(en) {
font-family: inherit;
}
.IPA:empty { /* Safari */
font-family: inherit;
}
.polytonic {
font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
font-family /**/:inherit;
}
/*
* Sitenotice fix
*/
#mw-dismissable-notice td:first-child {width:95%;}
#mw-dismissable-notice td:last-child {width:5%;}
* html #mw-dismissable-notice td {width:95%;}
/* </source>
== [[Wikihírek:CommonsTicker|CommonsTicker]] stílus ==
<source lang="css"> */
/* links */
.tickerDiffLink { } /* diff links in ticker */
.tickerMiscLink { } /* misc links in ticker */
/* remove list bullets */
.tickerList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; }
.tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; }
/* per-type styles */
.tickerEntry_deleted { } /* entry for image deletion */
.tickerEntry_restored { } /* entry for restored image */
.tickerEntry_replaced { } /* entry for image replacement */
.tickerEntry_tagged { } /* entry for adding/removing problem tags */
.tickerEntry_redir { } /* entry for critical redirection (fot tag redirects) */
.tickerEntry_recat { } /* entry for critical re-categorization (for tag categories) */
.tickerEntry_notify { } /* entry for global notifications */
.tickerEntry_changed { } /* entry for generic change */
/* per-status styles */
.tickerStatus_done { text-decoration:line-through; } /* strike through when entry has been handeled */
.tickerStatus_megoldva { text-decoration:line-through; } /* strike through when entry has been handeled */
/* per-action styles */
.tickerAction_deleted:before { content:" TÖRL "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_restored:before { content:" VISSZA "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_deletedRev:before { content:" -RÉGI "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_replaced:before { content:" CSERE "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_replacedOwn:before { content:" FRISS "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedBad:before { content:" +SzT "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedBad:before { content:" -SzT "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedGood:before { content:" +OK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedGood:before { content:" -OK "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
/* ticker usage list */
.tickerUsage { font-size:80%; }
/* entry applies to a template used by multiple images */
.tickerTemplateEntry { font-weight: bold; }
/* entry applies to sub-entries, i.e. images that use a specific template */
.tickerSubEntry { }
/* minor entry styles */
.tickerMinorEntry { color:#666; } /* minor entry */
.tickerMinorEntry a,
.tickerMinorEntry a:link,
.tickerMinorEntry a:visited { color:#669; }
#bodyContent .tickerMinorEntry a.extiw,
#bodyContent .tickerMinorEntry a.extiw:link,
#bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }
/*
/*rss icon. see [[en:template talk:latest news]] */
*.rss {
color: #FFFFFF; background-color: #FF5500; background-image: none !important; border-color: #FF5500; border-style: outset; text-decoration: none !important; padding-left: 0.2em; padding-right: 0.2em; border-width: 0.15em; font-size: 95%; line-height: 95%; font-family: verdana, sans-serif; font-weight: bold;
}
/*kill auto-underline in opera (hopefully) make cool hover effect. possibly change to :active for hover effect. [[user:bawolff|Bawolff]] ☺☻[[image:smile.png]] 04:59, 1 January 2006 (UTC). removed no underline, as Amgine didn't like it. [[user:bawolff|Bawolff]] ☺☻[[image:smile.png]] 05:04, 1 January 2006 (UTC) */
*.rss:hover {border-style:inset;
}
</source>
/*Ticker2 (animated ticker)*/
ul.actualTicker li {list-style-type:none; list-style-image:none;}/*mostly for IE*/
ul.actualTicker li {display:inline;}
ul.actualTicker span.tickerIntroduction {font-weight:bold;padding-right:0.5em;}
div.isATicker, div#singleTickerForPage {display:none;}