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

מתוך ויקיטקסט, מאגר הטקסטים החופשי

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

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

/* נסיון לטעינה מהירה של גופן אלף */

@font-face {
  font-family: 'Alef2';
  font-style: normal;
  font-weight: normal;
  src: local('Alef Regular'), local('Alef-Regular'), url('/w/extensions/UniversalLanguageSelector/data/fontrepo/fonts/Alef/Alef-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Alef2';
  font-style: normal;
  font-weight: bold;
  src: local('Alef Bold'), local('Alef-Bold'), url('/w/extensions/UniversalLanguageSelector/data/fontrepo/fonts/Alef/Alef-Bold.woff2') format('woff2');
  font-display: swap;
}

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

/* 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-color: #FFE0E0;
}

/* Mark the text in [[MediaWiki:Updatedmarker]] */
.updatedmarker {
    font-weight: bold;
    background-color: #9EFF9E !important;
}

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

/* Show elements at the top of the page using the "toplink" class */
.toplink {
    position: absolute;
    left: 35px;
}

/* מיועד למנוע מהאינדיקטורים להשפיע/להזיז אלמנטים של הדף */
.mw-indicators {
    height: 1px;
}

/* ביטול הסימון "לא בדוק" */
#mw-fr-revisiontag {
    display: none;
}

/* ביטול כתב נטוי בעץ הקטגוריות */
.CategoryTreeLabelPage,
.CategoryTreeParents,
.CategoryTreeNotice {
    font-style: normal;
}

/* עיצוב ה־Site Notice */
#siteNotice {
    padding-top: 5px;
    text-align: center;
}

/* Support for Template:IPA, Template:Unicode and Template:Polytonic.
The inherit declaration resets the font for all browsers except MSIE6.
The empty comment must remain. */
.IPA {
    font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
    font-family /**/:inherit;
}

/* הוספת סמלילים לקישורים שונים */

/* Change the external link icon, taken from [[w:MediaWiki:Common.css]] */
.mw-body a[href$=".pdf"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
    padding-left: 18px;
}

.mw-body a[href$=".xls"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Page_white_excel.png/15px-Page_white_excel.png") no-repeat left;
    padding-left: 18px;
}

.mw-body a[href$=".doc"].external {
    background: url("//upload.wikimedia.org/wikipedia/he/thumb/1/1e/Word-icon.svg/16px-Word-icon.svg.png") no-repeat left;
    padding-left: 18px;
}

.mw-body a.audiolink {
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center right no-repeat;
    padding-left: 16px;
    padding-right: 0;
}

/* טקסט אפור, כולל קישורים */
.graytext,
.graytext a,
.graytext a.stub .graytext a.extiw {
    color: #777777 !important;
}

.shortcut {
    float: left;
    left: 12px;
    font-size: 75%;
    position: absolute;
    top: 0.3em;
}

.effect_on_hover {
    border-top: solid 5px transparent;
}

/* for hover effect on images etc. */
.effect_on_hover:hover {
    border-top: 0; /* Take the image up 5px */
}

.low_opacity {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: .40;
}

.advanced {
    background-color: #eee;
    border: dotted 1pt
}

.future {
    font-size: smaller;
    background-color: #ccc
}

/* == טבלאות ותיבות == */
/* מחלקות wikitable ו-prettytable לטבלאות, מבוסס על [[:en:MediaWiki:Common.css]] */
table.wikitable,
table.prettytable {
    background-color: #F9F9F9;
    border-color: #AAAAAA;
    border-style: solid;
    border-width: 1px;
    margin: 1em 1em 1em 0;
}

table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
    border-color: #AAAAAA;
    border-style: solid;
    border-width: 1px;
    padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
    background-color: #F2F2F2;
    text-align: center;
}

table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
}

/* עיצוב infobox מאנגלית */
.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 td,
.infobox th {
   vertical-align: top;
}

.infobox caption {
   font-size: larger;
   margin-left: inherit;
}

.infobox.bordered {
   border-collapse: collapse;
}

.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}

