User:Fuchao2012/common.css

/* Center page title and "Wikipedia, the free encyclopedia" text */ h1, h2, h3, h4, h5, h6 { border-bottom: none; } display: none; } body{ background-color:inherit; }	height:2.5rem; border-bottom: 2px solid #a7d7f9 ; z-index: 1; position: fixed; top: 0; width: 100vw; left: 0; }	border:none; } .vector-body{ font-size: 1.25rem; } .vector-menu-content{ position: fixed; right: 1rem; top: 0.35rem; } @media screen and (min-width: 1200px) { /* Navigation */ #mw-navigation #mw-head { width: 900px; } #left-navigation, #right-navigation { display:none; } #coordinates { display: none; } .mw-body, #mw-footer { margin-left: 10rem; margin-top: 2.5rem; }
 * 1) firstHeading, #siteSub, #contentSub { text-align: center; margin-left: auto; margin-right: auto; }
 * 1) mw-panel{
 * 1) mw-page-base{
 * 1) content{

/* Indicators */ .mw-body .mw-indicators { float: none; width: 800px; height: 0; margin: auto; display: flex; justify-content: flex-end; }

/* Center article */ #mw-content-text { max-width: 800px; margin: auto; line-height: 1.73; } .mw-body-content p { margin: 0.75em 0; }

/* Notes at top of page */ div.hatnote { font-size: 13px; width: 900px; font-style: normal; padding: 0; }

/* Floats */ div.tright, div.floatright { float: right; margin-left: -100% !important; transform: translateX(calc(100% + 20px)); } div.tleft { float: left; margin-right: -100% !important; transform: translateX(calc(-100% - 20px)); }

/* Handle stack-clear-right class */ div.stack-clear-right { float: right; margin-left: -100% !important; transform: translateX(calc(100% + 20px)); } div.stack-clear-right div.tright { margin-left: 0 !important; transform: none }

/* Treat some tables as .tright */ table.infobox, table.vertical-navbox, table.floatright { margin-left: -100% !important; transform: translateX(calc(100% + 20px)); }

/* ambox ("This article has problems" etc): no margin */ table.ambox { margin: 0; } /* Disable some borders? */   table.infobox, table.vertical-navbox, div.thumbinner { border: none !important; background: inherit !important; } table.ambox { border-top: none; border-right: none; border-bottom: none; background: inherit !important; } /* Clean up vertical-navbox */ table.vertical-navbox div.mini ul { display: none; } #toc { width: 20rem !important; position: fixed; top: 2.52rem; left: 0; padding: 20px 0 20px 30px; }   #toc { box-sizing: border-box; border: none; padding: 20px 30px; width: 100%; } #toc div.toctitle { text-align: start; } #toc>ul { height: calc(100vh - 100px); overflow-y: scroll; }   #toc>ul::-webkit-scrollbar { display:none; }

/* Math */ /* This doesn't quite work. Distinguishing inline from display is hard... */   /* dl dd span.mwe-math-element:only-child { width: 100%; text-align: center; display: inline-block; } */

/* Allow navboxes and main page to be wider */ div.navbox, #mp-upper, #mp-lower, #mp-topbanner { width: 900px !important; margin-left: -150px !important; } #catlinks { width: 900px; margin-left: auto; margin-right: auto; } }