Шаблон:Hatnote/styles.css: различия между версиями

Шаблон используемый на Wikimeat
мНет описания правки
мНет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
.hatnote {
.hatnote {
    margin-top: 0.6rem;
display: flex;
    border-radius: 8px;
align-items: center;
    padding: 10px 15px;
padding: 10px 15px;
    color: #72777d;
margin-top: 0.6rem;
    background: #f8f9fa;
margin-bottom: 0.8rem;
    font-size: 0.875rem;
background: var( --color-surface-2 );
    line-height: 1.4;
border-radius: var( --border-radius--medium );
    display: flex;
color: var( --color-base--subtle );
    align-items: center;
font-size: 0.875rem;
line-height: 1.4;
}
}


.hatnote-icon img {
.hatnote-icon img {
    opacity: .5;
width: 14px;
    margin-right: 10px;
height: auto;
    width: 14px;
margin-right: 10px;
    height: auto;
opacity: var( --opacity-icon-base );
}
}


@media only screen and (max-width: 720px) {
/* Dark theme */
    .hatnote {
html.skin-wikimeat-dark .hatnote-icon img {
        margin: 0.4rem -20px 0 -20px;
filter: invert( 1 );
        border-radius: 0;
        padding: 10px 20px;
    }
}
}

Текущая версия от 03:21, 14 июля 2022

.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-wikimeat-dark .hatnote-icon img {
	filter: invert( 1 );
}
🍪 Наш веб-сайт использует файлы cookie для того, чтобы сделать ваш опыт использования сайта лучше и анализа использования сайта