Template:Redirects/styles.css: Difference between revisions
Template page
More actions
←Created page with '.shortcutbox-template { font-size: x-small; line-height: 1.4; float: right; margin: 2px 0 2px .5em; border: 1px solid #a2a9b1; background-color: #fff; padding: 1px .5em; text-align: center; } .shortcutbox-template-floatleft { →@noflip: float: left; →@noflip: margin: 2px .5em 2px 0; } .shortcutbox-template-floatright { →@noflip: float: right; →@noflip: margin: 2px 0 2px .5em; } .shortcutbox-template > a {...' |
Please don't create anything with text that small – see w:MOS:SMALL "In no case should the resulting font size of any text drop below 85% of the page's default font size". I used styles from w:Module:Shortcut/styles.css. |
||
| Line 1: | Line 1: | ||
.shortcutbox-template { | .shortcutbox-template { | ||
float: right; | float: right; | ||
margin: | margin: 0 0 0 1em; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
background-color: #fff; | background-color: #fff; | ||
padding: | color: inherit; /* support dark mode */ | ||
padding: 0.3em 0.6em 0.2em 0.6em; | |||
text-align: center; | text-align: center; | ||
font-size: 85%; | |||
} | |||
.shortcutbox-template-header { | |||
display: inline-block; | |||
border-bottom: 1px solid #a2a9b1; | |||
margin-bottom: 0.2em; | |||
} | } | ||
.shortcutbox-template-floatleft { | .shortcutbox-template-floatleft { | ||
/* @noflip */ | /* @noflip */ | ||
| Line 15: | Line 22: | ||
margin: 2px .5em 2px 0; | margin: 2px .5em 2px 0; | ||
} | } | ||
.shortcutbox-template-floatright { | .shortcutbox-template-floatright { | ||
/* @noflip */ | /* @noflip */ | ||
| Line 20: | Line 28: | ||
/* @noflip */ | /* @noflip */ | ||
margin: 2px 0 2px .5em; | margin: 2px 0 2px .5em; | ||
} | } | ||