MediaWiki:Common.css: Difference between revisions

This page was last edited on 26 January 2024, at 16:01.
No edit summary
No edit summary
Line 11: Line 11:
font-size: 75%;
font-size: 75%;
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
    max-width: 200px;
}
}
}
}

Revision as of 16:01, 26 January 2024

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