1,510
עריכות
(עיצוב תבנית מידע מוויקיפדיה) |
אין תקציר עריכה |
||
שורה 1: | שורה 1: | ||
/* | /* workarounds for chrome bugs */ | ||
.mw-tag-marker:last-child:after { | |||
content: '\200b'; | |||
} | |||
/* end workarounds */ | |||
/* add horizontal scrollbar to "pre" elements */ | |||
pre { | |||
overflow-x: auto; | |||
} | |||
/* הוקוס פוקוס כדי שהספאנים של הניקוד (ב[[mediahttps://phabricator.wikimedia.org/T93336wiki:Edittools]] ייראו כמו קישורים מוגדלים, ובמעבר מעליהם שיגדלו כדי שניתן יהיה לזהות ביתר קלות את תווי הניקוד */ | |||
span.nikud { | |||
color: #002bb8; | |||
cursor: pointer; | |||
font-size: 125%; | |||
} | |||
span.nikud:hover { | |||
font-size: 175%; | |||
} | |||
/* Larger margin for left-floating images on the main page */ | |||
/* @noflip */ .page-עמוד_ראשי .floatleft { | |||
margin-right: 15px; | |||
margin-bottom: 15px; | |||
} | |||
/* הסתרת שורת הכותרת בעמוד הראשי */ | |||
.page-עמוד_ראשי.action-view #firstHeading { | |||
display: none; | |||
} | |||
/* קיצור ה־Site notice כדי שלא יתנגש עם הקואורדינטות */ | |||
#mw-dismissable-notice { | |||
width: 80%; | |||
} | |||
/* ביטול קווים מתחת לקישורים בתווים מיוחדים */ | |||
#editpage-specialchars a { | |||
text-decoration: none; | |||
} | |||
#editpage-specialchars a:hover { | |||
text-decoration: underline; | |||
} | |||
/* הקטנת גודל הטקסט בהערות שוליים */ | |||
.references { | |||
font-size: 90%; | |||
} | |||
/* Mark the number of watchers after clicking the link in the revision history */ | |||
.action-info :target, .citation:target { | |||
background-color: #DEF; /* Fallback */ | |||
background-color: rgba(0, 127, 255, 0.133); | |||
} | |||
/* הצגת ההערה על כך שהתמונה משותפת או מתנגשת עם תמונה משותפת בכתב רגיל */ | |||
div.sharedUploadNotice, | |||
#shared-image-dup, | |||
#shared-image-conflict { | |||
font-style: normal; | |||
} | |||
/* הצגת תיאור התמונה המשותפת משמאל לימין | |||
* Should be removed after fixing and deploying | |||
* https://phabricator.wikimedia.org/T95885 | |||
*/ | |||
#shared-image-desc { | |||
direction: ltr; | |||
} | |||
/* make filehistory tables from commons show in RTL */ | |||
#shared-image-desc .filehistory | |||
{ | |||
float:right; | |||
clear:both; | |||
direction:rtl; | |||
} | |||
/* הדגשת הקישור לכל השפות בסוף רשימת האינטרוויקי בעמוד הראשי */ | |||
#interwiki-completelist { | |||
font-weight: bold; | |||
} | |||
/* תמיכה בתבניות IPA, Unicode ו-Polytonic. הצהרת ה-inherit מאפסת את הגופן בכל הדפדפנים מלבד אינטרנט אקספלורר 6. ההערה הריקה חייבת להישאר. */ | |||
.IPA { | |||
font-family: Gentium; | |||
} | |||
.Unicode { | |||
font-family: Gentium; | |||
font-family /**/:inherit; | |||
} | |||
.latinx { | |||
font-family: Gentium; | |||
font-family /**/:inherit; | |||
} | |||
.polytonic { | |||
font-family: Gentium; | |||
font-family /**/:inherit; | |||
} | |||
/* קישור (טקסט או תמונה) בראש הדף, ליד הכותרת */ | |||
div.toplink div { | |||
position: static !important; | |||
} | |||
/* עיצוב infobox מוויקיפדיה באנגלית */ | /* עיצוב infobox מוויקיפדיה באנגלית */ | ||
/* @noflip */.infobox { | /* @noflip */.infobox { | ||
שורה 13: | שורה 123: | ||
line-height: 1.4em; | line-height: 1.4em; | ||
} | } | ||
/* @noflip */table.infobox { | |||
width: 18em; | |||
} | |||
.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; | |||
} | } | ||
שורה 133: | שורה 251: | ||
text-align: right; | text-align: right; | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
/* תיבות ניווט (כלומר, תיבות המסתירות חלקים מעצמן) מוויקיפדיה בגרמנית */ | |||
div.Boxmerge, | |||
div.NavFrame { | |||
border-collapse: collapse; | |||
border: 1px #aaaaaa solid; | |||
font-size: 95%; | |||
margin: 0; | |||
padding: 2px; | |||
text-align: center; | |||
} | |||
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; | |||
float: left; | |||
margin: 0; | |||
margin-top: 0.5em; | |||
padding: 2px; | |||
} | |||
div.NavFrame div.NavHead { | |||
background-color: #ccccff; | |||
font-size: 100%; | |||
font-weight: bold; | |||
height: 1.6em; | |||
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 { | |||
clear: both; | |||
line-height: 1px; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
a.NavToggle { | |||
font-size: 80%; | |||
font-weight: normal; | |||
left: 3px; | |||
position: absolute; | |||
top: 0; | |||
} | |||
/* טבלאות ניווט */ | |||
.navbox { | |||
background-color: #f9f9f9; | |||
border: 1px solid #aaa; | |||
clear: both; | |||
font-size: 90%; | |||
margin: 1em 0 0; | |||
padding: 2px; | |||
text-align: center; | |||
width: 100%; | |||
} | |||
table.navbox th { | |||
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 { | |||
.navbox { | |||
display: none; | |||
} | |||
/* הסרת טיפ להפניה לדף השיחה בהדפסה */ | |||
.annontalktip { | |||
display: none; | |||
} | |||
#contentSub { | |||
display: none; | |||
} | |||
.feedbackWrapper { | |||
display: none; | |||
} | |||
} | |||
/* הגדרות עבור תבנית:לשוניות */ | |||
@media screen { | |||
.loadingTabsTemplate { | |||
display: block; | |||
} | |||
.tabsTemplate { | |||
display:none; | |||
} | |||
} | |||
/* שינויי הדפסה */ | |||
@media print { | |||
/* ביטול השורה האוטומטית "מקור:", משום שהיא מציגה את ה-URL עם אחוזים וסימנים מוזרים, ויש כבר את השורה הרגילה והשפויה יותר */ | |||
.printfooter { | |||
display: none; | |||
} | |||
} | |||
/* הוספת תמונת רמקול עבור קישור מדיה */ | |||
.audiolink a { | |||
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Loudspeaker_rtl.svg/11px-Loudspeaker_rtl.svg.png") center right no-repeat !important; | |||
padding-left: 0 !important; | |||
padding-right: 16px !important; | |||
display: inline-block; | |||
} | |||
/* צביעת הקישור לדף חדש שבדף השינויים והאחרונים וברשימת המעקב */ | |||
.newpage { | |||
background-color: #FF0000; | |||
color: #FFFFFF; | |||
} | |||
/* עיצוב לטקסט אפור, כולל קישורים אפורים */ | |||
.grayText, | |||
.grayText a, | |||
.grayText a.stub { | |||
color: #999999; | |||
} | |||
/* ביטול כתב נטוי בעץ הקטגוריות */ | |||
.CategoryTreeLabelPage, | |||
.CategoryTreeParents, | |||
.CategoryTreeNotice { | |||
font-style: normal; | |||
} | |||
/* אפשרות להסתרה של כותרות בתוכן העניינים החל מרמה מסוימת. למשל, <div class="toclimit-3"> | |||
יציג רק כותרות מהרמה השנייה והשלישית (כל עוד אין כותרות מרמה ראשונה בדף, כפי שדורשים מדריכי העיצוב) */ | |||
.toclimit-2 .toclevel-2, | |||
.toclimit-3 .toclevel-3, | |||
.toclimit-4 .toclevel-4, | |||
.toclimit-5 .toclevel-5, | |||
.toclimit-6 .toclevel-6, | |||
.toclimit-7 .toclevel-7 { | |||
display: none; | |||
} | |||
/* עיצוב ל־[[mediawiki:AlertProtected.js]] */ | |||
table.plprotected { | |||
border: 1px solid #AFAFAF; | |||
background-color: #FFFFFF; | |||
width: 75%; | |||
margin-top: 5px; | |||
margin-bottom: 5px; | |||
padding: .2em; | |||
text-align: center; | |||
clear: both; | |||
} | |||
td.plprotected { | |||
margin-right: 1em; | |||
margin-left: 1em; | |||
text-align: center; | |||
vertical-align: middle; | |||
width: 75px; | |||
} | |||
.chess-template td { | |||
vertical-align: middle; | |||
text-align: center; | |||
} | |||
/* סימון עריכות חשודות בצבע אדום */ | |||
.mw-tag-מחיקת_הודעה, | |||
.mw-tag-לחצנים, | |||
.mw-tag-ריקון, | |||
.mw-tag-אולטרה-קצרמר, | |||
.mw-tag-ריקון-שיחה, | |||
.mw-tag-דואל, | |||
.mw-tag-חזרות, | |||
.mw-tag-הסרת-קטגוריות, | |||
.mw-tag-מילים-בעייתיות, | |||
.mw-tag-מילים_בעייתיות, | |||
.mw-tag-אוהב, | |||
.mw-tag-אות_סופית_באמצע_מילה, | |||
.mw-tag-הוספת_תבנית_חשודה, | |||
.mw-tag-חדש-למחיקה, | |||
.mw-tag-blanking, | |||
.mw-tag-emoji { | |||
background: #ffe0e0; | |||
} | |||
/* סימון עריכות עם התגית "לבדיקה נוספת" בצבע כתום */ | |||
.mw-tag-לבדיקה_נוספת { | |||
background: #ffe6b3; | |||
} | |||
/* סימון עריכות עם התגית "מחיקת הודעה" בצבע צהוב בהיר */ | |||
.mw-tag-מחיקת-הודעה { | |||
background: #fcefb0; | |||
} | |||
/* הסתרת הכפתורים של כתב נטוי, קו אופקי ומדיה בסרגל הכלים */ | |||
#mw-editbutton-hr, | |||
#mw-editbutton-italic, | |||
#mw-editbutton-media { | |||
display: none; | |||
} | |||
/* עבור [[תבנית:תיבת הודעה]] */ | |||
table.fmbox { | |||
clear: both; | |||
margin: 0.2em 0; | |||
width: 100%; | |||
border: 1px solid #aaa; | |||
border-radius: 4px; | |||
background: #f9f9f9; /* Default "system" gray */ | |||
} | |||
table.fmbox-system { | |||
background: #f9f9f9; | |||
} | |||
table.fmbox-warning { | |||
border: 1px solid #bb7070; /* Dark pink */ | |||
background: #ffdbdb; /* Pink */ | |||
} | |||
table.fmbox-important { | |||
background: #F5F5DC; | |||
} | |||
table.fmbox-attention { | |||
background: #FFFFCC; | |||
} | |||
table.fmbox-editnotice { | |||
background: transparent; | |||
} | |||
th.mbox-text, | |||
td.mbox-text { /* The message body cell(s) */ | |||
border: none; | |||
padding: 0.25em; /* 0.9em left/right */ | |||
width: 100%; /* Make all mboxes the same width regardless of text length */ | |||
} | |||
td.mbox-image { /* The left image cell */ | |||
border: none; | |||
padding: 2px 0.9em 2px 0; /* 0.9em right, 0px left */ | |||
text-align: center; | |||
} | |||
td.mbox-imageright { /* The right image cell */ | |||
border: none; | |||
padding: 2px 0 2px 0.9em; /* 0px right, 0.9em left */ | |||
text-align: center; | |||
} | |||
td.mbox-empty-cell { /* An empty narrow cell */ | |||
border: none; | |||
padding: 0; | |||
width: 1px; | |||
} | |||
/* עיצוב הודעת המערכת הכללית של הקרן */ | |||
#table-cell-2 { | |||
text-align: right; | |||
padding-right: 1em; | |||
} | |||
#pagehistory span.mw-revdelundel-link { | |||
display: none; | |||
} | |||
/* יישור של כל התאים למעלה */ | |||
table.valigntop tr { | |||
vertical-align: top; | |||
} | |||
/* הערות שוליים בעברית בין הערות שוליים באנגלית. יש לתת שם להערת השוליים שמתחיל ב־hebrewRTL */ | |||
li[id|="cite_note-hebrewRTL"] { | |||
direction: rtl; | |||
text-align: right; | |||
} | |||
li[id|="cite_note-LTR"] { | |||
direction: ltr; | |||
margin-left: 3.2em; | |||
text-align: left; | |||
} | |||
/* הגבלת גובה תפריטים, והוספת פס גלילה עבור תפריטים ארוכים */ | |||
.wikiEditor-ui-toolbar .group .tool-select .menu .options { | |||
overflow: auto; | |||
max-height: 30em; | |||
} | |||
.wikiEditor-ui-toolbar .group .tool-select .options .option { | |||
padding: 0.5em 0.5em 0.5em 3em; | |||
} | |||
/* עבור מונחון */ | |||
.wpAbbreviation { | |||
border-bottom: 1px dotted #696969; | |||
cursor: help; | |||
} | |||
/* container for toggles used in [[MediaWiki:ImgToggle.js]] */ | |||
.aTogglesContainer{ | |||
clear: both; | |||
} | |||
.imgtoggleboxTitle{ | |||
display: none; | |||
} | |||
/* | |||
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. | |||
*/ | |||
.client-js .noJavascript { | |||
display: none; | |||
} | |||
/* following lines are for references section display. | |||
"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) | |||
refDisplayScroll/Hide used by gadget only. */ | |||
ol.references { | |||
margin: 0; | |||
} | |||
.mw-content-ltr ol.references, | |||
.mw-content-rtl ol.references { | |||
margin: 0; | |||
} | |||
ol.references li { | |||
margin:0 3em; | |||
} | |||
ol.refDisplayScroll { | |||
max-height: 20em; | |||
overflow-y: auto; | |||
margin: 0; | |||
} | |||
ol.refDisplayHide{ | |||
display: none | |||
} | |||
.globegris { | |||
background: url('//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png'); | |||
} | |||
span.texhtml { | |||
white-space: nowrap; | |||
} | |||
/* used by [[תבנית:ביאורים]] */ | |||
.hebrewRefList .references { | |||
list-style: hebrew; | |||
} | |||
.upper-roman-list ol { | |||
list-style: upper-roman; | |||
} | |||
.lower-roman-list ol { | |||
list-style: lower-roman; | |||
} | |||
.upper-latin-list ol { | |||
list-style: upper-latin; | |||
} | |||
.lower-latin-list ol { | |||
list-style: lower-latin; | |||
} | |||
.hebrew-list ol { | |||
list-style:hebrew; | |||
} | |||
.sysop-show, .autopatrolled-show { | |||
display: none; | |||
} | |||
/* Put the templates list as the first item in the old toolbar. see also [[MediaWiki:Templateslist.js]] */ | |||
#templatesList { | |||
float: right; | |||
} | |||
/* עבור תבניות ציטוט */ | |||
.hebrewQuotation { | |||
font-family: David, serif; | |||
font-size: 120%; | |||
} | |||
.engQuotation { | |||
font-family:"Times New Roman", serif; | |||
font-size: 120%; | |||
} | |||
/* Change the external link icon to an Adobe icon for all PDF files | |||
in browsers that support these CSS selectors, like Mozilla and Opera. | |||
taken from [[:en:MediaWiki:Common.css]] | |||
*/ | |||
#content a[href$=".pdf"].external, | |||
#content a[href*=".pdf?"].external, | |||
#content a[href*=".pdf#"].external, | |||
#content a[href$=".PDF"].external, | |||
#content a[href*=".PDF?"].external, | |||
#content a[href*=".PDF#"].external, | |||
#mw_content a[href$=".pdf"].external, | |||
#mw_content a[href*=".pdf?"].external, | |||
#mw_content a[href*=".pdf#"].external, | |||
#mw_content a[href$=".PDF"].external, | |||
#mw_content a[href*=".PDF?"].external, | |||
#mw_content a[href*=".PDF#"].external { | |||
/* @embed */ | |||
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left !important; | |||
padding-left: 18px !important; | |||
} | |||
#content a[href$=".xls"].external, | |||
#content a[href*=".xls?"].external, | |||
#content a[href*=".xls#"].external, | |||
#content a[href$=".XLS"].external, | |||
#content a[href*=".XLS?"].external, | |||
#content a[href*=".XLS#"].external, | |||
#mw_content a[href$=".xls"].external, | |||
#mw_content a[href*=".xls?"].external, | |||
#mw_content a[href*=".xls#"].external, | |||
#mw_content a[href$=".XLS"].external, | |||
#mw_content a[href*=".XLS?"].external, | |||
#mw_content a[href*=".XLS#"].external { | |||
/* @embed */ | |||
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; | |||
display: inline-block; /* workaround to avoid issues in Edge and Chrome */ | |||
} | |||
#content a[href$=".doc"].external, | |||
#content a[href*=".doc?"].external, | |||
#content a[href*=".doc#"].external, | |||
#content a[href$=".docx"].external, | |||
#content a[href*=".docx?"].external, | |||
#content a[href*=".docx#"].external, | |||
#content a[href$=".DOC"].external, | |||
#content a[href*=".DOC?"].external, | |||
#content a[href*=".DOC#"].external, | |||
#content a[href$=".DOCX"].external, | |||
#content a[href*=".DOCX?"].external, | |||
#content a[href*=".DOCX#"].external, | |||
#mw_content a[href$=".doc"].external, | |||
#mw_content a[href*=".doc?"].external, | |||
#mw_content a[href*=".doc#"].external, | |||
#mw_content a[href$=".DOC"].external, | |||
#mw_content a[href*=".DOC?"].external, | |||
#mw_content a[href*=".DOC#"].external, | |||
#mw_content a[href$=".docx"].external, | |||
#mw_content a[href*=".docx?"].external, | |||
#mw_content a[href*=".docx#"].external, | |||
#mw_content a[href$=".DOCX"].external, | |||
#mw_content a[href*=".DOCX?"].external, | |||
#mw_content a[href*=".DOCX#"].external { | |||
/* @embed */ | |||
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; | |||
display: inline-block; /* workaround to avoid issues in Edge and Chrome */ | |||
} | |||
.catlist-in-columns { | |||
-webkit-column-width: 20em; | |||
-moz-column-width: 20em; | |||
-ms-column-width: 20em; | |||
column-width: 20em; | |||
} | |||
/* עבור תבנית pgn, להצגת משחקי שחמט. */ | |||
.pgn-sourcegame { | |||
display: none | |||
} | |||
/* for [[תבנית:לשוניות2]] */ | |||
.tabWrapper.ui-widget { | |||
font-size: 1em; | |||
} | |||
.tabWrapper .ui-tabs-nav { | |||
background: transparent; | |||
border-width: 0 0 1px 0; | |||
} | |||
.tabWrapper .ui-tabs-nav a { | |||
color: black; | |||
font-weight: bold; | |||
} | |||
/* Pie chart: Transparent borders */ | |||
.transborder { | |||
border: solid transparent; | |||
} | |||
* html .transborder { /* IE6 */ | |||
border: solid #000001; | |||
filter: chroma(color=#000001); | |||
} | |||
.rot90 { | |||
-webkit-transform: rotate(90deg); | |||
-moz-transform: rotate(90deg); | |||
-ms-transform: rotate(90deg); | |||
-o-transform: rotate(90deg); | |||
transform: rotate(90deg); | |||
} | |||
.rot180 { | |||
-webkit-transform: rotate(180deg); | |||
-moz-transform: rotate(180deg); | |||
-ms-transform: rotate(180deg); | |||
-o-transform: rotate(180deg); | |||
transform: rotate(180deg); | |||
} | |||
.rot270 { | |||
-webkit-transform: rotate(270deg); | |||
-moz-transform: rotate(270deg); | |||
-ms-transform: rotate(270deg); | |||
-o-transform: rotate(270deg); | |||
transform: rotate(270deg); | |||
} | |||
/* scrollbar for main page language list */ | |||
.page-עמוד_ראשי #p-lang .body { | |||
max-height:650px; | |||
overflow: auto; | |||
} | |||
/* fix bug in IE for code element not shown */ | |||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |||
code { | |||
display: inline-block; | |||
} | |||
} | |||
/* 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; } | |||
/* 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 */ | |||
#summariesList .clickable-edit-summary { | |||
unicode-bidi: embed; | |||
} | |||
/* | |||
* On Special:ListGroupRights: | |||
* Make sure that the right name in parentheses appears correctly | |||
* even if the description of the right ends in LTR characters. | |||
* Can be removed when https://gerrit.wikimedia.org/r/#/c/159684/ is merged and deployed. | |||
*/ | |||
.mw-listgrouprights-table li span code:last-child { | |||
direction: ltr; | |||
/* | |||
* Ideally this should be unicode-bidi: embed, | |||
* but this is the only way to get consistent behavior on current | |||
* versions of Firefox and Chrome. | |||
*/ | |||
unicode-bidi: -moz-isolate; | |||
unicode-bidi: -webkit-isolate; | |||
unicode-bidi: isolate; | |||
} | |||
/* temp solution to https://phabricator.wikimedia.org/T86979 */ | |||
.ui-dialog { right: auto; } | |||
.ui-autocomplete { right: inherit; } /* experiment, trying to fix autocomplete problem | |||
/** | |||
** Messagebox templates | |||
** Imported from [[meta:MediaWiki:Common.css]] | |||
** To make sure that templates from meta that use this style are shown correctly | |||
** on global user pages. | |||
**/ | |||
.messagebox { | |||
width: 80%; | |||
margin: 0 auto 1em auto; | |||
padding: 0.2em; | |||
border: 1px solid #AAA; | |||
background: #F9F9F9; | |||
} | |||
.messagebox.merge { | |||
border: 1px solid #C0B8CC; | |||
background: #F0E5FF; | |||
text-align: center; | |||
} | |||
.messagebox.cleanup { | |||
border: 1px solid #9F9FFF; | |||
background: #EFEFFF; | |||
text-align: center; | |||
} | |||
.messagebox .standard-talk { | |||
border: 1px solid #C0C090; | |||
background: #F8EABA; | |||
} | |||
.messagebox.nested-talk { | |||
width: 100%; | |||
margin: 2px 4px 2px 4px; | |||
border: 1px solid #C0C090; | |||
background: #F8EABA; | |||
} | |||
.messagebox.small { | |||
float: right; | |||
clear: both; | |||
width: 238px; | |||
margin: 0 0 1em 1em; | |||
font-size: 85%; | |||
line-height: 1.25em; | |||
} | |||
/* | |||
ACE is usually for code and code is usually LTR. | |||
Can be switched to RTL if needed. | |||
*/ | |||
.ace_search .ace_search_field { | |||
direction: ltr; | |||
} | |||
/* Define a style that makes the data visible for registered users only. The rest is in mediawiki:Group-user.css*/ | |||
.registered_only, .sysop_only { | |||
display: none; | |||
} | |||
/* Define a style that makes the data visible for some users only. | |||
The first stage in new templates validation system process. | |||
The details are in [[שיחת יחידה:פרמטרים]]*/ | |||
.parameters, .paramvalidator-wrapper { | |||
display: none; | |||
z-index: 3; | |||
} | |||
.paramvalidator-error { | |||
color: red; | |||
font-weight: bold; | |||
} | |||
.ve-ui-surface .paramvalidator-error { | |||
display: none; | |||
} | |||
#Recentchangestext { | |||
clear:both; | |||
} | |||
/* see https://gerrit.wikimedia.org/r/#/c/233483/ */ | |||
sup.reference { | |||
display: inline-block; | |||
} | |||
/* revert of https://gerrit.wikimedia.org/r/#/c/196541, see https://phabricator.wikimedia.org/T118029 */ | |||
.tocnumber::after { | |||
content: none; | |||
padding-left: 0; | |||
} | |||
.tocnumber, .toctext { | |||
display: inline; | |||
} | |||
/* color references preview in topic edit title */ | |||
#mw-ext-cite-cite_section_preview_references_header { | |||
color: green; | |||
} | |||
/* | |||
Can be removed after the deployment of | |||
https://gerrit.wikimedia.org/r/#/c/286128/ | |||
*/ | |||
/* @noflip */ .rtl a.external.free, | |||
.rtl a.external.autonumber { | |||
direction: ltr; | |||
unicode-bidi: -moz-isolate; | |||
unicode-bidi: -webkit-isolate; | |||
unicode-bidi: isolate; | |||
display: inline-block; /* Fake bidi isolation for Microsoft browsers. */ | |||
} | |||
/* | |||
Experiment: | |||
Add the shim recommended by w3c: | |||
https://www.w3.org/International/articles/inline-bidi-markup/ | |||
This tries add support for auto-isolation of elements with | |||
the dir attribute in browsers that don't fully support it yet. | |||
This shouldn't change the behavior in browsers that support it fully | |||
or don't support it at all. | |||
<bdo> is probably not used in MediaWiki, but adding it according | |||
to the recommendation, just in case. | |||
If it works well, it should be added to core MediaWiki. | |||
*/ | |||
[dir='ltr'], | |||
[dir='rtl'] { | |||
unicode-bidi: -webkit-isolate; | |||
unicode-bidi: -moz-isolate; | |||
unicode-bidi: -ms-isolate; | |||
unicode-bidi: isolate; | |||
} | |||
bdo[dir='ltr'], | |||
bdo[dir='rtl'] { | |||
unicode-bidi: bidi-override; | |||
unicode-bidi: -webkit-isolate-override; | |||
unicode-bidi: -moz-isolate-override; | |||
unicode-bidi: -ms-isolate-override; | |||
unicode-bidi: isolate-override; | |||
} | |||
/* Enhancements for [[MediaWiki:Anoneditwarning]] */ | |||
#mw-anon-edit-warning img { | |||
opacity: 0.75; | |||
} | |||
#mw-anon-edit-warning img:hover { | |||
opacity: 1; | |||
} | |||
/* Allow highlighting content when hovering over it, for {{תוכן שקוף}} and {{מסגרת שקופה}} */ | |||
.ElementOpacity:hover { | |||
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; | |||
} | } |