Hides the old.reddit sidebar as a card to hover over. RES Friendly.
Auto Hide Side Bar for Old Reddit by slippinggitty
Details
Authorslippinggitty
LicenseWTFPL
Categoryreddit
Created
Updated
Code size923 B
Code checksumabd61b3f
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Hides the old.reddit sidebar as a card to hover over. RES Friendly.
Source code
/* ==UserStyle==
@name Auto Hide Side Bar for Old Reddit
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Hides the old.reddit sidebar as a card to hover over. RES Friendly.
@author SlippingGitty
==/UserStyle== */
@-moz-document domain("reddit.com") {
/* Adjust main content */
.content {
max-width: 97% !important;
margin-right: 5px !important;
transition: all 0.3s ease;
}
/* Hide sidebar */
.side {
width: 20px !important;
overflow: hidden;
opacity: 0.1;
position: fixed;
right: 0;
height: calc(100vh - 45px);
z-index: 100;
background: #f8f9fa;
transition: all 0.3s ease;
}
/* Show sidebar hover */
.side:hover {
width: 300px !important;
opacity: 1;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}
/* Shows preview of sidebar content */
.side .titlebox h1.redditname {
margin-left: 25px;
}
}