MediaWiki:Common.css

This page was last edited on 28 January 2024, at 20:25.
Revision as of 20:25, 28 January 2024 by Manetta (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */

/* ------- fixing the TOC to the top left of the page, for less scrolling -------- */

@media screen and (min-width: 800px) {
#toc { 
	float: left;
	position: absolute;
	top: -120px;
	left: -220px; 
	font-size: 75%;
	margin: 0 0 1em 1em;
    max-width: 200px;
}
}

/* ------- wiki4print CSS rules --------- */

.vector-body h1{
	display: inline;
}

/* wiki4print button */
li.wiki4print{
	background-image: linear-gradient(to top,fuchsia 0,#ed8ce2 0px,#fff 100%) !important;
    padding: 0.25em 0.5em;
}
#ca-talk.wiki4print > a,
#p-views .wiki4print > a{
    color: magenta !important;
}

/*#p-header .mw-portlet-namespaces ul li#ca-talk a::before {
    content: "CSS";
    background: none;
    width: 42px;
    margin-left: -4px;
}*/

/* captcha question on the Create Account page -- does not work*/
#userloginForm .mw-input {
  font-weight: bold;
  margin-top: 1em;
}

/* categorytree styling*/
.CategoryTreeItem::before{
	content: "•";
	font-size: 17px;
	margin-right: -0.6em;
	margin-left: 0.6em;
	vertical-align: middle;
}

div.pad{
	display:block;
	height: 1em;
}
div.pad iframe{
	float: right;
	margin-left: 2em;
	margin-bottom: 2em;
}
/* hide the pad in the Visual Editor edit view */
.ve-init-target-visual div.pad{
	display: none;
}