Actions

MediaWiki

Difference between revisions of "Pivot.css"

From InfoTechPedia

(update)
(more ul)
Line 40: Line 40:
 
.mw-content-ltr ol>li>ol {
 
.mw-content-ltr ol>li>ol {
 
     margin: .25em 0 .25em 1.25em;
 
     margin: .25em 0 .25em 1.25em;
 +
}
 +
.mw-content-ltr ol>li>ol {
 +
    list-style-type: upper-alpha;
 +
}
 +
.mw-content-ltr ol>li>ol>li>ol {
 +
    list-style-type: lower-alpha;
 +
}
 +
.mw-content-ltr ol>li>ol>li>ol>li>ol {
 +
    list-style-type: lower-roman;
 +
}
 +
dl, dd, dl dd {
 +
    margin-bottom: 0;
 +
}
 +
/* Override MW legacy.module for all skins styling of ul and ol */
 +
.mw-content-ltr ul,
 +
.mw-content-rtl .mw-content-ltr ul {
 +
/* @noflip */
 +
margin: 0.5em 0 0 3.2em;
 +
padding: 0;
 +
}
 +
 +
.mw-content-rtl ul,
 +
.mw-content-ltr .mw-content-rtl ul {
 +
/* @noflip */
 +
margin: 0.5em 3.2em 0 0;
 +
padding: 0;
 +
}
 +
 +
.mw-content-ltr ol,
 +
.mw-content-rtl .mw-content-ltr ol {
 +
/* @noflip */
 +
margin: 0.5em 0 0 2em;
 +
padding: 0;
 +
}
 +
 +
.mw-content-rtl ol,
 +
.mw-content-ltr .mw-content-rtl ol {
 +
/* @noflip */
 +
margin: 0.5em 2em 0 0;
 +
padding: 0;
 +
}
 +
 +
/* @noflip */
 +
.mw-content-ltr dd,
 +
.mw-content-rtl .mw-content-ltr dd {
 +
margin-left: 1.6em;
 +
margin-right: 0;
 +
}
 +
 +
/* @noflip */
 +
.mw-content-rtl dd,
 +
.mw-content-ltr .mw-content-rtl dd {
 +
margin-right: 1.6em;
 +
margin-left: 0;
 
}
 
}

Revision as of 08:09, 16 February 2018

/* Custom colors - top bar*/
.tab-bar {
    background: #2f3f4f
}
/* style the labels */
ul.side-nav label {
    background: #2f3f4f;
    color: #fff;
    padding: .25em .5em;
}
/* sidebar background color */
body {
    background-color: #bad6d6;
}
/* Pre tags */
pre {
    background: darkslategrey;
    color: #D1F8D1;
    padding: 10px 10px;
    line-height: 1.5em;
    margin: 1em 3em 1em 4em;
    font-family: Consolas,"Liberation Mono",Courier,monospace;
}
/* Pre tags in MediaWiki Namespace */
.ns-8 pre {
    background: #efefee;
    margin: 0;
}
/* Image classes */
.center {
    text-align:  center;
}
img {
    margin-bottom:  1em;
}
/* Nested UL and OL */
.mw-content-ltr ul>li>ul {
    margin: .25em 0 .25em 1.25em;
}
.mw-content-ltr ol>li>ol {
    margin: .25em 0 .25em 1.25em;
}
.mw-content-ltr ol>li>ol {
    list-style-type: upper-alpha;
}
.mw-content-ltr ol>li>ol>li>ol {
    list-style-type: lower-alpha;
}
.mw-content-ltr ol>li>ol>li>ol>li>ol {
    list-style-type: lower-roman;
}
dl, dd, dl dd {
    margin-bottom: 0;
}
/* Override MW legacy.module for all skins styling of ul and ol */
.mw-content-ltr ul,
.mw-content-rtl .mw-content-ltr ul {
	/* @noflip */
	margin: 0.5em 0 0 3.2em;
	padding: 0;
}
	
.mw-content-rtl ul,
.mw-content-ltr .mw-content-rtl ul {
	/* @noflip */
	margin: 0.5em 3.2em 0 0;
	padding: 0;
}
	
.mw-content-ltr ol,
.mw-content-rtl .mw-content-ltr ol {
	/* @noflip */
	margin: 0.5em 0 0 2em;
	padding: 0;
}
	
.mw-content-rtl ol,
.mw-content-ltr .mw-content-rtl ol {
	/* @noflip */
	margin: 0.5em 2em 0 0;
	padding: 0;
}
	
/* @noflip */
.mw-content-ltr dd,
.mw-content-rtl .mw-content-ltr dd {
	margin-left: 1.6em;
	margin-right: 0;
}
	
/* @noflip */
.mw-content-rtl dd,
.mw-content-ltr .mw-content-rtl dd {
	margin-right: 1.6em;
	margin-left: 0;
}