Template:Ambox/styles.css: Difference between revisions

Jump to navigation Jump to search
m
Text replacement - "border-left: 25px solid #ffffff" to "border-left: 25px solid #f8f9fa"
imported>Hb1290
No edit summary
imported>Compooper
m (Text replacement - "border-left: 25px solid #ffffff" to "border-left: 25px solid #f8f9fa")
 
(45 intermediate revisions by 2 users not shown)
Line 2: Line 2:
table.ambox {
table.ambox {
margin: 0 10%;                  /* 10% = Will not overlap with other elements */
margin: 0 10%;                  /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border: 0px solid #a2a9b1;
/* @noflip */
/* @noflip */
border-left: 10px solid #36c;  /* Default "notice" blue */
border-left: 25px  solid #0c62da;  /* Standard AVID blue */
background-color: #fbfbfb;
background-color: #f8f9fa;
box-sizing: border-box;
box-sizing: border-box;
border-radius: 5px;
}
}
/* Take into account templatestyles between two amboxes */
table.ambox + link + link + table.ambox,
table.ambox + table.ambox {      /* Single border between stacked boxes. */
table.ambox + table.ambox {      /* Single border between stacked boxes. */
margin-top: -1px;
margin-top: -1px;
Line 15: Line 18:
padding: 0.25em 0.5em;      /* 0.5em left/right */
padding: 0.25em 0.5em;      /* 0.5em left/right */
}
}
.td.mbox-image {          /* The left image cell */
.ambox td.mbox-image {          /* The left image cell */
/* @noflip */
/* @noflip */
padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
}
mbox-imageright {      /* The right image cell */
.ambox td.mbox-imageright {      /* The right image cell */
/* @noflip */
/* @noflip */
padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}
}


ambox-notice {
table.ambox-notice {
/* @noflip */
/* @noflip */
border-left: 10px solid #36c;       /* Blue */
border-left: 25px  solid #0c62da; /* Standard AVID blue */
}
}
ambox-speedy {
table.ambox-speedy {
/* @noflip */
/* @noflip */
border-left: 10px solid #b32424;    /* Red */
border-left: 25px solid #f8f9fa;    /* White */
background-color: #fee7e6;          /* Pink */
background-color: #da0c3f;          /* AVID red */
}
}
ambox-delete {
table.ambox-delete {
/* @noflip */
/* @noflip */
border-left: 10px solid #b32424;    /* Red */
border-left: 25px solid #da0c3f;    /* AVID red */
}
}
ambox-content {
table.ambox-content {
/* @noflip */
/* @noflip */
border-left: 10px solid #f28500;    /* Orange */
border-left: 25px solid #ffa800;    /* AVID yellow */
}
}
ambox-style {
table.ambox-style {
/* @noflip */
/* @noflip */
border-left: 10px solid #fc3;       /* Yellow */
border-left: 25px solid #ffa800;   /* AVID yellow */
}
}
ambox-move {
table.ambox-move {
/* @noflip */
/* @noflip */
border-left: 10px solid #9932cc;    /* Purple */
border-left: 25px solid #9932cc;    /* Purple */
}
}
ambox-protection {
table.ambox-protection {
/* @noflip */
/* @noflip */
border-left: 10px solid #a2a9b1;    /* Gray-gold */
border-left: 25px solid #a2a9b1;    /* Gray-gold */
}
}
ambox-phone {
 
/* @noflip */
/* Style for compact ambox, as used inside multiple issues etc. */
border-left: 10px solid #fc3;       /* Yellow */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.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 0 0 1.6em !important;
padding: 0 !important;
width: auto;
display: block;
}
.compact-ambox table.mbox-small-left.mbox-small-left {
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;
/*list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif);*/
}
.skin-vector .compact-ambox table .mbox-text-span {
list-style-type: disc;
/*list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);*/
}
}
ambox-noise {
/* Allow for hiding text in compact form */
/* @noflip */
.compact-ambox .hide-when-compact {
border-left: 10px solid #fc3;       /* Yellow */
display: none;
}
}
Anonymous user

Navigation menu