wikipedia smaller for laptop

This commit is contained in:
Alex Janka 2021-12-31 16:25:27 +11:00
parent 1da5b33e8f
commit 43018c7e69
3 changed files with 25 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "injections",
"version": "1.12",
"version": "1.16",
"description": "misc CSS injections.",
"icons": {
"48": "icons/icon48.png",

View file

@ -167,18 +167,34 @@
/* page max width */
@media (min-width: 145em) {
@media (min-width: 95em) {
:root {
--content-width: 80em;
}
.mw-body {
border-right-width: 1px;
min-width: var(--content-width);
margin-right: 10em;
}
#mw-head {
max-width: calc(100vw - 12em);
min-width: 93em;
}
}
.mw-body {
max-width: 130em;
@media (min-width: 156em) {
:root {
--content-width: 130em;
}
.mw-body {
max-width: var(--content-width);
}
#mw-head {
max-width: calc(var(--content-width) + 14.1em);
}
}
#mw-head {
max-width: 144.1em;
left: 0em;
}

View file

@ -64,6 +64,10 @@
{
"version": "1.12",
"update_link": "https://github.com/italicsjenga/injections/releases/download/1.12/injections-1.12.xpi"
},
{
"version": "1.16",
"update_link": "https://github.com/italicsjenga/injections/releases/download/1.16/injections-1.16.xpi"
}
]
}