"ماڈیول:Message box/ambox.css" کے نسخوں کے درمیان فرق

make this what I meant originally
م 20 revisions imported
ٹیگ: موبائل ترمیم موبائل ویب ترمیم
 
(2 صارفین 12 کے درمیانی نسخے نہیں دکھائے گئے)
سطر 1: سطر 1:
/* {{pp|small=y}} */
.ambox {
.ambox {
margin: 0 10%;                  /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
/* @noflip */
/* @noflip */
سطر 10: سطر 10:
/* Single border between stacked boxes. Take into account base templatestyles,
/* Single border between stacked boxes. Take into account base templatestyles,
  * user styles, and Template:Dated maintenance category.
  * user styles, and Template:Dated maintenance category.
  * remove link when T200206 is fixed
  * remove link selector when T200206 is fixed
  */
  */
.ambox + link + .ambox,
.ambox + link + .ambox,
سطر 22: سطر 22:
}
}


.ambox-notice {
/* For the "small=left" option. */
/* must override .ambox + .ambox styles above */
html body.mediawiki .ambox.mbox-small-left {
/* @noflip */
/* @noflip */
border-left: 10px solid #36c;       /* Blue */
margin: 4px 1em 4px 0;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}


سطر 56: سطر 63:
/* @noflip */
/* @noflip */
border-left: 10px solid #a2a9b1;    /* Gray-gold */
border-left: 10px solid #a2a9b1;    /* Gray-gold */
}
/* High specificity due to .ambox + .ambox above */
html body.mediawiki .ambox.mbox-small {  /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .ambox.mbox-small-left {  /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}


سطر 90: سطر 72:
}
}


.ambox .mbox-image {               /* The left image cell */
.ambox .mbox-image {
border: none;
border: none;
/* @noflip */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.9em left, 0px right */
padding: 2px 0 2px 0.5em;
text-align: center;
text-align: center;
}
}


.ambox .mbox-imageright {           /* The right image cell */
.ambox .mbox-imageright {
border: none;
border: none;
/* @noflip */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.9em right */
padding: 2px 0.5em 2px 0;
text-align: center;
text-align: center;
}
}


.ambox .mbox-empty-cell {           /* An empty narrow cell */
/* An empty narrow cell */
.ambox .mbox-empty-cell {
border: none;
border: none;
padding: 0;
padding: 0;
width: 1px;
width: 1px;
}
.ambox .mbox-image-div {
width: 52px;
}
@media (min-width: 720px) {
.ambox {
margin: 0 10%;                  /* 10% = Will not overlap with other elements */
}
}
@media print {
body.ns-0 .ambox {
display: none !important;
}
}
}