Template:Hatnote/styles.css: Difference between revisions
From Flexible Survival
Jump to navigationJump to search
Created page with ".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 ); }" |
m Protected "Template:Hatnote/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
margin-bottom: 0.8rem; | margin-bottom: 0.8rem; | ||
background: var( --color-surface-2 ); | background: var( --color-surface-2 ); | ||
border-radius: | border-radius: 16px; | ||
color: var( --color-base--subtle ); | color: var( --color-base--subtle ); | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
| Line 16: | Line 16: | ||
height: auto; | height: auto; | ||
margin-right: 10px; | margin-right: 10px; | ||
opacity: | opacity: 50; | ||
} | } | ||
Latest revision as of 21:58, 22 May 2025
.hatnote {
display: flex;
align-items: center;
padding: 10px 15px;
margin-top: 0.6rem;
margin-bottom: 0.8rem;
background: var( --color-surface-2 );
border-radius: 16px;
color: var( --color-base--subtle );
font-size: 0.875rem;
line-height: 1.4;
}
.hatnote-icon img {
width: 14px;
height: auto;
margin-right: 10px;
opacity: 50;
}