User:DeloarAkram/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* head */
#mw-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* Bottom border */
#mw-head:before {
    position: absolute;
    content: '';
    top: -1px;
    left: 11em;
    right: 0;
    height: 100%;
    border-bottom: 1px solid #A7D7F9;
    z-index: -1;
}

/* Background */
#mw-page-base {
    position: fixed;
    top: -1px;
    right: 0;
    left: 0;
    z-index: 3;
    height: 5em;
    width: 100%;
}

#mw-head, #mw-panel {
	z-index: 4;
}

#mw-head-base {
	margin-top: 0;
}

/* Visual editor toolbar */
.ve-active .ve-init-mw-desktopArticleTarget {
	margin-top: 4em;
}

.ve-init-mw-desktopArticleTarget > .ve-ui-toolbar > .oo-ui-toolbar-bar {
	position: fixed !important;
	top: 5.714em !important;
	right: -0.004em !important;
	left: 12.647em !important;
}

/*side*/
#mw-panel, /* Vector */
#quickbar, /* CologneBlue */
#mw_portlets, /* Modern */
#sidebar, /* Monobook */
#mw-site-navigation, /* Timeless */
#mw-related-navigation /* Timeless right */ {
    position: fixed;
    overflow: hidden;
    height: 100%;
}
#mw-related-navigation /* Timeless right */ {
	right: calc(calc(calc(100% - 115em) /2) - 1em);
	padding-bottom: 14em;
}
#mw-site-navigation /* Timeless */ {
	padding-bottom: 14em;
}
#mw-panel:hover, /* Vector */
#quickbar:hover, /* CologneBlue */
#mw_portlets:hover, /* Modern */
#sidebar:hover, /* Monobook */
#mw-site-navigation:hover, /* Timeless */
#mw-related-navigation:hover /* Timeless right */ {
    overflow-y: auto;
    overflow-x: hidden;
}
.skin-timeless #mw-content-wrapper /* Timeless */ {
	margin: 0 14em;
}
.skin-monobook .mw-wiki-logo /* Monobook */ {
	position: fixed;
}

header.header-container {
   position: sticky !important;
    top: 0px;
    right: 0;
    left: 0;
    z-index: 1;
}

.mw-redirect {
 color: green;
 text-decoration: 
!important;
}
.mw-disambig {
	color:#800080 !important;
}