Skip to content

stackoverflow.com - more prominent content by myfonj

Details

Authormyfonj

LicenseCC0

Categorystackoverflow

Created

Updated

Size1.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dims less important things and pulls the content up.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           stackoverflow.com - more prominent content
@namespace      github.com/openstyles/stylus
@version        1.1.0
@description    Dims less important things and pulls the content up.
@author         myfonj
@license        CC0
==/UserStyle== */
@-moz-document domain("stackoverflow.com") {
/*
Changelog
1.1.0 (2025-01-28) Push "Me" blocks down
1.0.0 (5/13/2021, 12:53:40 PM) init, dim tags, avatar bg
*/

/*
 dimmed avatar bg
*/
.s-avatar {
 background-color: rgba(255, 255, 255, .5);
}
/*
 dimmed tags
*/
.s-post-summary--meta-tags:not(:hover) {
 opacity: .4;
}
/*
 higher contrast instead of lower on questions with wached tags
*/
.s-post-summary__watched {
 background-color: var(--highlight-bg) !important;
}

/*
Push "Me" blocks down
*/
body[class="home-page unified-theme theme-system"] [id="content"] {
 display: flex;
 flex-direction: column;
 /* "Welcome back, nickname" */
 & [id="hide-this-if-you-want"] {
  order: 1;
 }
 /* "hot" on blog + meta */
 & [id="sidebar"] {
  position: absolute;
  bottom: 0 !important;
  right: 0;
 }
 /* "Recently viewed..." */
 & [class="sidebar ps-sticky"] {
  position: absolute !important;
  top: 25px !important;
  right: 0;
 }
}

body[class="user-page unified-theme theme-system"] [id="content"],
[id="mainbar-full"][class="user-show-new"] {
 display: flex;
 flex-direction: column;
 }
 /* avatar, nickname, member for XX years, last seen… */
 [class="ps-relative mb16"] {
  order: 1;
 }

}

Reviews

No reviews yet.