Template:Ambox/styles.css: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Hb1290 No edit summary |
imported>Hb1290 No edit summary |
||
| Line 94: | Line 94: | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid #a2a9b1; /* Gray-gold */ | border-left: 10px solid #a2a9b1; /* Gray-gold */ | ||
} | |||
/* Style for compact ambox */ | |||
/* 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; | |||
} | |||
body.mediawiki .compact-ambox table.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; | |||
} | |||
.skin-vector .compact-ambox table .mbox-text-span { | |||
list-style-type: disc; | |||
} | |||
/* Allow for hiding text in compact form */ | |||
.compact-ambox .hide-when-compact { | |||
display: none; | |||
} | } | ||