2020-06-10 22:02:22 +00:00
|
|
|
.mw-body-content {
|
|
|
|
// Apply only to internal link
|
2020-06-10 22:02:47 +00:00
|
|
|
a[ href^='/' ] {
|
2020-06-10 22:02:22 +00:00
|
|
|
.link-content-text(@color-link-active);
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
background-image: linear-gradient( to right, @color-link-new-active 0, @color-link-new-active 100% );
|
|
|
|
}
|
|
|
|
}
|
2020-06-10 22:02:47 +00:00
|
|
|
}
|
2020-06-11 02:35:54 +00:00
|
|
|
|
|
|
|
#mw-content-text {
|
|
|
|
/*
|
|
|
|
* Float styles
|
|
|
|
* Only apply to immediate childs as float classes
|
|
|
|
* are used in other places as well
|
|
|
|
*/
|
2020-06-11 02:36:17 +00:00
|
|
|
> .mw-parser-output {
|
2020-06-11 02:35:54 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
z-index: 2;
|
|
|
|
position: relative;
|
|
|
|
margin: 0.6rem 1.4rem;
|
|
|
|
transition: @transition-margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbinner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
|
|
|
margin-left: @negative-margin / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
margin-right: @negative-margin / 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( max-width: @screen0 ) {
|
|
|
|
#mw-content-text {
|
2020-06-11 02:36:17 +00:00
|
|
|
> .mw-parser-output {
|
|
|
|
> div.tnone,
|
|
|
|
> div.floatnone,
|
|
|
|
> table.floatnone,
|
|
|
|
> div.tleft,
|
|
|
|
> div.floatleft,
|
|
|
|
> table.floatleft,
|
|
|
|
> div.tright,
|
|
|
|
> div.floatright,
|
|
|
|
> table.floatright {
|
2020-06-11 02:35:54 +00:00
|
|
|
margin: 0.6rem -@margin-side !important;
|
|
|
|
width: 100vw !important;
|
|
|
|
float: unset;
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
2020-06-11 02:36:17 +00:00
|
|
|
> div.tnone,
|
|
|
|
> div.floatnone,
|
|
|
|
> div.tleft,
|
|
|
|
> div.floatleft,
|
|
|
|
> div.tright,
|
|
|
|
> div.floatright {
|
2020-06-11 02:35:54 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-06-11 02:36:17 +00:00
|
|
|
> table.floatleft,
|
|
|
|
> table.floatright {
|
2020-06-11 02:35:54 +00:00
|
|
|
padding: 0 @margin-side;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( max-width: @screen2 ) {
|
|
|
|
#mw-content-text {
|
2020-06-11 02:36:17 +00:00
|
|
|
> .mw-parser-output {
|
|
|
|
> div.tnone,
|
|
|
|
> div.floatnone,
|
|
|
|
> table.floatnone {
|
2020-06-11 02:35:54 +00:00
|
|
|
margin: 0.6rem~'calc((100vw - @{page-width}) / -2)';
|
|
|
|
|
|
|
|
a.image,
|
|
|
|
a.image > img {
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-11 02:36:17 +00:00
|
|
|
> table.floatnone {
|
2020-06-11 02:35:54 +00:00
|
|
|
padding: 0 @margin-side;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-11 02:36:17 +00:00
|
|
|
|
2020-06-11 02:35:54 +00:00
|
|
|
@media ( max-width: @screen3 ) {
|
|
|
|
#mw-content-text {
|
2020-06-11 02:36:17 +00:00
|
|
|
> .mw-parser-output {
|
|
|
|
> div.tleft,
|
|
|
|
> div.floatleft,
|
|
|
|
> table.floatleft {
|
2020-06-11 02:35:54 +00:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-11 02:36:17 +00:00
|
|
|
> div.tright,
|
|
|
|
> div.floatright,
|
|
|
|
> table.floatright {
|
2020-06-11 02:35:54 +00:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-11 02:36:17 +00:00
|
|
|
> div.tleft,
|
|
|
|
> div.floatleft,
|
|
|
|
> table.floatleft,
|
|
|
|
> div.tright,
|
|
|
|
> div.floatright,
|
|
|
|
> table.floatright {
|
2020-06-11 02:35:54 +00:00
|
|
|
z-index: 0; // Reset so it doesn't cover ToC
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( min-width: @screen4 ) {
|
|
|
|
#mw-content-text {
|
2020-06-11 02:36:17 +00:00
|
|
|
> .mw-parser-output {
|
|
|
|
> div.tnone,
|
|
|
|
> div.floatnone,
|
|
|
|
> table.floatnone,
|
|
|
|
> div.tleft,
|
|
|
|
> div.floatleft,
|
|
|
|
> table.floatleft {
|
2020-06-11 02:35:54 +00:00
|
|
|
margin-left: @negative-margin !important;
|
|
|
|
}
|
|
|
|
|
2020-06-11 02:36:17 +00:00
|
|
|
> div.tnone,
|
|
|
|
> div.floatnone,
|
|
|
|
> table.floatnone,
|
|
|
|
> div.tright,
|
|
|
|
> div.floatright,
|
|
|
|
> table.floatright {
|
2020-06-11 02:35:54 +00:00
|
|
|
margin-right: @negative-margin !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-11 02:36:17 +00:00
|
|
|
}
|