2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Framework
|
|
|
|
*/
|
|
|
|
html {
|
2020-02-06 19:44:22 +00:00
|
|
|
scroll-behavior: smooth; // not supported by IE, Edge, Safari, and Opera, use JQuery as fallback
|
2021-02-04 15:10:35 +00:00
|
|
|
scroll-padding-top: ~'calc(var(--height-header) + 20px)'; // fixed header offset, supported by major browsers
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
2020-02-06 19:44:22 +00:00
|
|
|
min-height: 100%;
|
|
|
|
padding: 0;
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2021-01-12 19:31:35 +00:00
|
|
|
background: var( --background-color-dp-00 );
|
|
|
|
color: var( --color-base );
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2021-01-12 19:31:35 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
table {
|
2020-02-17 11:28:16 +00:00
|
|
|
display: block;
|
2020-02-06 19:44:22 +00:00
|
|
|
overflow: auto;
|
2021-01-11 16:45:52 +00:00
|
|
|
max-width: 100vw;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2020-02-06 19:44:22 +00:00
|
|
|
display: none;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2020-02-06 19:44:22 +00:00
|
|
|
list-style-type: square;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
2019-12-10 18:38:02 +00:00
|
|
|
ul,
|
|
|
|
ol,
|
2019-12-04 03:51:50 +00:00
|
|
|
dl {
|
2020-02-06 19:44:22 +00:00
|
|
|
margin: @content-margin-top 0 0 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
.mw-code {
|
2021-01-12 19:31:35 +00:00
|
|
|
border: 1px solid var( --border-color-base );
|
|
|
|
background-color: var( --background-color-framed );
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 1px 4px;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
.mw-code {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 1rem;
|
|
|
|
/* Wrap lines in overflow. T2260, T103780 */
|
|
|
|
white-space: pre-wrap;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2021-01-09 21:56:28 +00:00
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
2021-01-14 21:51:18 +00:00
|
|
|
border: 1px solid var( --border-color-input );
|
2021-01-15 00:09:15 +00:00
|
|
|
background-color: var( --background-color-input );
|
2021-01-12 19:31:35 +00:00
|
|
|
color: inherit;
|
2021-01-09 21:56:28 +00:00
|
|
|
}
|
|
|
|
|
2019-12-10 20:32:34 +00:00
|
|
|
fieldset {
|
2021-01-16 01:28:13 +00:00
|
|
|
padding: @content-margin-top / 2 20px;
|
2021-01-15 00:09:15 +00:00
|
|
|
border: 1px solid var( --border-color-base );
|
2020-02-06 19:44:22 +00:00
|
|
|
margin: @content-margin-top 0;
|
2019-12-10 20:32:34 +00:00
|
|
|
}
|
|
|
|
|
2020-02-06 19:44:22 +00:00
|
|
|
fieldset > table {
|
|
|
|
margin-top: 0 !important;
|
2019-12-10 20:32:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 4px;
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2021-01-12 19:31:35 +00:00
|
|
|
color: var( --color-base--subtle );
|
2019-12-10 20:32:34 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
textarea {
|
2020-02-06 19:44:22 +00:00
|
|
|
width: 100%;
|
2020-02-06 19:44:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2021-02-21 05:43:39 +00:00
|
|
|
margin: @content-margin-top var( --padding-page );
|
|
|
|
color: var( --color-base--subtle );
|
2020-02-06 19:44:22 +00:00
|
|
|
|
|
|
|
cite {
|
|
|
|
display: block;
|
|
|
|
margin-top: @content-margin-top * @content-scaling;
|
2020-02-06 19:56:46 +00:00
|
|
|
|
|
|
|
&:before {
|
2020-02-06 19:56:27 +00:00
|
|
|
content: '— ';
|
2020-02-06 19:56:46 +00:00
|
|
|
}
|
2020-02-06 19:44:22 +00:00
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 00:43:44 +00:00
|
|
|
dd {
|
2020-02-06 19:44:22 +00:00
|
|
|
margin-bottom: 0.1rem;
|
2021-01-11 16:45:52 +00:00
|
|
|
margin-left: @content-margin-top * 2;
|
2019-11-19 00:43:44 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
td {
|
2020-02-06 19:44:22 +00:00
|
|
|
> p,
|
|
|
|
> ul,
|
|
|
|
> ol {
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0; // Remove margin for the first element in td
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-01-12 20:13:24 +00:00
|
|
|
color: var( --color-primary );
|
2020-02-06 19:44:22 +00:00
|
|
|
text-decoration: none !important;
|
|
|
|
|
|
|
|
&:not( [ href ] ) {
|
|
|
|
cursor: pointer;
|
|
|
|
/* Always cursor:pointer even without href */
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2021-01-12 20:13:24 +00:00
|
|
|
color: var( --color-primary--hover );
|
2021-01-12 19:31:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2021-01-12 20:13:24 +00:00
|
|
|
color: var( --color-primary--active );
|
2020-02-06 19:44:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
2021-01-14 17:53:29 +00:00
|
|
|
color: var( --color-destructive ) !important; // Override visited
|
2020-02-06 19:44:22 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-01-14 17:53:29 +00:00
|
|
|
color: var( --color-destructive--hover ) !important;
|
2021-01-12 19:31:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2021-01-14 17:53:29 +00:00
|
|
|
color: var( --color-destructive--active ) !important;
|
2020-02-06 19:44:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-selflink {
|
|
|
|
color: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: inherit;
|
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
2020-06-11 01:41:05 +00:00
|
|
|
&:active {
|
2020-02-06 19:44:22 +00:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 2px 4px;
|
2021-01-12 19:31:35 +00:00
|
|
|
background-color: var( --background-color-destructive );
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-12-11 05:53:49 +00:00
|
|
|
.nowrap {
|
2020-02-06 19:44:22 +00:00
|
|
|
white-space: nowrap;
|
2019-12-11 05:53:49 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Content
|
|
|
|
*/
|
|
|
|
.mw-body,
|
|
|
|
.parsoid-body {
|
2020-02-06 19:44:22 +00:00
|
|
|
min-height: 80vh; // avoid footer being in the middle of the page
|
2021-01-16 01:28:13 +00:00
|
|
|
padding: 0 var( --padding-page );
|
|
|
|
margin-top: ~'calc(var( --height-header ) + 20px)';
|
2020-02-06 19:44:22 +00:00
|
|
|
direction: ltr;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2020-06-14 01:54:32 +00:00
|
|
|
.mw-body-content {
|
|
|
|
.plainlist ol,
|
|
|
|
.plainlist ul {
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2020-06-14 01:54:32 +00:00
|
|
|
line-height: inherit;
|
|
|
|
list-style: none none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-11 22:15:40 +00:00
|
|
|
figcaption,
|
|
|
|
.thumbcaption {
|
|
|
|
margin: @content-margin-top / 2 0 0;
|
|
|
|
color: @base-30;
|
|
|
|
}
|
2020-02-06 19:44:22 +00:00
|
|
|
|
2020-06-12 05:43:12 +00:00
|
|
|
.thumb {
|
|
|
|
> .thumbinner {
|
|
|
|
> a {
|
2020-08-20 16:36:50 +00:00
|
|
|
transition: @transition-box-shadow-quick;
|
2020-06-12 05:43:12 +00:00
|
|
|
|
|
|
|
&:hover:not( .lazy ):not( .new ) {
|
|
|
|
.boxshadow(2);
|
|
|
|
|
|
|
|
img {
|
|
|
|
transform: scale( 1.1 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
display: block;
|
2021-01-11 16:45:52 +00:00
|
|
|
padding: @margin-side / 2;
|
2021-01-12 19:31:35 +00:00
|
|
|
background-color: var( --background-color-framed );
|
2020-08-20 16:36:50 +00:00
|
|
|
transition: @transition-background-quick, @transition-color-quick;
|
2020-06-12 05:43:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-26 19:56:11 +00:00
|
|
|
// TODO: Think of better places to put indicators;
|
2020-06-12 17:44:24 +00:00
|
|
|
.mw-indicators {
|
2021-01-26 20:38:27 +00:00
|
|
|
padding-left: 10px;
|
|
|
|
border-left: 1px solid var( --border-color-base );
|
|
|
|
margin-left: 10px;
|
2021-01-26 19:56:11 +00:00
|
|
|
font-size: @ui-menu-text;
|
2020-06-12 17:44:24 +00:00
|
|
|
}
|
2020-02-06 19:44:22 +00:00
|
|
|
|
2021-01-12 19:31:35 +00:00
|
|
|
.printfooter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.patrollink {
|
|
|
|
font-size: 75%;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2021-01-09 21:56:28 +00:00
|
|
|
.skin-citizen-dark {
|
|
|
|
.mw-editsection > a:before {
|
|
|
|
filter: invert( 1 );
|
|
|
|
}
|
2021-01-26 20:38:27 +00:00
|
|
|
|
|
|
|
.mw-indicator {
|
|
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
|
|
|
}
|
2021-01-09 21:56:28 +00:00
|
|
|
}
|