MediaWiki:Common.css

From ihaveahax's Site
Revision as of 17:45, 29 January 2021 by Ihaveahax (talk | contribs) (Undo revision 128 by Ihaveahax (talk) not working?)
Jump to navigationJump to search

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.
/* CSS placed here will be applied to all skins */

/* talk pages probably aren't useful on this kind of wiki */
#ca-talk {
	display: none!important;
}

.skin-monobook #ca-edit, .skin-monobook #ca-viewsource {
	margin-left: 1.1em; /* 1.6 - 0.5 */
}

.skin-monobook #globalWrapper {
	max-width: 1300px;
	margin: 0 auto;
}

#p-personal {
	display: none;
}

/* hide toolbox for anonymous users, then re-show it in [[MediaWiki:Group-user.css]] */
#p-tb {
	display: none;
}

body {
	/*background-color: #CCD0E5;*/
	/*background-image: linear-gradient(to bottom, #CCD0E5 0, #585f87 100%);*/
	background-image: linear-gradient(-30deg, #2b3259 0, #CCD0E5 100%);
	background-attachment: fixed;
}

/* vector only */
#mw-page-base {
	/*background-color: #CCD0E5;*/
	background-color: transparent;
	background-image: none; /*linear-gradient(to bottom,#fff 50%,#CCD0E5 100%);*/
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
	/*background-image: linear-gradient(to bottom, #CCD0E5 0, #93A0D5 100%);*/
	background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0, #93A0D5 100%);
}

.vector-menu-tabs li {
	/*background-image: linear-gradient(to top, #93A0D5 0, rgba(255,255,255,.5) 1px, #CCD0E5 100%);*/
	background-image: linear-gradient(to top, #93A0D5 0, rgba(255,255,255,.5) 1px, rgba(255,255,255,0) 100%);
}

.vector-menu-tabs .selected {
	/*background-image: linear-gradient(to top, #fff 0, #fff 1px, #CCD0E5 100%);*/
	background-color: transparent;
	background-image: linear-gradient(to top, #fff 0, #fff 1px, rgba(255,255,255,0) 100%);
}

#content, #p-cactions li, .pBody {
	border: 1px solid #93A0D5;
}

/* don't put the background on Special:ApiHelp */
.page-Special_ApiHelp {
	background-image: none!important;
}