MediaWiki:Common.css: Difference between revisions
Content deleted Content added
Piranhaplant (talk | contribs) No edit summary |
Piranhaplant (talk | contribs) No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
/* Infoboxes */ |
|||
.infotable { |
.infotable { |
||
Line 6: | Line 8: | ||
padding: 5px; |
padding: 5px; |
||
margin-left: 3px; |
margin-left: 3px; |
||
border: 1px solid #a2a9b1; |
|||
⚫ | |||
width: 220px; |
|||
font-size: 88%; |
|||
} |
} |
||
.infotable th { |
.infotable th { |
||
text-align: left; |
text-align: left; |
||
vertical-align: top; |
|||
} |
} |
||
.infotable th[colspan="2"] { |
|||
⚫ | |||
text-align: center; |
|||
⚫ | |||
font-size: 110%; |
|||
} |
} |
||
/* Main page */ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
.mainpage_box_container { |
.mainpage_box_container { |
||
Line 42: | Line 48: | ||
/* Hide BPMN embeds before javascript is run */ |
/* Hide BPMN embeds before javascript is run */ |
||
.bpmn_embed #canvas { |
.bpmn_embed #canvas { |
||
display: none; |
display: none; |
||
} |
} |
||
/* Utility styles */ |
|||
⚫ | |||
background-color: #eaecf0; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
.col1_center td:nth-child(1) { text-align: center; } |
|||
.col2_center td:nth-child(2) { text-align: center; } |
|||
.col3_center td:nth-child(3) { text-align: center; } |
|||
.col4_center td:nth-child(4) { text-align: center; } |
|||
.col5_center td:nth-child(5) { text-align: center; } |
|||
.col6_center td:nth-child(6) { text-align: center; } |
|||
.col7_center td:nth-child(7) { text-align: center; } |
|||
.col8_center td:nth-child(8) { text-align: center; } |
|||
.col9_center td:nth-child(9) { text-align: center; } |
|||
.col1_right td:nth-child(1) { text-align: right; } |
|||
.col2_right td:nth-child(2) { text-align: right; } |
|||
.col3_right td:nth-child(3) { text-align: right; } |
|||
.col4_right td:nth-child(4) { text-align: right; } |
|||
.col5_right td:nth-child(5) { text-align: right; } |
|||
.col6_right td:nth-child(6) { text-align: right; } |
|||
.col7_right td:nth-child(7) { text-align: right; } |
|||
.col8_right td:nth-child(8) { text-align: right; } |
|||
.col9_right td:nth-child(9) { text-align: right; } |
Latest revision as of 16:13, 17 August 2024
/* CSS placed here will be applied to all skins */
/* Infoboxes */
.infotable {
float: right;
clear: right;
padding: 5px;
margin-left: 3px;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 220px;
font-size: 88%;
}
.infotable th {
text-align: left;
vertical-align: top;
}
.infotable th[colspan="2"] {
text-align: center;
font-size: 110%;
}
/* Main page */
.mainpage_box_container {
columns: 2;
}
@media (max-width: 600px) {
.mainpage_box_container {
columns: 1;
}
}
.mainpage_box {
width: 100%;
display: inline-block;
}
.mainpage_box h3 {
color: white;
background: gray;
padding: 8px;
}
/* Hide BPMN embeds before javascript is run */
.bpmn_embed #canvas {
display: none;
}
/* Utility styles */
.highlightrow {
background-color: #eaecf0;
}
.breakrow td {
border-top-width: 3px!important;
}
.col1_center td:nth-child(1) { text-align: center; }
.col2_center td:nth-child(2) { text-align: center; }
.col3_center td:nth-child(3) { text-align: center; }
.col4_center td:nth-child(4) { text-align: center; }
.col5_center td:nth-child(5) { text-align: center; }
.col6_center td:nth-child(6) { text-align: center; }
.col7_center td:nth-child(7) { text-align: center; }
.col8_center td:nth-child(8) { text-align: center; }
.col9_center td:nth-child(9) { text-align: center; }
.col1_right td:nth-child(1) { text-align: right; }
.col2_right td:nth-child(2) { text-align: right; }
.col3_right td:nth-child(3) { text-align: right; }
.col4_right td:nth-child(4) { text-align: right; }
.col5_right td:nth-child(5) { text-align: right; }
.col6_right td:nth-child(6) { text-align: right; }
.col7_right td:nth-child(7) { text-align: right; }
.col8_right td:nth-child(8) { text-align: right; }
.col9_right td:nth-child(9) { text-align: right; }