mediawiki-skins-Citizen/skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less
2020-04-25 17:14:45 -04:00

43 lines
774 B
Plaintext

/*
* Citizen - Recent Changes Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
/*!
* Styling for Special:Watchlist and Special:RecentChanges when preference 'usenewrc'
* a.k.a. Enhanced Recent Changes is enabled.
*/
table.mw-enhanced-rc {
margin: 0 !important;
font-size: @content-monospace-size;
padding: @margin-side / 2 0;
border-bottom: 1px solid @base-80;
transition: @transition-background-quick;
&:hover {
background-color: @base-90;
}
}
.mw-enhanced-rc-nested {
margin-top: @margin-side / 4;
display: block;
.mw-tag-markers {
margin: @margin-side / 4;
}
}
@media ( prefers-color-scheme: dark ) {
table.mw-enhanced-rc {
border-color: @dark-bg-20;
&:hover {
background-color: @dark-bg-10;
}
}
}