.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* תיבות ניווט (כלומר, תיבות המסתירות חלקים מעצמן) מוויקיפדיה בגרמנית */
div.Boxmerge,
div.NavFrame {
    border-collapse: collapse;
    border-color: #AAAAAA;
    border-style: solid;
    border-width: 1px;
    font-size: 100%;
    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: #EFEFEF;
    font-size: 100%;
    font-weight: bold;
    height: 1.6em;
    position: relative;
}

div.NavFrame p {
    font-size: 100%;
}

div.NavFrame div.NavContent {
    font-size: 100%;
    background-color: #FCFCFC;
}

div.NavFrame div.NavContent p {
    font-size: 100%;
}

div.NavEnd {
    clear: both;
    line-height: 1px;
    margin: 0;
    padding: 0;
}

a.NavToggle {
    font-size: smaller;
    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;
}

/* Reset top margin for lists embedded in columns */
div.columns dl,
div.columns ol,
div.columns ul,
div.columns p:first-child {
    margin-top: 0;
}

/* Avoid list items from breaking between columns */
div.columns {
    orphans: 2;
    widows: 2;
}

div.hierarchical > dl {
    margin-right: -1.6em;
}

div.hierarchical dd,
div.hierarchical dl,
div.hierarchical ol,
div.hierarchical ul  {
    margin-top: 0;
    margin-bottom: 0.1em;
}

div.hierarchical dd dd,
div.hierarchical li li,
div.hierarchical ul ul {
    font-size: 80%;
}

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

/* == סגנונות לעימוד חוקים == */
.law, #law-content, #law-content h1, #law-content h2, #law-content h3, #law-content h4 {
    direction: rtl;
    text-align: justify;
    margin: 0 20px;
    font-size: 16px;
    line-height: 1.15;
    font-family: Alef2, sans-serif;
    border: none;
}

h1.firstHeading > span.law {
    display: none;
}

.law p {
    margin: 0 !important;
    line-height: inherit;
}

.law a, .law a[href].new, .law a[href].external, .law a[href].extiw {
    color: inherit;
    text-decoration: none;
    background-image: none;
    padding: 0;
    border: none !important;
}

.law-local a:hover, .law a:hover {
    text-decoration: underline overline;
    background-color: lightblue;
}

.law-external a:hover, .law-external a.mw-redirect:hover, .law-external a[href].external:hover, .law-external a[href].extiw:hover {
    text-decoration: underline overline;
    background-color: pink;
}

.law a.new:hover {
    background-color: inherit;
    text-decoration: none;
    color: red;
}

.law .selflink a:hover {
    text-decoration: underline dotted lightblue;
    background-color: inherit;
}

.law-title, #law-content h1.law-title {
    text-align: center;
    font-size: 185%;
    font-weight: bold;
    padding: 0;
}

.law-toc {
    columns: 2 auto;
    -moz-columns: 2 auto;
    -webkit-columns: 2 auto;
    text-align: right;
    padding-bottom: 1em;
}

.law-toc-1 {
    font-weight: bold;
    font-size: 110%;
    padding-top: 3px;
    padding-right: 25px;
    text-indent: -25px;
}

.law-toc-2 {
    margin-right: 25px;
    padding-top: 3px;
    padding-right: 25px;
    text-indent: -25px;
}

.law-toc-3 {
    font-size: 90%;
    margin-right: 50px;
    padding-right: 25px;
    text-indent: -25px;
}

.law-part, .law-section, .law-subsection, .law-subsubsection, #law-content h1, #law-content h2, #law-content h3, #law-content h4 {
    text-align: center;
    padding: 0 100px;
    font-weight: normal;
}

.law-part, #law-content h1 {
    font-size: 185%;
}

.law-section, #law-content h2 {
    font-size: 150%;
}

.law-subsection, #law-content h3 {
    font-size: 130%;
}

.law-subsubsection, #law-content h4 {
    font-size: 115%;
}

.law-indent:not(:empty), .law-indent div:not(:empty) {
    padding-inline-start: 40px;
    text-indent: -40px;
}

.law-note {
    font-size: smaller;
    color: gray;
}

