MediaWiki:Common.css: razlika između inačica
Izgled
Izbrisani sadržaj Dodani sadržaj
test2 |
hvala suradniku koji me podsjetio na Badnjak! |
||
Redak 1: | Redak 1: | ||
/*<pre>*/ |
/*<pre>*/ |
||
#p-logo a { background: url(http://upload.wikimedia.org/wikipedia/commons/5/5a/Wikipedia-logo-hr-bozic.png) 35% 50% no-repeat !important; } |
|||
/* */ |
/* */ |
Inačica od 24. prosinac 2012. u 14:52
/*<pre>*/
#p-logo a { background: url(http://upload.wikimedia.org/wikipedia/commons/5/5a/Wikipedia-logo-hr-bozic.png) 35% 50% no-repeat !important; }
/* */
.page-Glavna_stranica #ca-nstab-main a {
content:"Glavna stranica";
}
#glavnastranicazaglavlje { background-image: url(//upload.wikimedia.org/wikipedia/commons/3/3e/MP-open-book4.png); }
#glavnastranicazaglavlje2 { background-image: url(//upload.wikimedia.org/wikipedia/hr/5/5d/Podloga-%C5%A1ah.png); }
#glavnastranicazaglavlje3 { background-image: url(//upload.wikimedia.org/wikipedia/hr/c/cc/Slika_za_GS_.png); }
#glavnastranicapodnaslov { background-image: url(//upload.wikimedia.org/wikipedia/commons/1/1b/Wikibar2.png); }
/* */
.page-Glavna_stranica h1 {
display:none
}
/* */
.page-Glavna_stranica h2 {
font: 140% Verdana, Arial, Helvetica, sans-serif; font-weight:bold;
padding:5px; margin: 0;
border-bottom:1px solid #AAAAAA;
}
/* css stiliziranje izvora */
/* podvučeno plavom, za lakše uočavanje jednog izvora kad ih je 10 tisuća */
ol.references li:target,
sup.reference:target,
span.citation:target {
background-color: #DEF;
}
/* izvori moraju biti normalni, umjesto nenormalni (tj. masni ili kosi) */
sup.reference {
font-weight: normal;
font-style: normal;
}
/* ako smo strgani, prikaži nas, NE */
span.brokenref {
display: none;
}
/* smanji malo font */
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Defaultna veličina */
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* ako je stil {{refbegin}}, normalno */
}
div.reflist ol.references {
font-size: 100%; /* ako se gnijezdimo (div.reflist), normalno */
list-style-type: inherit; /* Enable custom list style types */
}
/* wikitable/lijepa tablica */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
table.c1 td:nth-of-type(1) {
text-align: center;
}
table.c2 td:nth-of-type(2) {
text-align: center;
}
table.c3 td:nth-of-type(3) {
text-align: center;
}
table.c4 td:nth-of-type(4) {
text-align: center;
}
table.c5 td:nth-of-type(5) {
text-align: center;
}
/* stil predložaka za spajanje i dijeljenje */
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.merge {
border: 1px solid #cf9fff;
background-color: #f5edf5;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
/* stil infokvira */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* obavijesti */
.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;
}
/* metadata */
table.metadata {
border: 1px solid #aaaaaa;
display: none;
speak: none;
}
.metadata-label {
color: #aaaaaa;
}
/* Preusmjeravanje u kurzivu na [[Posebno:Allpages]] */
.allpagesredirect {
font-style: italic;
}
/* Predložak Polytonic */
.polytonic {
font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
font-family /**/:inherit;
}
/* Predložak IPA */
.IPA {
font-family: "Charis SIL", "Doulos SIL", Gentium, GentiumAlt, "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Lucida Sans Unicode", "Chrysanthi Unicode";
font-family /**/:inherit;
}
/* navigacijski okvir */
table.navbox {
border:1px solid #aaa;
width:100%;
margin:auto;
clear:both;
font-size:88%;
text-align:center;
padding:1px;
}
table.navbox + table.navbox {
margin-top:-1px;
}
.navbox-naslov, .navbox-iznadispod, table.navbox th {
text-align:center;
padding-left:1em;
padding-right:1em;
}
.navbox-grupa {
white-space:nowrap;
text-align:right;
font-weight:bold;
padding-left:1em;
padding-right:1em;
}
.navbox, .navbox-podgrupa {
background:#fdfdfd;
}
.navbox-popis {
border-color:#fdfdfd;
}
.navbox-naslov, table.navbox th {
background:#ccccff;
}
.navbox-iznadispod, .navbox-grupa, .navbox-podgrupa .navbox-naslov {
background:#ddddff;
}
.navbox-podgrupa .navbox-grupa, .navbox-podgrupa .navbox-iznadispod {
background:#e6e6ff;
}
.navbox-parni {
background:#f7f7f7;
}
.navbox-neparni {
background:transparent;
}
.collapseButton {
float: right;
font-weight: normal;
text-align: right;
width: auto;
}
.navbox .collapseButton {
width: 6em;
}
.navboxgeneric td, .navboxgeneric th{
border:1px solid #FFFFFF;
}
/* stari navigacijski okvir */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
clear:both;
}
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;
}
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;
}
/* specifični infokviri */
.infobox.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #aaa;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* zamjena standardne dokument ikonice za bijelu s crvenom Acrobat mašnicom za PDF dokumente */
/* (za web preglednike koji podržavaju CSS selectore, poput Firefoxa ili Opere) */
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
padding-right: 17px;
}
/* (za ostale web preglednike) */
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 17px !important;
}
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* Class for links with loudspeaker icon next to them.
([[Predložak:Audio]] - clickable speaker) */
.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;
}
/* Icons for medialist templates [[Predložak:Zvuk]], <!--[[Template:Multi-listen_start]],--> [[Predložak:Video]], <!--[[Template:Multi-video_start]]--> */
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;
}
/* Style rules for media list templates */
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;
}
/* Pseudo-classes in support of [[Template:lang]]. */
:lang(he) {
font-family: "SBL Hebrew", "Ezra SIL SR", "Ezra SIL", Cardo, "Chrysanthi Unicode", "TITUS Cyberbit Basic", "Arial Unicode MS", Narkisim, "Times New Roman";
font-family /**/:inherit;
}
:lang(fa) {
font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
font-family /**/:inherit;
}
:lang(ps) {
font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
font-family /**/:inherit;
}
:lang(ur) {
font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
font-family /**/:inherit;
}
:lang(sux-Xsux) {
font-family: Akkadian;
font-family /**/:inherit;
}
:lang(ja) {
font-family: Code2000, "Arial Unicode MS", "Bitstream Cyberbit", "Bitstream CyberCJK", IPAGothic, IPAPGothic, IPAUIGothic, "Kochi Gothic", IPAMincho, IPAPMincho;
font-family /**/:inherit;
}
:lang(ko) {
font-family: "Adobe Myungjo Std M", AppleMyungjo, "Baekmuk Batang", "Baekmuk Gulim", Batang, Dotum, DotumChe, Gulim, GulimChe, HYGothic-Extra, HYMyeongJo-Extra, "New Gulim", UnBatang, UnDotum, UnYetgul, UWKMJF;
font-family /**/:inherit;
}
:lang(zh-Hans) {
font-family: "Adobe Song Std L", "AR PL ShanHeiSun Uni", "AR PL ShanHeiSun Uni MBE", "MS Hei", "MS Song", SimHei;
font-family /**/:inherit;
}
:lang(zh-Hant) {
font-family: "Adobe Ming Std L", "AR PL New Sung", "AR PL ZenKai Uni", "AR PL ZenKai Uni MBE", MingLiU, PMingLiU;
font-family /**/:inherit;
}
:lang(grc) {
font-family: "Athena Unicode", Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
font-family /**/:inherit;
}
/* visina okvira za postavljanje datoteke */
#wpUploadDescription {
height: 13em;
}
/* boje za N, m, + i - */
.newpage {
color: white;
background-color: blue;
}
.minor {
color: black;
background-color: #98D0EE;
}
/* brojevi popisa praćenja u boji */
.mw-plusminus-pos {
color: #006400; /* darkgreen */
!important;
}
/* .mw-plusminus-null currently at developer default */
.mw-plusminus-neg {
color: #8B0000; /* darkred */
!important;
}
/* onemogućava linijske razmake unutar poveznica */
.nowraplinks a {
white-space: nowrap;
}
/* */
.plainlinksneverexpand {
background: none ! important;
padding: 0 ! important;
}
.plainlinksneverexpand .urlexpansion {
display: none ! important;
}
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
.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;
}
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]].
*/
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
#coordinates {
line-height:1.2em;
position: absolute;
z-index: 1;
right: 12px;
top:-3em;
padding-left:.5em;
text-align: center;
font-size: 85%;
}
/* Géolocalisation dynamique */
.NavContent .img_toogle {
zoom: 1; /* be kind to IE7 */
clear: both; /* be kind to IE7 */
}
.img_toogle, .img_toogle * {
margin: 0 !important;
padding: 0 !important;
}
.img_toogle .a_toogle {
display: block;
text-align: center !important;
font-size: 0.95em;
}
.img_toogle .geobox {
position: relative;
}
.img_toogle .geobox +.geobox {
border-top: 5px solid #aaa;
}
.img_toogle .geopoint {
position: absolute;
width: 5px;
height: 5px;
font-size: 1px;
border: 1px solid #000;
background:#F00;
}
/* Style for horizontal lists (separator following item) */
.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;
}
/* Nowrap list items */
.hlist dd,
.hlist dt,
.hlist li {
white-space: nowrap;
white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */
}
/* But allow parent list items to be wrapped */
.hlist dd dl,
.hlist dt dl,
.hlist li ol,
.hlist li ul {
white-space: normal;
}
/* 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;
}
/* for IE 8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-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;
}
/* For IE8 */
.hlist dl dl dd.hlist-last-child:after,
.hlist ol ol li.hlist-last-child:after,
.hlist ul ul li.hlist-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) " ";
}
/* kraj */
/*</pre>*/