< 模板:Bulleted list(页面间差异)
小 (已保护“模板:Bulleted list/doc”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
小 (已保护“模板:Hatnote/styles.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
||
第1行: | 第1行: | ||
{ | .hatnote { | ||
display: flex; | |||
align-items: center; | |||
padding: 10px 15px; | |||
margin-top: 0.6rem; | |||
margin-bottom: 0.8rem; | |||
background: var( --color-surface-2 ); | |||
border-radius: var( --border-radius--medium ); | |||
color: var( --color-base--subtle ); | |||
font-size: 0.875rem; | |||
line-height: 1.4; | |||
} | |||
{ | .hatnote-icon img { | ||
width: 14px; | |||
height: auto; | |||
margin-right: 10px; | |||
opacity: var( --opacity-icon-base ); | |||
} | |||
/* Dark theme */ | |||
html.skin-citizen-dark .hatnote-icon img { | |||
filter: invert( 1 ); | |||
} | |||
* | |||
* | |||
2023年9月23日 (六) 22:28的最新版本
.hatnote {
display: flex;
align-items: center;
padding: 10px 15px;
margin-top: 0.6rem;
margin-bottom: 0.8rem;
background: var( --color-surface-2 );
border-radius: var( --border-radius--medium );
color: var( --color-base--subtle );
font-size: 0.875rem;
line-height: 1.4;
}
.hatnote-icon img {
width: 14px;
height: auto;
margin-right: 10px;
opacity: var( --opacity-icon-base );
}
/* Dark theme */
html.skin-citizen-dark .hatnote-icon img {
filter: invert( 1 );
}