.law-note .mwe-math-element img {
    filter: invert(40%);
}

.law-desc > .law-note {
    line-height: 90%;
    letter-spacing: -0.03em;
}

div.law-note p {
    padding: 2px 0;
}

.law-sec-note {
    float: right;
    position: absolute;
    width: 95px;
    font-size: 10.5px;
    text-align: right;
    margin-top: 15px;
    margin-left: -95px;
    color: gray;
}

.law-desc, .law-sec-desc {
    float: right;
    font-size: smaller;
    text-align: right;
    padding: 2px 0;
    line-height: 90%;
    letter-spacing: -0.02em;
    width: 115px;
    margin-left: -95px;
}

.law-sec-desc {
    margin-top: 0.5em;
    width: 120px;
    margin-left: -120px;
}

.law-main {
    margin: 0 140px 0 0;
    padding: 0;
}

.law-number, .law-number1, .law-number2, .law-number3, .law-number4, .law-number5, .law-number6, .law-number7 {
    float: right;
    text-align: right;
    white-space: nowrap;
    padding-right: 0.25em;
    margin-left: -2.5em;
    width: 2.2em;
    height: 0;
    position: relative;
    z-index: 10;
}

.law-number, .law-number1 {
    width: 2.5em;
    padding-right: 0;
    margin-right: 6.25em;
}

.law-number2 {
    margin-right: 0;
}

.law-number3 {
    margin-right: 2.5em;
}

.law-number4 {
    margin-right: 5.0em;
}

.law-number5 {
    margin-right: 7.5em;
}

.law-number6 {
    margin-right: 10.0em;
}

.law-number7 {
    margin-right: 12.5em;
}

.law-float {
    float: left;
    margin-left: 20px;
    height: 1.2em;
}

.law-content:not(:empty), .law-content1:not(:empty), .law-content2:not(:empty), .law-content3:not(:empty), .law-content4:not(:empty), .law-content5:not(:empty), .law-content6:not(:empty), .law-content7:not(:empty), .law p {
    padding-bottom: 0.25em;
}

.law-content, .law-content1 {
    margin-right: 0;
}

.law-content2 {
    margin-right: 2.5em;
}

.law-content3 {
    margin-right: 5.0em;
}

.law-content4 {
    margin-right: 7.5em;
}

.law-content5 {
    margin-right: 10.0em;
}

.law-content6 {
    margin-right: 12.5em;
}

.law-content7 {
    margin-right: 15.0em;
}

.law-signatures {
    text-align: center;
    margin-right: 100px;
}

.law-signatures ul {
    padding: 0;
    margin: 0;
    display: inline;
    list-style: none;
    width: 100%;
}

.law-signatures li {
    float: right;
    display: inline;
    list-style: none;
    width: 150px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 90%;
}

hr.law-separator {
    clear: both;
    text-align: center;
    padding-top: 1px;
    margin: 10px 50px 10px 50px;
}

.law-cleaner {
    clear: both;
    visibility: hidden;
    height: 4px;
}

