Wikipedia, Larger font, Hide side bar, Float content
wikipedia restyle by rustyrooster
Details
Authorrustyrooster
LicenseNo License
Categorywikipedia.org
Created
Updated
Size961 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
- Make wikipedia font larger
- Hide side bar when narrow the window
- Move table of content to the left side, and float when scroll the window
- When content of TOC overflow, scroll it
Source code
/* ==UserStyle==
@name wikipedia restyle
@namespace What does it used for?
@version 1.0.0
@description Make wikipedia font size larger, and hide sidebar when narrow the window.
@author RustyRooster
==/UserStyle== */
@-moz-document domain("wikipedia.org") {
body {
font-size: larger;
}
#toc {
max-height: 10rem;
position: fixed;
left: 4px;
top: 15%;
max-width: 192px;
border: none;
background: none;
}
#toc > ul {
max-height: 30rem;
overflow: scroll;
}
#mw-panel {
display: none;
}
@media screen and (max-width: 80rem) {
#left-navigation {
margin-left: 0.5em;
}
#content {
margin-left: 0.5em;
}
div#toc {
display: none;
}
}
}