מדיה ויקי:Common.css – הבדלי גרסאות
Abhishek.it (שיחה | תרומות) אין תקציר עריכה תגיות: עריכה ממכשיר נייד עריכה דרך האתר הנייד |
אין תקציר עריכה |
||
| שורה 317: | שורה 317: | ||
width:calc(100% - 10px); | width:calc(100% - 10px); | ||
} | } | ||
/* @noflip */table.infobox { | |||
width: 18em; | |||
} | |||
.infobox-nowrap-labels th { | |||
white-space: nowrap; | |||
} | |||
.infobox-padded td, .infobox-padded th { | |||
padding: 0.4em 0.8em 0.4em 0em; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
text-align: right; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
font-weight: bold; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #aaaaaa; | |||
} | |||
.infobox.top-bordered td, | |||
.infobox.top-bordered th { | |||
border-top: 1px solid #aaaaaa; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th, | |||
.infobox.top-bordered .borderless th, | |||
.infobox.top-bordered .borderless td, | |||
.infobox td.borderless, | |||
.infobox th.borderless { | |||
border: 0; | |||
} | |||
/* nested infobox - inner infobox is part of a partent infobox */ | |||
.infobox .infobox { | |||
float: none; | |||
font-size: 100%; | |||
margin: 0; | |||
padding: 0; | |||
width: 100%; | |||
} | |||
.infobox.iGray th { | |||
background-color: #DFDFDF; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iPink th { | |||
background-color: #FFB2B2; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iOrange th { | |||
background-color: #FFCFB2; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iYellow th { | |||
background-color: #F6FFB2; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iOlive th { | |||
background-color: #D9FFB2; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iGreen th { | |||
background-color: #BDFFB2; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iBlue th { | |||
background-color: #B2C6FF; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iPurple th { | |||
background-color: #BBB2FF; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iLightPurple th { | |||
background-color: #D9B2FF; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iBrown th { | |||
background-color: #E7DCC4; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iDarkKhaki th { | |||
background-color: #BDB76B; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iKhaki th { | |||
background-color: #F0E68C; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iGold th { | |||
background-color: #FFD700; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iDarkGold th { | |||
background-color: #DAA520; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
.infobox.iSilver th { | |||
background-color: #C0C0C0; | |||
text-align: right; | |||
font-weight: normal; | |||
} | |||
document.addEventListener("play", function(e){ | |||
if(e.target.tagName === "AUDIO"){ | |||
var audios = document.getElementsByTagName("audio"); | |||
for(var i = 0; i < audios.length; i++){ | |||
if(audios[i] !== e.target){ | |||
audios[i].pause(); | |||
} | |||
} | |||
} | |||
}, true); | |||