מדיה ויקי:Common.css: הבדלים בין גרסאות בדף

מ בעקבות ההסבר של ערן
אין תקציר עריכה
 
(136 גרסאות ביניים של 15 משתמשים אינן מוצגות)
שורה 1: שורה 1:
/* workarounds for chrome bugs */
.mw-tag-marker:last-child:after {
    content: '\200b';
}
/* end workarounds */
/* add horizontal scrollbar to "pre" elements */
/* add horizontal scrollbar to "pre" elements */
pre {
pre {
שורה 22: שורה 30:


/* הסתרת שורת הכותרת בעמוד הראשי */
/* הסתרת שורת הכותרת בעמוד הראשי */
.page-עמוד_ראשי #firstHeading {
.page-עמוד_ראשי.action-view #firstHeading {
     display: none;
     display: none;
}
}
שורה 45: שורה 53:
}
}


/* הדגשת ההערה שנלחץ קישור אליה באמצעות צבע הרקע, כדי להקל על הניווט */
/* Mark the number of watchers after clicking the link in the revision history */
ol.references > li:target,  
.action-info :target, .citation:target {
sup.reference:target,
     background-color: #DEF;  /* Fallback */
span.citation:target {
    background-color: rgba(0, 127, 255, 0.133);
     background-color: #DEF;
}
}


שורה 66: שורה 73:
     direction: ltr;
     direction: ltr;
}
}
/* make filehistory tables from commons show in RTL */
#shared-image-desc .filehistory
{
float:right;
clear:both;
direction:rtl;
}


/* הדגשת הקישור לכל השפות בסוף רשימת האינטרוויקי בעמוד הראשי */
/* הדגשת הקישור לכל השפות בסוף רשימת האינטרוויקי בעמוד הראשי */
שורה 96: שורה 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;
שורה 102: שורה 120:
     margin-right: 1em;
     margin-right: 1em;
     padding: 0.2em;
     padding: 0.2em;
     float: left;
     font-size: 0.9em;
     clear: left;
     line-height: 1.4em;
}
 
/* @noflip */table.infobox {
    width: 25em;
}
 
.infobox-nowrap-labels th {
white-space: nowrap;
}
 
.infobox-padded td, .infobox-padded th {
    padding: 0.4em 0.8em 0.4em 0em;
}
}
.infobox td,
.infobox td,
.infobox th {
.infobox th {
שורה 113: שורה 144:
     font-size: larger;
     font-size: larger;
     margin-left: inherit;
     margin-left: inherit;
    font-weight: bold;
}
}
.infobox.bordered {
.infobox.bordered {
שורה 130: שורה 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;
שורה 265: שורה 309:


/* טבלאות ניווט */
/* טבלאות ניווט */
table.navbox {
.navbox {
     background-color: #f9f9f9;
     background-color: #f9f9f9;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
שורה 275: שורה 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 {
שורה 375: שורה 438:
}
}


/* הוספת רקע צהוב לתגים של מסנן ההשחתות */
.chess-template  td {
.mw-tag-מחיקת-הודעה,
    vertical-align: middle;
    text-align: center;
}
 
/* סימון עריכות חשודות בצבע אדום */
.mw-tag-מחיקת_הודעה,
.mw-tag-לחצנים,
.mw-tag-לחצנים,
.mw-tag-ריקון,
.mw-tag-ריקון,
שורה 389: שורה 457:
.mw-tag-אות_סופית_באמצע_מילה,
.mw-tag-אות_סופית_באמצע_מילה,
.mw-tag-הוספת_תבנית_חשודה,
.mw-tag-הוספת_תבנית_חשודה,
.mw-tag-חדש-למחיקה {
.mw-tag-חדש-למחיקה,
     background-color: #FFE0E0;
.mw-tag-blanking,
.mw-tag-emoji {
     background: #ffe0e0;
}
}


/* סימון עריכות עם התגית "לבדיקה נוספת" בצבע כתום */
.mw-tag-לבדיקה_נוספת {
    background: #ffe6b3;
}
/* סימון עריכות עם התגית "מחיקת הודעה" בצבע צהוב בהיר */
.mw-tag-מחיקת-הודעה {
background: #fcefb0;
}
/* הסתרת הכפתורים של כתב נטוי, קו אופקי ומדיה בסרגל הכלים */
/* הסתרת הכפתורים של כתב נטוי, קו אופקי ומדיה בסרגל הכלים */
#mw-editbutton-hr,
#mw-editbutton-hr,
שורה 429: שורה 508:
td.mbox-text {    /* The message body cell(s) */
td.mbox-text {    /* The message body cell(s) */
     border: none;  
     border: none;  
     padding: 0.25em 0.9em;      /* 0.9em left/right */
     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 */
}
}
שורה 487: שורה 566:
     border-bottom: 1px dotted #696969;
     border-bottom: 1px dotted #696969;
     cursor: help;
     cursor: help;
}
/* עיצוב לתיבת משוב */
#feedbackTextArea {
    height: 36px;
    width: auto;
    overflow: auto;
    color: #999999;
}
.feedbackWrapper {
    text-align: center;
    margin-top: 1em;
}
.feedbackDiv {
    display: inline-block;
    background-color: #F9F9F9;
    border: 1px solid #CCCCCC;
    font-weight: bold;
}
#feedbackTitle {
    width: 250px;
    color: #999999;
}
#feedbackHelpDiv {
    text-align: right;
    font-size:small;
    font-weight:normal;
}
#loadFeedbackHelp {
    cursor: pointer;
}
#feedbackSubmit {
    font-weight: normal;
}
}


