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

מתוך ויקיפועל
קפיצה לניווט קפיצה לחיפוש
מ (גרסה אחת: המשך עדכון מקביל לשרת ישן)
אין תקציר עריכה
 
(32 גרסאות ביניים של אותו משתמש אינן מוצגות)
שורה 1: שורה 1:
/* 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 {
# p-personal {
color: #000000;
color: #000000;
background-color: #FF0000;
background-color: #FF0000;
}
/* footer border color */
#footer {
border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;
border: 1px solid #aaa;
}
}


שורה 15: שורה 33:
}
}


/* Allow limiting of which header levels are shown in a TOC;
// Strip הנצחה: from the page title
  <div class="toclimit-3">, for instance, will limit to
$('h1#title').each(function() {
  showing ==headings== and ===headings=== but no further
    this.innerHTML = this.innerHTML.replace("הנצחה:", "");
  (as long as there are no =headings= on the page, which
});
  there shouldn't be according to the MoS).
$('title').each(function() {
  */
    this.innerHTML = this.innerHTML.replace("Foo:", "");
.toclimit-1 .toclevel-1,
})
.toclimit-2 .toclevel-2,
 
.toclimit-3 .toclevel-3,
a.external {
.toclimit-4 .toclevel-4,
    background: none;
.toclimit-5 .toclevel-5,
    padding-right: 0;
.toclimit-6 .toclevel-6,
}
.toclimit-7 .toclevel-7 { display: none; }
 
$(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;
    }
}

גרסה אחרונה מ־07:33, 25 בנובמבר 2023

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