.law table {
    font-size: 90%;
    text-align: initial;
    border: 1px solid #AAA;
    border-collapse: collapse;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.law table td, .law table th {
    vertical-align: top;
    border: 1px solid #AAA;
}

.law table th {
    padding: 3px 3px;
    background-color: #F2F2F2;
    text-align: center;
    font-weight: normal;
}

.law table td {
    padding: 3px 10px;
    background-color: #F9F9F9;
}

.law del {
    background: #ffe6e6;
}

.law ins {
    background: #e6ffe6;
}

/* == עיצובי ארון הספרים היהודי == */
/* ציטוטי פסוקים ופירושים  */
.psuq {
    font-family: Narkisim,Times,"Times New Roman",serif;
    font-style: normal;
    font-size: 1.4em;
    color: #111155;
}

.psuq2 {
    font-family: David,Times,"Times New Roman",serif;
    font-style: normal;
    font-size: 1.8em;
    color: #111155;
}

.mfrj {
    font-family: Times, "Times New Roman", serif;
    font-style: normal;
    font-size: 1.15em;
    color: DarkGreen;
}

div.nosahim div,
span.nosahim span {
    background-color: #efe;
}

div.yamim div,
span.yamim span {
    background-color: #eef;
}

/* עיצוב דפי הגמרא */
.gmara_text {
   font-size: 135%;
   line-height: 23pt;
   font-family: Narkisim;
}

.gmara_rashi {
    font-size: 120%;
}

.gmara_ran {
    font-size: 120%;
}

.gmara_tosfot {
    font-size: 100%;
}

/* עיצוב דפי המשנה */
.mishna_text {
   font-size: 135%;
   line-height: 23pt;
   font-family: narkisim;
}

.mishna_bartenura {
    font-size: 120%;
}

.mishna_yom_tov {
    font-size: 110%;
}

.mishna_beyur {
    font-size: 135%;
    line-height: 23pt;
    font-family: Narkisim;
}

.mishna_beyur .editsection {
    font-size: 35%;
    font-family: Sans-serif;
}

.mishna_chapters {
    font-size: 135%;
    line-height: 23pt;
}

/* מקורות */
div.sources {
   font-size: smaller;
   background-color: #ccc;
}

/* מידות טובות ומידות רעות */
.mida {
    float: left;
    width: 120px;
    background-color: #ff8;
    clear: left;
    margin: 2px;
}

.mida img {
    height: 16px;
    width: 16px;
    margin: 2px;
    float: right;
}

.tova {
    border-color: #0f0;
}

.raa {
    border-color: #f00;
}

/*   כדי ש[[תבנית:ב]] לא תוסתר על ידי תיבת הניווט ותיבת החיפוש  */
#p-navigation {
    z-index: 1;
}

#p-search {
    z-index: 1;
}

.beur {
    font-family: David;
    font-size: 165%;
    line-height: 23pt;
}

/* Tooltip classes are used in  [[תבנית:ב]] */
.TooltipPhrase { 
	border-bottom:1px dotted #aaaadd; 
	cursor:help; 
}
.TooltipSpan {
	display:none;
	visibility:hidden;
}
.TooltipTip {
	width:111pt; 
	z-index:9; 
	position:absolute; 
	background-color: #ffc; 
	padding: 1px; 
	border: 1px #000 solid; 
	font-size:11pt; 
	line-height: 13pt; 
	color:black; 
	font-family:sans-serif;
}

/* == הערות שוליים == */
/* 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: "^";
}

/* הגדרות תצוגה עבור [[תבנית:הערות שוליים]] */
@media screen {
    div.limitedRef {
        height: 160px;
        overflow-y: auto;
        padding: 3px;
        border: solid 1px;
    }

    html > body div.limitedRef ol.references {
        display: block !important;
    }
}

/* sidenotes */
body.ns-104 .sidenote-left {
    position: absolute;
    left: 0;
    width: 6em;
    padding-right: 1em;
    text-indent: 0;
    text-align: left;
}

body.ns-104 .sidenote-right {
    position: absolute;
    right: 0;
    width: 6em;
    padding-left: 1em;
    text-indent: 0;
    text-align: left;
}

/* השורות הבאות מיועדות לתצוגה של אזור הערות השוליים (references)
"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)
עובד ביחד עם תבנית "{{הערות שוליים2|טורים=כן}}"  */
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 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
}

ol.refDisplayScroll {
    max-height: 20em;
    overflow: auto;
    margin:0;
}

ol.refDisplayHide {
    display: none
}

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

.mw-ref > a[data-mw-group=hebrew]::after {
    content: '[' counter( mw-Ref, hebrew ) ']';
}


/* == תוכן עניינים == */
/* אפשרות להסתרה של כותרות בתוכן העניינים החל מרמה מסוימת. למשל, <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;
}

.toc-hide-numbers .tocnumber {
    display: none;
}

/* השטחת תוכן עניינים שבתחילת הערך. מיושם עם תבנית {{תוכן עניינים שטוח}}
list-style-type = circle\disc\suqare
באדיבות משתמש קיפודנחש מויקיפדיה.  */

