MediaWiki:Common.css: Difference between revisions
(important for float none!) |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
#footer-unitaico{ | #footer-unitaico{ | ||
float: none!important; | float: none!important; | ||
} | |||
.in-front{ | |||
z-index:1000; | |||
} | |||
.to-back{ | |||
z-index: -1; | |||
} | |||
/* === Custom info box styling ===*/ | |||
table.customInfoTable { | |||
float: right; | |||
clear: right; | |||
background-color: #EEEEEE; | |||
border-collapse: collapse; | |||
border-width: 1px; | |||
border-color: lightgrey; | |||
border-style: solid; | |||
color: #000000; | |||
margin: 16px; | |||
max-width:420px; | |||
} | |||
table.customInfoTable pre { | |||
display: none; /* or */ | |||
all: unset; /* to remove all styles */ | |||
} | |||
table.customInfoTable tr:first-child { | |||
font-size: larger; | |||
} | |||
table.customInfoTable td:last-child { | |||
text-align: right; | |||
} | |||
table.customInfoTable td, table.customInfoTable th { | |||
border-width: 1px 0 1px 0; | |||
border-color: lightgrey; | |||
border-style: solid; | |||
padding: 5px; | |||
} | |||
table.centered-table th, | |||
table.centered-table td { | |||
vertical-align: middle; /* Vertically center the content */ | |||
text-align: left; /* Horizontally align the text to the left */ | |||
} | |||
.noticebox { | |||
border: 1px solid red; | |||
background-color: #FFCCCC; | |||
padding: 10px; | |||
margin: 1em 0; | |||
} | } |
Latest revision as of 15:56, 16 April 2025
/* CSS placed here will be applied to all skins */
#footer-unitaico{
float: none!important;
}
.in-front{
z-index:1000;
}
.to-back{
z-index: -1;
}
/* === Custom info box styling ===*/
table.customInfoTable {
float: right;
clear: right;
background-color: #EEEEEE;
border-collapse: collapse;
border-width: 1px;
border-color: lightgrey;
border-style: solid;
color: #000000;
margin: 16px;
max-width:420px;
}
table.customInfoTable pre {
display: none; /* or */
all: unset; /* to remove all styles */
}
table.customInfoTable tr:first-child {
font-size: larger;
}
table.customInfoTable td:last-child {
text-align: right;
}
table.customInfoTable td, table.customInfoTable th {
border-width: 1px 0 1px 0;
border-color: lightgrey;
border-style: solid;
padding: 5px;
}
table.centered-table th,
table.centered-table td {
vertical-align: middle; /* Vertically center the content */
text-align: left; /* Horizontally align the text to the left */
}
.noticebox {
border: 1px solid red;
background-color: #FFCCCC;
padding: 10px;
margin: 1em 0;
}