Difference between revisions of "MediaWiki:Common.css"

From Mizuumi Wiki
Jump to navigation Jump to search
Line 76: Line 76:
 
margin-left: 11em;
 
margin-left: 11em;
 
background: none;
 
background: none;
 +
}
 +
 +
/* Allow limiting of which header levels are shown in a TOC;
 +
  <div class="toclimit-3">, for instance, will limit to
 +
  showing ==headings== and ===headings=== but no further
 +
  (as long as there are no =headings= on the page, which
 +
  there shouldn't be according to the MoS).
 +
*/
 +
.toclimit-2 .toclevel-1 ul,
 +
.toclimit-3 .toclevel-2 ul,
 +
.toclimit-4 .toclevel-3 ul,
 +
.toclimit-5 .toclevel-4 ul,
 +
.toclimit-6 .toclevel-5 ul,
 +
.toclimit-7 .toclevel-6 ul {
 +
    display: none;
 
}
 
}

Revision as of 15:22, 9 November 2018

body {
	background-color: #FFF;
	background-image: none;
}

vectorTabs, div.vectorTabs {
	padding-left: 30px;
	background-position: 25% 0%;
}

#content, div#content {
	background-image: none;
	padding: 1.8em;
}

#bodyContent {
	margin-left:20px;
	width:98%;
}

#mw-panel, div#mw-panel {
	border: 1px double;
	border-color: #ccc;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	box-shadow: 5px 5px 30px -5px #777;
	-moz-box-shadow: 5px 5px 30px -5px #777;
	-webkit-box-shadow: 5px 5px 30px -5px #777;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-khtml-border-radius: 15px;
	top: 130px;
	left: 10px;
	background: #FFF;
/*	position:fixed; */
}

div#mw-panel {padding-bottom:1em;}

.homediv {
	width:70%;
	text-align:center;
	margin:0 auto;
}

.homebox {
	border: 1px double;
	border-color: #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-khtml-border-radius: 5px;
	box-shadow: 5px 5px 30px -5px #777;
	-moz-box-shadow: 5px 5px 30px -5px #777;
	-webkit-box-shadow: 5px 5px 30px -5px #777;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	padding:7px 9px 7px 9px;
	margin: 0 7px 15px 0;
	font-size: 1.4em;
	font-weight: bold;
	font-style: italic;
	display: inline-block;
}

#p-logo, div#p-logo {
	top: -150px;
}

#footer, div#footer {
	margin-left: 11em;
	background: none;
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}