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

מתוך ויקיפועל
קפיצה לניווט קפיצה לחיפוש

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

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

cargoDynamicTable tbody td {padding: 0px 0px;}
cargoDynamicTable tbody th {padding: 0px 0px;}

.0cell div{background-color:white}

.1cell div{background-color:#FFC1C1} /*light red*/

.xcell div{background-color:#D1D1D1} /*gray*/
/********************************************/

# p-personal {
color: #000000;
background-color: #FF0000;
}

/* footer border color */
#footer {
border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;
border: 1px solid #aaa;
}

table.collapsed tr.collapsable {
	display: none;
}
 
.collapseButton {		/* 'show'/'hide' buttons created dynamically by the		*/
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: right;
	width: auto;
}

// Strip הנצחה: from the page title
$('h1#title').each(function() {
    this.innerHTML = this.innerHTML.replace("הנצחה:", "");
});
$('title').each(function() {
    this.innerHTML = this.innerHTML.replace("Foo:", "");
})

a.external {
    background: none;
    padding-right: 0;
}

$(document).ready( function() {
  let tree = $('#wikitext-sidebar');
  $('#p-logo').after( tree.html() );
  tree.remove();
});

/* Main page for mobile etc */
/* Home page column layout 
*/

.rowAfter:after {  /* Clear floats after the columns */
    content: "";
    display: table;
    clear: both;
}

.htcolumn {
    float: right;
    box-sizing: border-box;
}

.htcolumn.htdesc {
    width: 49.00%;
    box-sizing: border-box;
}

.htcolumn.httoc {
    width: 49.00%;
    box-sizing: border-box;
}

@media screen and (max-width: 800px) {
    .htcolumn.htdesc, .htcolumn.httoc {
        width: 100%;
    }

    .memorybox  {
        box-sizing: border-box;
        width:100%;
        float:left;
    }
}