מדיה ויקי:Common.css

מתוך חב"דפדיה, אנציקלופדיה חב"דית חופשית
קפיצה לניווט קפיצה לחיפוש

הערה: לאחר הפרסום, ייתכן שיהיה צורך לנקות את זיכרון המטמון (cache) של הדפדפן כדי להבחין בשינויים.

  • פיירפוקס / ספארי: להחזיק את המקש Shift בעת לחיצה על טעינה מחדש (Reload) או ללחוץ על צירוף המקשים Ctrl-F5 או Ctrl-R (במחשב מק: ⌘-R).
  • גוגל כרום: ללחוץ על צירוף המקשים Ctrl-Shift-R (במחשב מק: ⌘-Shift-R).
  • אינטרנט אקספלורר / אדג': להחזיק את המקש Ctrl בעת לחיצה על רענן (Refresh) או ללחוץ על צירוף המקשים Ctrl-F5.
  • אופרה: ללחוץ על Ctrl-F5.
/* הסגנונות הנכתבים כאן ישפיעו על כל העיצובים */

body.page-עמוד_ראשי div.floatleft { margin-right: 15px; margin-bottom: 15px;}

/* הסתרת שורת הכותרת בעמוד הראשי */
.page-עמוד_ראשי #firstHeading {
  display : none !important;
}
.page-עמוד_ראשי #catlinks {
 display : none !important;
}
div {
font-size: 105% }


/* הקטנת גודל הטקסט בהערות שוליים */
.references {
    font-size: 85%;
}


/*הסתרת אייקון של קישורים חיצוניים */
.external {
	padding: 0 !important;
	background: none !important;
}

}


/* עבור מונחון */
.wpAbbreviation{
    border-bottom:1px dotted #696969;
    cursor:help;
}

/* עיצוב לתיבת משוב */
#feedbackTextArea {
    height:16px;
    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;
}

/* container for toggles used in [[MediaWiki:ImgToggle.js]] */
.aTogglesContainer{
    clear:both;
}

.imgtoggleboxTitle{
    display:none;
}


/* 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-עמוד_ראשי #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;
}

/* הדגשת הקישור לכל השפות בסוף רשימת האינטרוויקי בעמוד הראשי */
#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 מוויקיפדיה באנגלית‬ */
/* @noflip */.infobox {
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    color: black;
    margin-bottom: 0.5em;
    margin-right: 1em;
    padding: 0.2em;
    float: left;
    clear: left;
}

.infobox-nowrap-labels th {
	white-space: nowrap;	
}

.infobox td,
.infobox th {
    vertical-align: top;
    text-align: right;
}
.infobox caption {
    font-size: larger;
    margin-left: inherit;
}
.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 {
    border: 0;
}
.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;
}

/* תיבות ניווט (כלומר, תיבות המסתירות חלקים מעצמן) מוויקיפדיה בגרמנית */
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;
}

/* טבלאות ניווט */
table.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;
}
@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;
}

/* סימון עריכות חשודות בצבע אדום */
.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-emoji {
    background: #ffe0e0;
}

/* סימון עריכות עם התגית "לבדיקה נוספת" בצבע כתום */
.mw-tag-לבדיקה_נוספת {
    background: #ffe6b3;
}

/* הסתרת הכפתורים של כתב נטוי, קו אופקי ומדיה בסרגל הכלים */
#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;       /* 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;
}

/* 
create class named "noJavascript" with display:none. 
add to mediawiki:Noscript.css, "display: inherit" to this class, to override the "display: none" here, so elements with this class
will only be seen by users surfing with JS disabled. 
*/
.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)
refDisplayRows used by a gadget and טורים=כן, 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;
}

.refDisplayRows ol,
ol.refDisplayRows {
    -ms-column-width: 32em;
    -webkit-column-width: 32em;
    -moz-column-width: 32em;
    column-width: 32em;
}
    
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;
}

/* 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}*/;
}

/* עבור תבניות ציטוט */
.hebrewQuotation {
    font-family: David, serif;
}
.engQuotation {
    font-family:"Times New Roman", serif;
}

/* 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;
}

#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,