2017-07-12 15:12:40 +00:00
|
|
|
/*
|
|
|
|
A file for css that optimises the Minerva skin on larger devices.
|
|
|
|
*/
|
|
|
|
|
2021-04-29 01:01:54 +00:00
|
|
|
@import '../../../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
2023-11-07 09:03:29 +00:00
|
|
|
@media screen and ( min-width: @min-width-breakpoint-tablet ) {
|
2019-11-26 05:02:40 +00:00
|
|
|
.client-js #searchIcon { // stylelint-disable-line selector-max-id
|
|
|
|
display: none;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
2019-11-26 05:02:40 +00:00
|
|
|
// stylelint-disable selector-max-id
|
2017-07-12 15:12:40 +00:00
|
|
|
// FIXME: Have a class that identifies all of these selectors
|
|
|
|
.pre-content,
|
2018-12-12 23:20:10 +00:00
|
|
|
/* Form only pages e.g. Special:MobileOptions */
|
2021-10-25 20:40:47 +00:00
|
|
|
.minerva-anon-talk-message,
|
2017-11-29 19:53:30 +00:00
|
|
|
#mw-content-text > form,
|
2017-07-12 15:12:40 +00:00
|
|
|
.content,
|
2021-10-04 22:03:29 +00:00
|
|
|
.content-unstyled,
|
2017-07-12 15:12:40 +00:00
|
|
|
.post-content {
|
2024-01-31 15:06:56 +00:00
|
|
|
max-width: @max-width-content-tablet;
|
|
|
|
margin: 0 @padding-content-tablet;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
2019-11-26 05:02:40 +00:00
|
|
|
// stylelint-enable selector-max-id
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.content {
|
|
|
|
// Classes added by thumbnails
|
|
|
|
// e.g. [[File:Scholars mate animation.gif|frame|left|"[[Scholar's mate]]"]]
|
|
|
|
// We use @noflip because we still want .tleft to be on the left and
|
|
|
|
// .tright to be on the right in RTL languages.
|
2022-10-19 00:15:35 +00:00
|
|
|
figure[ typeof~='mw:File/Thumb' ],
|
|
|
|
figure[ typeof~='mw:File/Frame' ],
|
2017-07-12 15:12:40 +00:00
|
|
|
.thumb {
|
2023-11-07 09:03:29 +00:00
|
|
|
max-width: calc( @max-width-breakpoint-mobile - @margin-content );
|
2024-11-02 11:05:58 +00:00
|
|
|
clear: right;
|
|
|
|
clear: inline-end;
|
|
|
|
float: right;
|
|
|
|
float: inline-end;
|
|
|
|
margin-left: 1.4em;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-inline: 1.4em 0;
|
2017-07-27 20:50:49 +00:00
|
|
|
|
|
|
|
&.mw-halign-left,
|
2017-07-12 15:12:40 +00:00
|
|
|
&.tleft {
|
|
|
|
/* @noflip */
|
|
|
|
float: left;
|
|
|
|
/* @noflip */
|
|
|
|
clear: left;
|
|
|
|
/* @noflip */
|
2022-09-22 15:20:21 +00:00
|
|
|
margin-left: 0;
|
|
|
|
/* @noflip */
|
2017-07-12 15:12:40 +00:00
|
|
|
margin-right: 1.4em;
|
|
|
|
}
|
|
|
|
|
2017-07-27 20:50:49 +00:00
|
|
|
&.mw-halign-right,
|
2017-07-12 15:12:40 +00:00
|
|
|
&.tright {
|
|
|
|
/* @noflip */
|
|
|
|
float: right;
|
|
|
|
/* @noflip */
|
|
|
|
clear: right;
|
|
|
|
/* @noflip */
|
|
|
|
margin-left: 1.4em;
|
2022-09-22 15:20:21 +00:00
|
|
|
/* @noflip */
|
|
|
|
margin-right: 0;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
2022-09-23 17:35:13 +00:00
|
|
|
|
|
|
|
&.mw-halign-none {
|
|
|
|
float: none;
|
|
|
|
clear: none;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-halign-center {
|
|
|
|
float: none;
|
|
|
|
clear: none;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
caption {
|
2017-08-24 17:59:21 +00:00
|
|
|
background: inherit; // T170344
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
tbody {
|
|
|
|
display: table-row-group;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-25 17:03:14 +00:00
|
|
|
a.last-modified-bar {
|
2017-07-12 15:12:40 +00:00
|
|
|
background-color: transparent;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-07 09:03:29 +00:00
|
|
|
@media screen and ( min-width: @max-width-content-tablet ) {
|
2019-11-26 05:02:40 +00:00
|
|
|
// stylelint-disable-next-line selector-max-id
|
2017-07-12 15:12:40 +00:00
|
|
|
.banner-container,
|
2021-10-25 20:40:47 +00:00
|
|
|
.minerva-anon-talk-message,
|
2021-07-16 20:10:00 +00:00
|
|
|
.minerva-header,
|
2017-07-12 15:12:40 +00:00
|
|
|
.page-header-bar,
|
|
|
|
.overlay-header,
|
2018-12-12 23:20:10 +00:00
|
|
|
/* FIXME: Generic content class needed? */
|
2017-07-12 15:12:40 +00:00
|
|
|
.content,
|
|
|
|
.overlay-content,
|
|
|
|
.content-unstyled,
|
|
|
|
.pre-content,
|
|
|
|
.post-content,
|
2018-12-12 23:20:10 +00:00
|
|
|
/* Form only pages e.g. Special:MobileOptions */
|
2020-02-03 08:15:44 +00:00
|
|
|
#mw-content-text > form {
|
2017-07-12 15:12:40 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2018-10-26 06:33:28 +00:00
|
|
|
width: 90%;
|
2024-01-31 15:06:56 +00:00
|
|
|
max-width: @max-width-content-tablet;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
}
|