mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
refactor: legacy viewport clean up
This commit is contained in:
parent
f8d90eba0c
commit
b91eb2fb5e
|
@ -159,7 +159,7 @@ figcaption,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media ( max-width: @screen0 ) {
|
@media ( max-width: @width-breakpoint-tablet ) {
|
||||||
#mw-content-text {
|
#mw-content-text {
|
||||||
figcaption,
|
figcaption,
|
||||||
.thumbcaption {
|
.thumbcaption {
|
||||||
|
|
|
@ -38,7 +38,7 @@ table.wikitable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media ( max-width: @screen2 ) {
|
@media ( max-width: @width-breakpoint-desktop-wide ) {
|
||||||
table.wikiatble {
|
table.wikiatble {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
|
@ -418,13 +418,3 @@
|
||||||
@ui-menu-header: 16px;
|
@ui-menu-header: 16px;
|
||||||
|
|
||||||
@footer-line-height: 1.4;
|
@footer-line-height: 1.4;
|
||||||
|
|
||||||
/*
|
|
||||||
* Viewports
|
|
||||||
*/
|
|
||||||
|
|
||||||
@screen0: @page-width - @margin-side * 7; // 720px
|
|
||||||
@screen1: @page-width + @margin-side * 2; // 900px
|
|
||||||
@screen2: @footer-width; // 1290px
|
|
||||||
@screen3: @footer-width + @margin-side * 8; // 1450px
|
|
||||||
@screen4: @footer-width - (@negative-margin * 2); // 1720px
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and ( max-width: @screen2 ) {
|
@media only screen and ( max-width: @width-breakpoint-desktop-wide ) {
|
||||||
.mw-pt-translate-header {
|
.mw-pt-translate-header {
|
||||||
z-index: -1; // Not interactable
|
z-index: -1; // Not interactable
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and ( max-width: @screen2 ) {
|
@media only screen and ( max-width: @width-breakpoint-desktop-wide ) {
|
||||||
#page-tools {
|
#page-tools {
|
||||||
max-width: @page-width;
|
max-width: @page-width;
|
||||||
margin: 0 auto @margin-side * 2;
|
margin: 0 auto @margin-side * 2;
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and ( max-width: @screen1 ) {
|
@media only screen and ( max-width: @width-breakpoint-desktop ) {
|
||||||
.tux-messagelist,
|
.tux-messagelist,
|
||||||
.tux-action-bar,
|
.tux-action-bar,
|
||||||
.tux-messagetable-header.floating {
|
.tux-messagetable-header.floating {
|
||||||
|
|
Loading…
Reference in a new issue