@import "minerva.variables";
@import "minerva.mixins";

.overlay {
	.error {
		border: solid 1px @redBase;
	}

	.comment {
		margin: 40px 0 10px 0;

		.comment-content {
			margin: 0 @contentMargin;
		}

		.wikitext-editor {
			margin-top: 1em;
			// Normally, wikitext editors don't have a border
			border: 1px solid @grayLight;
		}

		// Restrict width of save button (otherwise 100%)
		button.mw-ui-block {
			max-width: 10em;
		}
	}

	.overlay-content {
		padding-bottom: 3.5em;
	}

	a {
		cursor: pointer;
	}
}

.content-header {
	.add {
		margin-top: 1em;
	}
}

@media all and (min-width: @wgMFDeviceWidthTablet) {
	// Although talk pages are only loaded in alpha and beta currently, this is overriding
	// a rule targeted to alpha and beta in tablet/common.less.
	.alpha,
	.beta {
		.content.talk-section {
			margin: 0 auto 0 0;
		}
	}
}
