MediaWiki:Gadget-AdvancedSiteNotices.css:修订间差异

MediaWiki系统消息页面
(导入1个版本:​小工具集导入 来源求闻百科[页面文字原许可:CC BY-SA 4.0])
(Git更新:([https://github.com/TopRealm/InterfaceCodes/commit/df5bea039590a3cc5c0bca7e4ee6f671be739cc8 df5bea0]) fix(ASN): add aria-label #Qiuwen-upstream (#114))
第8行: 第8行:
display: flex;
display: flex;
height: 4em;
height: 4em;
flex-direction: row;
align-items: center;
align-items: center;
padding: 0 0.5em;
padding: 0 0.5em;
第14行: 第13行:
background: #fafbfc;
background: #fafbfc;
overflow-y: hidden;
overflow-y: hidden;
text-align: center;
}
}


#asn-name {
#asn-name {
min-width: 3em;
order: 1;
order: 1;
padding: 0 0.5em;
border-radius: 0.25em;
border-radius: 0.25em;
background: #36c;
background: #36c;
color: #fff;
color: #fff;
text-align: center;
white-space: nowrap;
}
}


#asn-dismissable-notice {
#asn-dismissable-notice {
display: block;
width: 100%;
width: 100%;
order: 2;
order: 2;
margin: 1em 0.5em;
margin: 1em 0.5em;
background: transparent;
}
}


第41行: 第39行:
order: 3;
order: 3;
font-size: 150%;
font-size: 150%;
text-align: center;
}
}



2023年7月28日 (五) 09:34的版本

/**
 * SPDX-License-Identifier: CC-BY-SA-4.0
 * _addText: '{{Gadget Header|license=CC-BY-SA-4.0}}'
 *
 * @source <zh.wikipedia.org/wiki/MediaWiki:Gadget-AdvancedSiteNotices.css>
 */
#asn-area {
	display: flex;
	height: 4em;
	align-items: center;
	padding: 0 0.5em;
	border: 1px solid #ccc;
	background: #fafbfc;
	overflow-y: hidden;
	text-align: center;
}

#asn-name {
	order: 1;
	padding: 0 0.5em;
	border-radius: 0.25em;
	background: #36c;
	color: #fff;
	white-space: nowrap;
}

#asn-dismissable-notice {
	width: 100%;
	order: 2;
	margin: 1em 0.5em;
}

#advancedSiteNotices {
	word-break: break-word;
}

#asn-dismiss {
	min-width: 2em;
	order: 3;
	font-size: 150%;
}

#asn-dismiss a {
	color: #000;
}

#asn-dismiss a:hover {
	color: #36c;
	text-decoration: none;
}