.flatToc li {float: right; list-style-type: disc; margin-right: 2em; margin-left: 1em; white-space: nowrap;}
.flatToc li span.tocnumber {display: none;} /*  הסרת מספור */

.flatToc-1 li.toclevel-1 {float: right; list-style-type: disc; margin-right: 2em; margin-left: 1em; white-space: nowrap;}

.flatToc-2 li.toclevel-1 {float: right; list-style-type: disc; margin-right: 2em; margin-left: 1em; white-space: nowrap;}
.flatToc-2 li.toclevel-0 {clear:right;}

.flatToc-3 li.toclevel-2 {float: right; list-style-type: disc; margin-right: 2em; margin-left: 1em; white-space: nowrap;}
.flatToc-3 li.toclevel-1 {clear:right;}
.flatToc-3 li.toclevel-0 {clear:right;}

.flatToc-4 li.toclevel-3 {float: right; list-style-type: disc; margin-right: 2em; margin-left: 1em; white-space: nowrap;}
.flatToc-4 li.toclevel-2 {clear:right;}
.flatToc-5 li.toclevel-4 {float: right; list-style-type: disc; margin-right: 2em; margin-left: 1em; white-space: nowrap;}
.flatToc-5 li.toclevel-3 {clear:right;}

.flatToc-1  li.toclevel-1 span.tocnumber {display: none;}
.flatToc-2  li.toclevel-1 span.tocnumber {display: none;}
.flatToc-2  li.toclevel-0 span.tocnumber {display: none;}

.flatToc-3  li.toclevel-2 span.tocnumber {display: none;}
.flatToc-3  li.toclevel-1 span.tocnumber {display: none;}

.flatToc-4  li.toclevel-3 span.tocnumber {display: none;}
.flatToc-4  li.toclevel-2 span.tocnumber {display: none;}
.flatToc-5  li.toclevel-4 span.tocnumber {display: none;}
.flatToc-5  li.toclevel-3 span.tocnumber {display: none;}

/* =================================== */

/* מספרי עמודים - ניסיוני */
.pagenumber {
    position: absolute;
    right: -3em;
    text-indent: 0;
    text-align: right;
    font-size: 80%;
    font-weight: normal;
    font-style: normal;
}

/* עיצוב טקטסטים מתוך ויקיטקסט האיטלקי  */
.texts {
    width: 33em;
    text-align: justify;
    margin: 0 auto;
    font-family: Alef, Alef2;
}

.texts p {
    text-indent: 2em
}

/*
Fix redirect arrow placement.
This can be removed when the following patch is deployed:
https://gerrit.wikimedia.org/r/#/c/181267/
*/
.mw-content-rtl .redirectText li:first-child {
    background-position: right bottom;
}

/* תבנית ליישור שורות בשירים - ראו כאן: 
http://stackoverflow.com/questions/27670842/how-to-justify-rows-in-a-poem
*/
.poem-justify {
    text-align: justify;
}
.poem-justify p {
    line-height:1;
    margin:0;
    padding:0;
}
.poem-justify p:after {
    content: '';
    display: inline-block;
    width: 100%;
}

.text-condensed-1, .tc-1 {
    transform: scaleX(0.9);
    transform-origin: right center 0px;
}
.text-condensed-2, .tc-2 {
    transform: scaleX(0.8);
    transform-origin: right center 0px;
}
.text-condensed-3, .tc-3 {
    transform: scaleX(0.7);
    transform-origin: right center 0px;
}

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

/* Allow displaying content in print mode only */
@media not print {
    .printonly {
    	display: none;
    }
}

/* Enhancements for [[MediaWiki:Edittools]] */
.mw-editTools a {
    padding: 1.5px;
}
.mw-editTools a:hover {
    text-decoration: none;
    background-color: #eaeaea;
}
.mw-special-Upload .mw-editTools {
	font-size: 90%;
}

/* Remove malfunctioned WS-Export button */
div#mw-indicator-\~ext-wikisource-download {
    display: none;
}

/* ‫עבור [[תבנית:תיבת הודעה]]‬ - לקוח מ[[W:מדיה ויקי:common.css]]. */
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;
}