שורה 532: שורה 578:


/*  
/*  
create class named "noJavascript" with display:none.  
HTML elements with class named "noJavascript" get "display:none" in modern JS-enabled browsers.  
add to mediawiki:Noscript.css, "display: inherit" to this class, to override the "display: none" here, so elements with this class
Elements with this class will still be seen by users surfing with JS disabled.  
will only be seen by users surfing with JS disabled.  
*/
*/
.noJavascript {
.client-js .noJavascript {
     display: none;
     display: none;
}
}
שורה 543: שורה 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)
refDisplayRows used by a gadget and טורים=כן, refDisplayScroll/Hide used by gadget only. */
refDisplayScroll/Hide used by gadget only. */
ol.references {
ol.references {
     margin: 0;
     margin: 0;
שורה 557: שורה 602:
}
}


.refDisplayRows ol,
ol.refDisplayRows {
    -ms-column-width: 32em;
    -webkit-column-width: 32em;
    -moz-column-width: 32em;
    column-width: 32em;
}
   
ol.refDisplayScroll {
ol.refDisplayScroll {
     max-height: 20em;  
     max-height: 20em;  
שורה 604: שורה 641:
}
}


.sysop-show {
.sysop-show, .autopatrolled-show {
     display: none;
     display: none;
}
}
שורה 611: שורה 648:
#templatesList {
#templatesList {
     float: right;
     float: right;
}
/* experiment: this piece is copied from the embedded CSS in enwiki: it disappears in RTL */
.ui-widget-content {
border: 1px solid #aaaaaa/*{borderColorContent}*/;
background: #ffffff/*{bgColorContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
color: #222222/*{fcContent}*/;
}
.ui-widget-content a {
color: #222222/*{fcContent}*/;
}
.ui-widget-header {
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
background: #cccccc/*{bgColorHeader}*/ ;
color: #222222/*{fcHeader}*/;
font-weight: bold;
}
.ui-widget-header a {
color: #222222/*{fcHeader}*/;
}
}


שורה 635: שורה 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%;
}
}


שורה 676: שורה 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 */
}
}


שורה 705: שורה 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 */
}
}


שורה 786: שורה 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 */
שורה 866: שורה 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 {
display: none;
}
.sysop_only {
display: none;
display: none;
}
}
שורה 878: שורה 902:
.parameters, .paramvalidator-wrapper {
.parameters, .paramvalidator-wrapper {
display: none;
display: none;
z-index: 3;
}
}


שורה 911: שורה 936:
#mw-ext-cite-cite_section_preview_references_header {
#mw-ext-cite-cite_section_preview_references_header {
color: green;
color: green;
}
/*
Can be removed after the deployment of
https://gerrit.wikimedia.org/r/#/c/285089/
*/
span.comment {
unicode-bidi: -moz-isolate;
unicode-bidi: -webkit-isolate;
unicode-bidi: isolate;
}
}


שורה 962: שורה 977:
unicode-bidi: -ms-isolate-override;  
unicode-bidi: -ms-isolate-override;  
unicode-bidi: 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;
}
}