MediaWiki:Common.css/src/interface/usermessage.scss

From Terraria Wiki
Jump to navigation Jump to search

This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.

@use '../lib';
/********* Usermessage *********/

/* Box at the top of all pages when the user has a new message on their User_talk: page:
 * https://meta.wikimedia.org/wiki/New_messages_notification */

/* overwriting styles from here:
 * https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.skinning/interface-user-message.less */

.usermessage {
	@include lib.widget-style;
	border-color: var(--theme-notice-yellow-border-color);
	background: var(--theme-notice-yellow-background-color); // "background" instead of "background-color" is necessary to override the style from lib.widget-style
	color: var(--theme-text-color);
}