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") |
||
| (25 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* Article message box styles */ | /* Article message box styles */ | ||
table.ambox { | table.ambox { | ||
margin: 0 10%; /* 10% = Will not overlap with other elements */ | |||
border: 0px solid #a2a9b1; | |||
/* @noflip */ | |||
border-left: 25px solid #0c62da; /* Standard AVID blue */ | |||
background-color: #f8f9fa; | |||
box-sizing: border-box; | |||
border-radius: 5px; | |||
} | } | ||
table.ambox + table.ambox { | /* Take into account templatestyles between two amboxes */ | ||
table.ambox + link + link + table.ambox, | |||
table.ambox + table.ambox { /* Single border between stacked boxes. */ | |||
margin-top: -1px; | |||
} | } | ||
.ambox th.mbox-text, | .ambox th.mbox-text, | ||
.ambox td.mbox-text { /* The message body cell(s) */ | .ambox td.mbox-text { /* The message body cell(s) */ | ||
padding: 0.25em 0.5em; /* 0.5em left/right */ | |||
} | } | ||
.ambox td.mbox-image { /* The left image cell */ | .ambox td.mbox-image { /* The left image cell */ | ||
/* @noflip */ | |||
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | |||
} | } | ||
.ambox td.mbox-imageright { /* The right image cell */ | .ambox td.mbox-imageright { /* The right image cell */ | ||
/* @noflip */ | |||
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | |||
} | } | ||
table.ambox-notice { | table.ambox-notice { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #0c62da; /* Standard AVID blue */ | ||
} | } | ||
table.ambox-speedy { | table.ambox-speedy { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #f8f9fa; /* White */ | ||
background-color: # | background-color: #da0c3f; /* AVID red */ | ||
} | } | ||
table.ambox-delete { | table.ambox-delete { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #da0c3f; /* AVID red */ | ||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #ffa800; /* AVID yellow */ | ||
} | } | ||
table.ambox-style { | table.ambox-style { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #ffa800; /* AVID yellow */ | ||
} | } | ||
table.ambox-move { | table.ambox-move { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #9932cc; /* Purple */ | ||
} | } | ||
table.ambox-protection { | table.ambox-protection { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: | border-left: 25px solid #a2a9b1; /* Gray-gold */ | ||
} | } | ||
/* Style for compact ambox | |||
/* Style for compact ambox, as used inside multiple issues etc. */ | |||
/* Hide the images */ | /* Hide the images */ | ||
.compact-ambox table .mbox-image, | .compact-ambox table .mbox-image, | ||
| Line 176: | Line 74: | ||
display: block; | display: block; | ||
} | } | ||
.compact-ambox table.mbox-small-left.mbox-small-left { | |||
font-size: 100%; | font-size: 100%; | ||
width: auto; | width: auto; | ||
| Line 190: | Line 88: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
list-style-type: square; | list-style-type: square; | ||
/*list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif);*/ | |||
} | } | ||
.skin-vector .compact-ambox table .mbox-text-span { | .skin-vector .compact-ambox table .mbox-text-span { | ||
list-style-type: disc; | list-style-type: disc; | ||
/*list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);*/ | |||
} | } | ||
/* Allow for hiding text in compact form */ | /* Allow for hiding text in compact form */ | ||
.compact-ambox .hide-when-compact { | .compact-ambox .hide-when-compact { | ||
display: none; | display: none; | ||
} | } | ||