mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
85f036c2f8
Avoid paint and layout triggering transitions
41 lines
666 B
Plaintext
41 lines
666 B
Plaintext
.skin-citizen {
|
|
.mw-dismissable-notice {
|
|
&-close {
|
|
font-size: 0; // hide brackets
|
|
|
|
> a {
|
|
display: block;
|
|
width: 24px;
|
|
height: 24px;
|
|
|
|
&::before {
|
|
display: block;
|
|
color: var( --color-base );
|
|
content: '\00d7'; // close icon
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
&:hover {
|
|
&::before {
|
|
color: var( --color-base--emphasized );
|
|
}
|
|
}
|
|
|
|
&:active {
|
|
&::before {
|
|
color: var( --color-base--subtle );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&-body {
|
|
// Default has top and bottom margin
|
|
// So bottom margin is added to respect it
|
|
margin: 0 0 var( --space-md ) 0;
|
|
}
|
|
}
|
|
}
|