Skip to content

StackExchange portrait mode by Vivelin

Details

AuthorVivelin

LicenseMIT

Categorystackoverflow

Created

Updated

Size705 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Moves the sidebar down on narrow screens on StackOverflow and other StackExchange sites

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           StackExchange portrait mode
@namespace      vivelin.net
@version        1.0.0
@description    Moves the sidebar down on narrow screens on StackOverflow and other StackExchange sites
@author         Vivelin
==/UserStyle== */
@-moz-document domain("stackexchange.com"), domain("stackoverflow.com"), domain("superuser.com"), domain("serverfault.com"), domain("mathoverflow.net"), domain("stackapps.com"), domain("askubuntu.com") {
  @media (max-width: 1200px) {
    #sidebar, .sidebar {
      float: none;
      clear: both;
      width: auto;
      margin-left: 0;
      margin-top: 4rem;
    }

    #mainbar,
    .mainbar {
      float: none;
      width: 100%;
    }
  }
}

Reviews

No reviews yet.