mirror of
https://github.com/italicsjenga/injections.git
synced 2024-11-25 01:51:30 +11:00
wikipedia smaller for laptop
This commit is contained in:
parent
1da5b33e8f
commit
43018c7e69
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "injections",
|
"name": "injections",
|
||||||
"version": "1.12",
|
"version": "1.16",
|
||||||
"description": "misc CSS injections.",
|
"description": "misc CSS injections.",
|
||||||
"icons": {
|
"icons": {
|
||||||
"48": "icons/icon48.png",
|
"48": "icons/icon48.png",
|
||||||
|
|
|
@ -167,18 +167,34 @@
|
||||||
|
|
||||||
/* page max width */
|
/* page max width */
|
||||||
|
|
||||||
@media (min-width: 145em) {
|
@media (min-width: 95em) {
|
||||||
|
:root {
|
||||||
|
--content-width: 80em;
|
||||||
|
}
|
||||||
.mw-body {
|
.mw-body {
|
||||||
border-right-width: 1px;
|
border-right-width: 1px;
|
||||||
|
min-width: var(--content-width);
|
||||||
|
margin-right: 10em;
|
||||||
|
}
|
||||||
|
#mw-head {
|
||||||
|
max-width: calc(100vw - 12em);
|
||||||
|
min-width: 93em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 156em) {
|
||||||
|
:root {
|
||||||
|
--content-width: 130em;
|
||||||
|
}
|
||||||
.mw-body {
|
.mw-body {
|
||||||
max-width: 130em;
|
max-width: var(--content-width);
|
||||||
|
}
|
||||||
|
#mw-head {
|
||||||
|
max-width: calc(var(--content-width) + 14.1em);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#mw-head {
|
#mw-head {
|
||||||
max-width: 144.1em;
|
|
||||||
left: 0em;
|
left: 0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,10 @@
|
||||||
{
|
{
|
||||||
"version": "1.12",
|
"version": "1.12",
|
||||||
"update_link": "https://github.com/italicsjenga/injections/releases/download/1.12/injections-1.12.xpi"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue