Template:Shortcut/styles.css: Difference between revisions
(float right here) |
(from sandbox) |
||
Line 1: | Line 1: | ||
/* {{pp-template}} */ | /* {{pp-template}} */ | ||
.module-shortcutboxplain { | .module-shortcutboxplain { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background: #fff; | background: #fff; | ||
padding: 0.3em 0.6em 0.2em 0.6em; | padding: 0.3em 0.6em 0.2em 0.6em; | ||
text-align: center; | text-align: center; | ||
font-size: 85%; | font-size: 85%; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
.module-shortcutboxplain:not(.module-shortcutboxleft) { | |||
float: right; | |||
margin-left: 1em; | |||
} | |||
.module-shortcutboxleft { | |||
float: left; | |||
margin-right: 1em; | |||
} | } | ||
Revision as of 17:52, 16 February 2021
/* {{pp-template}} */ .module-shortcutboxplain { border: 1px solid #aaa; background: #fff; padding: 0.3em 0.6em 0.2em 0.6em; text-align: center; font-size: 85%; font-weight: bold; } .module-shortcutboxplain:not(.module-shortcutboxleft) { float: right; margin-left: 1em; } .module-shortcutboxleft { float: left; margin-right: 1em; } .module-shortcutlist { display: inline-block; border-bottom: 1px solid #aaa; margin-bottom: 0.2em; font-weight: normal; } .module-shortcutanchordiv { position: relative; top: -3em; } li .module-shortcutanchordiv { float: right; /* IE/Edge in list items */ }