MediaWiki:Common.css: Difference between revisions

This page was last edited on 28 January 2024, at 20:25.
(nicer boarders)
 
No edit summary
 
(11 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 */
.nav-bar #mw-navigation #p-search #searchInput {


    border: 1px solid #aca6e4;   
/* ------- fixing the TOC to the top left of the page, for less scrolling -------- */
    border-right-width: 7px;
    border-left-width: 7px;


@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;
}
}

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