Reduce article width ≦ 40em
wikipedia.org | old vector by wintus
Details
Authorwintus
LicenseGNU GPLv3
Categorywikipedia
Created
Updated
Size1.9 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
legacy support
for new vector skin: https://userstyles.world/style/1624/wikipedia-org-new-vector
This user style assumes that the new skin is NOT enabled:
https://en.wikipedia.org/wiki/Special:Preferences#mw-input-wpVectorSkinVersion
Login is not required.
Source code
/* ==UserStyle==
@name wikipedia.org | old vector
@version 20220127.15.53
@namespace userstyles.world/user/wintus
@description legacy support
Reduce article width ≦ 40em
@author wintus
@license GNU GPLv3
==/UserStyle== */
@-moz-document domain("wikipedia.org") {
html {
font-size: 16px;
}
.mw-body-content,
#bodyContent {
font-size: 1em;
max-width: 40rem;
}
body {
display: grid;
grid-template-rows: 5rem 1fr 1fr;
grid-template-columns: 10rem 1fr;
}
@media screen and (min-width: 982px) {
body {
grid-template-columns: calc(10rem + 1rem) 1fr;
}
}
#mw-page-base {
grid-row: 1;
grid-column: 1 / -1;
}
#mw-head-base {
grid-row: 1;
grid-column: 2;
}
#content {
grid-row: 2;
grid-column: 2;
margin-left: unset;
}
#mw-navigation {
display: grid;
grid-template-rows: 5rem 1fr 1fr;
grid-template-columns: 10rem 1fr;
grid-row: 1 / -1;
grid-column: 1 / -1;
}
@media screen and (min-width: 982px) {
#mw-navigation {
grid-template-columns: calc(10rem + 1rem) 1fr;
}
}
#mw-head {
grid-row: 1;
grid-column: 2;
width: unset;
position: unset;
}
#mw-panel {
grid-row: 1 / -1;
grid-column: 1;
}
.mw-footer,
#footer {
grid-row: 3;
grid-column: 2;
margin-left: unset;
}
#mw-head {
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 10rem 1fr;
}
#p-personal {
grid-row: 1;
grid-column: -2;
justify-self: end;
margin: unset;
position: unset;
margin-top: 6px;
margin-right: 0.75em;
}
@media screen and (min-width: 982px) {
#p-personal {
margin-right: 1em;
}
}
#p-personal ul {
padding-left: unset;
}
#left-navigation {
grid-row: 2;
grid-column: 1;
margin: unset;
float: unset;
}
#right-navigation {
grid-row: 2;
grid-column: -2;
justify-self: end;
margin: unset;
float: unset;
}
}