Template:Stack/styles.css

From Project: Jotunnheim
Revision as of 06:54, 4 December 2020 by Wikipedia>Izno (remove important by moving to end of css; code conventions; remove unnecessary .stack-item by using child combinator)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* 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%;
	}
}