Template:Stack/styles.css: Difference between revisions
Jump to navigation
Jump to search
(remove important by moving to end of css; code conventions; remove unnecessary .stack-item by using child combinator) |
imported>Autumn m (1 revision imported) |
(No difference)
|
Revision as of 16:38, 9 March 2021
/* Styling for Template:Stack {{pp-template}} */ .stack-container { box-sizing: border-box; } .stack-clear-left { float: left; clear: left; } .stack-clear-right { float: right; clear: right; } .stack-left { float: left; } .stack-right { float: right; } .stack-margin-clear-left { float: left; clear: left; margin-right: 1em; } .stack-margin-clear-right { float: right; clear: right; margin-left: 1em; } .stack-margin-left { float: left; margin-right: 1em; } .stack-margin-right { float: right; margin-left: 1em; } .stack-container > div { margin: 1px; overflow: hidden; } @media all and (max-width: 720px) { .stack-container { float: none; width: 100%; } }