mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-11 05:56:16 +00:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
/*
|
|
* Citizen - Diff Styles
|
|
* https://starcitizen.tools
|
|
*/
|
|
|
|
@import '../../resources/variables.less';
|
|
|
|
.diff {
|
|
display: table; // So that it does not break layout in mobile
|
|
|
|
&change {
|
|
color: var( --color-emphasized );
|
|
}
|
|
|
|
&-lineno {
|
|
font-size: var( --font-size-small );
|
|
font-weight: var( --font-weight-normal );
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
&-context {
|
|
color: var( --color-subtle );
|
|
background: transparent;
|
|
border-color: var( --border-color-base );
|
|
}
|
|
|
|
&-addedline {
|
|
border-color: var( --color-success );
|
|
|
|
.diffchange {
|
|
background: var( --background-color-success-subtle );
|
|
}
|
|
}
|
|
|
|
&-deletedline {
|
|
border-color: var( --color-destructive );
|
|
|
|
.diffchange {
|
|
background: var( --background-color-destructive-subtle );
|
|
}
|
|
}
|
|
|
|
&-addedline,
|
|
&-deletedline,
|
|
&-context {
|
|
font-size: var( --font-size-x-small ); // relative font size
|
|
}
|
|
|
|
&-editfont-monospace {
|
|
.diff {
|
|
&-addedline,
|
|
&-deletedline,
|
|
&-context {
|
|
font-family: var( --font-family-monospace );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-diff-movedpara-left::after,
|
|
.mw-diff-movedpara-right::after {
|
|
color: var( --color-subtle );
|
|
}
|