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

מתוך ויקיחדשות, מקור החדשות החופשי

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

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

/* Hide the first heading in the main page */
.page-עמוד_ראשי.action-view #firstHeading {
    display: none;
}

/* Decrease references size */
.references {
    font-size: 90%;
}

/* T156351: Support for Parsoid's Cite implementation */
span[rel="mw:referencedBy"]::before {
    font-weight: bold;
    content: "^ ";
}
a[rel="mw:referencedBy"]::before {
    font-weight: bold;
    content: "^";
}

/* Change the color of links to redirects in some special pages */
.allpagesredirect a {
    color: grey;
}

/* Mark the new page indicator in some special pages */
.newpage {
    color: #fc6d00;
}

/* Horizontal scrollbar for <pre> elements */
pre {
    overflow-x: auto;
}

/* Mark edits caught by the Abuse Filter */
.mw-tag-problematic_words {
    background: #ffe0e0;
}

/* Mark the number of watchers after clicking the link in the revision history */
.action-info :target {
    background: #def;
}

/* Enhancements for [[MediaWiki:Anoneditwarning]] */
#mw-anon-edit-warning {
    width: 85%;
}
#mw-anon-edit-warning img {
    opacity: 0.75;
}
#mw-anon-edit-warning img:hover {
    opacity: 1;
}

/* Enhancements for [[MediaWiki:Edittools]] */
.mw-editTools a {
    padding: 0.1em;
}
.mw-editTools a:hover {
    text-decoration: none;
    background: #eaeaea;
}
.mw-editTools a:active {
    font-weight: bold;
    color: green;
    border: 0.5px solid lightgrey;
}
.mw-special-Upload .mw-editTools {
    display: none;
}

/* Fix dialogues in the editing page (until it's fixed in core) */
.ui-dialog {
    right: auto;
}
.ui-autocomplete {
    right: inherit;
}

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

/* ‫עיצוב infobox מוויקיפדיה באנגלית‬ */
/* @noflip */.infobox {
    float: left;
    clear: left;	
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    color: black;
    margin-bottom: 0.5em;
    margin-right: 1em;
    padding: 0.2em;
    font-size: 0.9em;
    line-height: 1.4em;
}

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

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

/* קואורדינטות מיקום */
#coordinates {
    font-size: small;
    text-transform: none;
    white-space: nowrap;
}