تضامنًا مع حق الشعب الفلسطيني |
وحدة:Message box/ambox.css
اذهب إلى التنقل
اذهب إلى البحث
/* {{pp|small=y}} */
.ambox {
margin: 0; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-right: 2px solid #36c; /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
/* Single border between stacked boxes. Take into account base templatestyles,
* user styles, and Template:Dated maintenance category.
* remove link selector when T200206 is fixed
*/
.ambox + link + .ambox,
.ambox + link + style + .ambox,
.ambox + link + link + .ambox,
/* TODO: raise these as "is this really that necessary???". the change was Dec 2021 */
.ambox + .mw-empty-elt + link + .ambox,
.ambox + .mw-empty-elt + link + style + .ambox,
.ambox + .mw-empty-elt + link + link + .ambox {
margin-top: -1px;
}
/* For the "small=left" option. */
/* must override .ambox + .ambox styles above */
html body.mediawiki .ambox.mbox-small-right {
/* @noflip */
margin: 4px 1em 4px 0;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
.ambox-speedy {
/* @noflip */
border: 1px solid #b32424; /* Red */
border-right: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ambox-delete {
/* @noflip */
border: 1px solid #b32424; /* Red */
border-right: 2px solid #b32424; /* Red */
}
.ambox-content {
/* @noflip */
border: 1px solid #f28500; /* Orange */
border-right: 2px solid #f28500; /* Orange */
}
.ambox-style {
/* @noflip */
border: 1px solid #fc3; /* Yellow */
border-right: 2px solid #fc3; /* Yellow */
}
.ambox-move {
/* @noflip */
border: 1px solid #9932cc; /* Purple */
border-right: 2px solid #9932cc; /* Purple */
}
.ambox-current {
/* @noflip */
border: 1px solid #A5D6A7; /* Green */
border-right: 2px solid #A5D6A7; /* Green */
}
.ambox-featured {
/* @noflip */
border: 1px solid #C0C0C0; /* Silver */
}
.ambox-protection {
/* @noflip */
border-right: 1px solid #a2a9b1; /* Gray-gold */
border-right: 2px solid #a2a9b1; /* Gray-gold */
}
.ambox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.5em;
width: 100%;
font-size: 95%;
}
.ambox .mbox-text .date-container {
font-size: smaller; /* Smaller Date Container */
}
.ambox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
.ambox .mbox-imageleft {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
/* An empty narrow cell */
.ambox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ambox .mbox-image-div {
width: 42px;
}
/* Hack around MobileFrontend being opinionated */
html.client-js body.skin-minerva .mbox-text-span {
margin-right: 23px !important;
}
@media (min-width: 720px) {
.ambox {
margin: 0; /* 10% = Will not overlap with other elements */
}
}
/* الأسطر التالية سحبت من common.css */
/* Article message box styles */
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
font-size: 95%;
}
.ambox th.mbox-text .date-container,
.ambox td.mbox-text .date-container { /* Smaller Date Container */
font-size: small;
}
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0.2em 2px 0; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageleft { /* The right image cell */
/* @noflip */
padding: 2px 0.2em 2px 0; /* 0.5em left, 0px right */
}
.ambox-notice {
/* @noflip */
border: 1px solid #36c; /* Blue */
border-right: 2px solid #36c; /* Blue */
}
/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageleft,
.compact-ambox table .mbox-empty-cell {
display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background-color: transparent;
margin: 0 1.6em 0 0 !important;
padding: 0 !important;
width: auto;
display: block;
}
body.mediawiki .compact-ambox table.mbox-small-right {
font-size: 100%;
width: auto;
margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
padding: 0 !important;
margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
display: list-item;
line-height: 1.5em;
list-style-type: square;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
display: none;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
display: none;
}