User:Static the Squirrel/common.css

.show-hide-rail { position: fixed; top: 50%; transform: translateY(-50%); z-index: 9999; right: 0; background: white; vertical-align: middle; text-align: center; border-radius: 3px 0 0 3px; color: white; padding: 40px 0; border-width: 1px 0 1px 1px; border-style: solid; border-color: #ccc; color: #333; } .show-hide-greyout { display: none; position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9999; left: 0; } body:not(.mainpage) #WikiaRail { position: fixed; overflow: auto; top: 0; right: -300px; z-index: 9999; background: white; height: calc(100% - 25px); border-left: 1px solid #ccc; } body:not(.mainpage) #WikiaRail section { border: none !important; background: none !important; margin-bottom: 0; padding: 15px; } body:not(.mainpage) #WikiaRail section h2 { margin-bottom: 5px; padding-left: 0; } body:not(.mainpage) .wikia-main-page-tag-lcs, body:not(.mainpage) .main-page-tag-lcs-exploded, body:not(.mainpage) .WikiaMainContent { width: 100%; } .mainpage .wikia-main-page-tag-lcs, .mainpage .main-page-tag-lcs-exploded, .mainpage .WikiaMainContent { width: calc(100% - 308px); }