מדיה ויקי:Common.css: הבדלים בין גרסאות בדף
מ ש |
אין תקציר עריכה |
||
| (106 גרסאות ביניים של 14 משתמשים אינן מוצגות) | |||
| שורה 1: | שורה 1: | ||
/* | /* workarounds for chrome bugs */ | ||
.mw- | .mw-tag-marker:last-child:after { | ||
content: '\200b'; | |||
} | } | ||
/* end workarounds */ | |||
/* add horizontal scrollbar to "pre" elements */ | /* add horizontal scrollbar to "pre" elements */ | ||
pre { | pre { | ||
| שורה 36: | שורה 30: | ||
/* הסתרת שורת הכותרת בעמוד הראשי */ | /* הסתרת שורת הכותרת בעמוד הראשי */ | ||
.page-עמוד_ראשי #firstHeading { | .page-עמוד_ראשי.action-view #firstHeading { | ||
display: none; | display: none; | ||
} | } | ||
| שורה 79: | שורה 73: | ||
direction: ltr; | direction: ltr; | ||
} | } | ||
/* make filehistory tables from commons show in RTL */ | |||
#shared-image-desc .filehistory | |||
{ | |||
float:right; | |||
clear:both; | |||
direction:rtl; | |||
} | |||
/* הדגשת הקישור לכל השפות בסוף רשימת האינטרוויקי בעמוד הראשי */ | /* הדגשת הקישור לכל השפות בסוף רשימת האינטרוויקי בעמוד הראשי */ | ||
| שורה 109: | שורה 112: | ||
/* עיצוב infobox מוויקיפדיה באנגלית */ | /* עיצוב infobox מוויקיפדיה באנגלית */ | ||
/* @noflip */.infobox { | /* @noflip */.infobox { | ||
float: left; | |||
clear: left; | |||
border: 1px solid #aaaaaa; | border: 1px solid #aaaaaa; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
| שורה 115: | שורה 120: | ||
margin-right: 1em; | margin-right: 1em; | ||
padding: 0.2em; | padding: 0.2em; | ||
font-size: 0.9em; | |||
line-height: 1.4em; | |||
} | } | ||
/* @noflip */table.infobox { | |||
width: 25em; | |||
} | |||
.infobox-nowrap-labels th { | .infobox-nowrap-labels th { | ||
white-space: nowrap; | white-space: nowrap; | ||
} | |||
.infobox-padded td, .infobox-padded th { | |||
padding: 0.4em 0.8em 0.4em 0em; | |||
} | } | ||
| שורה 131: | שורה 144: | ||
font-size: larger; | font-size: larger; | ||
margin-left: inherit; | margin-left: inherit; | ||
font-weight: bold; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
| שורה 148: | שורה 162: | ||
.infobox.bordered .borderless th, | .infobox.bordered .borderless th, | ||
.infobox.top-bordered .borderless th, | .infobox.top-bordered .borderless th, | ||
.infobox.top-bordered .borderless td { | .infobox.top-bordered .borderless td, | ||
.infobox td.borderless, | |||
.infobox th.borderless { | |||
border: 0; | 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 { | .infobox.iGray th { | ||
background-color: #DFDFDF; | background-color: #DFDFDF; | ||
| שורה 283: | שורה 309: | ||
/* טבלאות ניווט */ | /* טבלאות ניווט */ | ||
.navbox { | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| שורה 293: | שורה 319: | ||
width: 100%; | width: 100%; | ||
} | } | ||
table.navbox th { | table.navbox th { | ||
background-color: #ccf; | background-color: #ccf; | ||
} | } | ||
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { | |||
background: #ddddff none repeat scroll 0 0; | |||
} | |||
th.navbox-group { | |||
text-align: left; | |||
white-space: nowrap; | |||
} | |||
.navbox-group, .navbox-title, .navbox-abovebelow { | |||
line-height: 1.5em; | |||
padding: 0.25em 1em; | |||
text-align: center; | |||
} | |||
.navbox-inner, | |||
.navbox-subgroup { | |||
width: 100%; | |||
} | |||
@media print { | @media print { | ||
.navbox { | .navbox { | ||
| שורה 391: | שורה 436: | ||
vertical-align: middle; | vertical-align: middle; | ||
width: 75px; | width: 75px; | ||
} | |||
.chess-template td { | |||
vertical-align: middle; | |||
text-align: center; | |||
} | } | ||
/* סימון עריכות חשודות בצבע אדום */ | /* סימון עריכות חשודות בצבע אדום */ | ||
.mw-tag- | .mw-tag-מחיקת_הודעה, | ||
.mw-tag-לחצנים, | .mw-tag-לחצנים, | ||
.mw-tag-ריקון, | .mw-tag-ריקון, | ||
| שורה 408: | שורה 458: | ||
.mw-tag-הוספת_תבנית_חשודה, | .mw-tag-הוספת_תבנית_חשודה, | ||
.mw-tag-חדש-למחיקה, | .mw-tag-חדש-למחיקה, | ||
.mw-tag-blanking, | |||
.mw-tag-emoji { | .mw-tag-emoji { | ||
background: #ffe0e0; | background: #ffe0e0; | ||
| שורה 417: | שורה 468: | ||
} | } | ||
/* סימון עריכות עם התגית "מחיקת הודעה" בצבע צהוב בהיר */ | |||
.mw-tag-מחיקת-הודעה { | |||
background: #fcefb0; | |||
} | |||
/* הסתרת הכפתורים של כתב נטוי, קו אופקי ומדיה בסרגל הכלים */ | /* הסתרת הכפתורים של כתב נטוי, קו אופקי ומדיה בסרגל הכלים */ | ||
#mw-editbutton-hr, | #mw-editbutton-hr, | ||
| שורה 453: | שורה 508: | ||
td.mbox-text { /* The message body cell(s) */ | td.mbox-text { /* The message body cell(s) */ | ||
border: none; | border: none; | ||
padding: 0.25em | padding: 0.25em; /* 0.9em left/right */ | ||
width: 100%; /* Make all mboxes the same width regardless of text length */ | width: 100%; /* Make all mboxes the same width regardless of text length */ | ||
} | } | ||
| שורה 523: | שורה 578: | ||
/* | /* | ||
HTML elements with class named "noJavascript" get "display:none" in modern JS-enabled browsers. | |||
Elements with this class will still be seen by users surfing with JS disabled. | |||
will | |||
*/ | */ | ||
.noJavascript { | .client-js .noJavascript { | ||
display: none; | display: none; | ||
} | } | ||
| שורה 534: | שורה 588: | ||
"ol.refernece {margin: 0} tested on all major browsers. | "ol.refernece {margin: 0} tested on all major browsers. | ||
ol.reference li {margin: } required so numbers are not hidden (might not be enough for 3-digit refs) | ol.reference li {margin: } required so numbers are not hidden (might not be enough for 3-digit refs) | ||
refDisplayScroll/Hide used by gadget only. */ | |||
ol.references { | ol.references { | ||
margin: 0; | margin: 0; | ||
| שורה 548: | שורה 602: | ||
} | } | ||
ol.refDisplayScroll { | ol.refDisplayScroll { | ||
max-height: 20em; | max-height: 20em; | ||
| שורה 602: | שורה 648: | ||
#templatesList { | #templatesList { | ||
float: right; | float: right; | ||
} | } | ||
| שורה 626: | שורה 653: | ||
.hebrewQuotation { | .hebrewQuotation { | ||
font-family: David, serif; | font-family: David, serif; | ||
font-size: 120%; | |||
} | } | ||
.engQuotation { | .engQuotation { | ||
font-family:"Times New Roman", serif; | font-family:"Times New Roman", serif; | ||
font-size: 120%; | |||
} | } | ||
| שורה 667: | שורה 696: | ||
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Page_white_excel.png/15px-Page_white_excel.png") no-repeat left !important; | background: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Page_white_excel.png/15px-Page_white_excel.png") no-repeat left !important; | ||
padding-left: 18px !important; | padding-left: 18px !important; | ||
display: inline-block; /* workaround to avoid issues in Edge and Chrome */ | |||
} | } | ||
| שורה 696: | שורה 726: | ||
background: url("//upload.wikimedia.org/wikipedia/he/thumb/1/1e/Word-icon.svg/16px-Word-icon.svg.png") no-repeat left !important; | background: url("//upload.wikimedia.org/wikipedia/he/thumb/1/1e/Word-icon.svg/16px-Word-icon.svg.png") no-repeat left !important; | ||
padding-left: 18px !important; | padding-left: 18px !important; | ||
display: inline-block; /* workaround to avoid issues in Edge and Chrome */ | |||
} | } | ||
| שורה 777: | שורה 808: | ||
.geo-nondefault, .geo-multi-punct { display: none; } | .geo-nondefault, .geo-multi-punct { display: none; } | ||
.longitude, .latitude { white-space: nowrap; } | .longitude, .latitude { white-space: nowrap; } | ||
/* workaround for bug in Chrome 78 */ | |||
.geo-default { | |||
display: inline-block; | |||
} | |||
/* Make clickable edit summaries in Gadget-Summarieslist.js work more nicely with LTR UI */ | /* Make clickable edit summaries in Gadget-Summarieslist.js work more nicely with LTR UI */ | ||
| שורה 857: | שורה 893: | ||
/* Define a style that makes the data visible for registered users only. The rest is in mediawiki:Group-user.css*/ | /* Define a style that makes the data visible for registered users only. The rest is in mediawiki:Group-user.css*/ | ||
.registered_only | .registered_only, .sysop_only { | ||
.sysop_only { | |||
display: none; | display: none; | ||
} | } | ||
| שורה 869: | שורה 902: | ||
.parameters, .paramvalidator-wrapper { | .parameters, .paramvalidator-wrapper { | ||
display: none; | display: none; | ||
z-index: 3; | |||
} | } | ||
| שורה 952: | שורה 986: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
/* Allow highlighting content when hovering over it, for {{תוכן שקוף}} and {{מסגרת שקופה}} */ | /* Allow highlighting content when hovering over it, for {{תוכן שקוף}} and {{מסגרת שקופה}} */ | ||
.ElementOpacity:hover { | .ElementOpacity:hover { | ||
opacity: 1 !important; | opacity: 1 !important; | ||
} | |||
/* Style for horizontal lists (separator following item). | |||
@source mediawiki.org/wiki/Snippets/Horizontal_lists | |||
@revision 9 (2016-08-10) | |||
@author [[User:Edokter]] | |||
*/ | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Display list items inline */ | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
margin: 0; | |||
display: inline; | |||
} | |||
/* Display nested lists inline */ | |||
.hlist.inline, | |||
.hlist.inline dl, | |||
.hlist.inline ol, | |||
.hlist.inline ul, | |||
.hlist dl dl, .hlist dl ol, .hlist dl ul, | |||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | |||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | |||
display: inline; | |||
} | |||
/* Hide empty list items */ | |||
.hlist .mw-empty-li, | |||
.hlist .mw-empty-elt { | |||
display: none; | |||
} | |||
/* 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 parentheses around nested lists */ | |||
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, | |||
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, | |||
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { | |||
content: " ("; | |||
font-weight: normal; | |||
} | |||
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | |||
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | |||
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | |||
content: ")"; | |||
font-weight: normal; | |||
} | |||
/* Put ordinals in front of ordered list items */ | |||
.hlist ol { | |||
counter-reset: listitem; | |||
} | |||
.hlist ol > li { | |||
counter-increment: listitem; | |||
} | |||
.hlist ol > li:before { | |||
content: " " counter(listitem) "\a0"; | |||
} | |||
.hlist dd ol > li:first-child:before, | |||
.hlist dt ol > li:first-child:before, | |||
.hlist li ol > li:first-child:before { | |||
content: " (" counter(listitem) "\a0"; | |||
} | |||
/* nowrap class for syntaxhighlight inline shortened usage */ | |||
.nowrap { | |||
white-space: nowrap | |||
} | |||
/* Avoid elements from breaking between columns. used in [[תבנית:טורים]]. For list items and categorytree items. */ | |||
.hewiki-columns-nobreak-list li, .hewiki-columns-nobreak-list .CategoryTreeItem { | |||
-webkit-column-break-inside: avoid; | |||
page-break-inside: avoid; | |||
break-inside: avoid-column; | |||
} | |||
/* use class to make things visible in mobileview only */ | |||
.mobileonly { display: none; } | |||
/* Hide unexisting templates in articles from anonyms. */ | |||
.action-view.ns-0 a[title^='תבנית:'].new { display: none; } | |||
/* Image highlight legend local link style */ | |||
.image-highlight-here { background-color: lightgrey; } | |||
.image-highlight-here:hover:after { | |||
content: 'אתם נמצאים כאן'; | |||
position: absolute; | |||
background: lightyellow; | |||
padding: 8px 1px 1px 1px; | |||
} | |||
/* @noflip */ | |||
.mw-cite-dir-ltr { | |||
direction: ltr; | |||
text-align: left; | |||
} | |||
/* @noflip */ | |||
.mw-cite-dir-rtl { | |||
direction: rtl; | |||
text-align: right; | |||
} | |||
/* קואורדינטות מיקום */ | |||
#coordinates { | |||
font-size: small; | |||
text-transform: none; | |||
white-space: nowrap; | |||
} | |||
.propertylink-wikidata-qualifier { | |||
unicode-bidi: isolate; | |||
} | |||
/* Article message box styles */ | |||
table.ambox { | |||
margin: 0 10%; /* 10% = Will not overlap with other elements */ | |||
border: 1px solid #a2a9b1; | |||
border-right: 10px solid #36c; | |||
background-color: #fbfbfb; | |||
box-sizing: border-box; | |||
} | |||
.mw-prefs-buttons { /* bug T220706 - remove when closed */ | |||
filter: brightness(1); | |||
} | |||
/* | |||
Emergency fix for https://phabricator.wikimedia.org/T264387 . | |||
Not an ideal solution, should be fixed more thoroughly and then removed. | |||
*/ | |||
.mw-footer-container { | |||
clear: both; | |||
} | } | ||