MediaWiki:Common.css: Difference between revisions

This page was last edited on 28 January 2024, at 20:25.
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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{
.vector-body h1{
display: inline;
display: inline;
}
h1#firstHeading{
color: white;
border-bottom: 0;
padding: 0.3em 0 0 0.5em;
background: black;
}
}


/* wiki4print button */
/* wiki4print button */
li.wiki4print{
li.wiki4print{
background-image: linear-gradient(to top,fuchsia 0,#ed8ce2 1px,#fff 100%) !important;
background-image: linear-gradient(to top,fuchsia 0,#ed8ce2 0px,#fff 100%) !important;
    padding: 0.25em 0.5em;
}
}
#ca-talk.wiki4print > a,
#ca-talk.wiki4print > a,
#p-views .wiki4print > a{
#p-views .wiki4print > a{
     color: magenta;
     color: magenta !important;
background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,fuchsia 100%);
background-size: 1px 100%;
background-repeat: no-repeat;
}
}
/*#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*/
/* captcha question on the Create Account page -- does not work*/

Latest revision as of 20:25, 28 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;
}