Difference between revisions of "MediaWiki:Common.css"

From Looking Glass
Jump to navigation Jump to search
(Move TOC to the right)
 
(No difference)

Latest revision as of 15:01, 9 October 2019

/* Make table of contents always visible to the right, if width is big enough*/
@media screen and (min-width: 800px) {
  #toc { 
    float: right;
    position: fixed;
    top: 150px;
 
    margin: 0 0 1em 1em;
    right: 2em; 
    width: 20em;
  }
 
  #mw-content-text {
    padding-right: 22em;
  }
}