Difference between revisions of "Pivot.css"
From InfoTechPedia
TomHutchison (talk | contribs) (more updates to ol) |
TomHutchison (talk | contribs) (more updates) |
||
Line 60: | Line 60: | ||
.mw-content-rtl .mw-content-ltr ul { | .mw-content-rtl .mw-content-ltr ul { | ||
/* @noflip */ | /* @noflip */ | ||
− | margin: 0.5em 0 0 3.2em; | + | margin: 0.5em 0 0.5em 3.2em; |
padding: 0; | padding: 0; | ||
} | } | ||
Line 67: | Line 67: | ||
.mw-content-ltr .mw-content-rtl ul { | .mw-content-ltr .mw-content-rtl ul { | ||
/* @noflip */ | /* @noflip */ | ||
− | margin: 0.5em 3.2em 0 0; | + | margin: 0.5em 3.2em 0 0.5em; |
padding: 0; | padding: 0; | ||
} | } | ||
Line 74: | Line 74: | ||
.mw-content-rtl .mw-content-ltr ol { | .mw-content-rtl .mw-content-ltr ol { | ||
/* @noflip */ | /* @noflip */ | ||
− | margin: 0.5em 0 0 3.2em; | + | margin: 0.5em 0 0.5em 3.2em; |
padding: 0; | padding: 0; | ||
} | } | ||
Line 81: | Line 81: | ||
.mw-content-ltr .mw-content-rtl ol { | .mw-content-ltr .mw-content-rtl ol { | ||
/* @noflip */ | /* @noflip */ | ||
− | margin: 0.5em 3.2em 0 0; | + | margin: 0.5em 3.2em 0 0.5em; |
padding: 0; | padding: 0; | ||
} | } | ||
Line 97: | Line 97: | ||
margin-right: 1.6em; | margin-right: 1.6em; | ||
margin-left: 0; | margin-left: 0; | ||
+ | } | ||
+ | |||
+ | /* Screen width styles 60em and under */ | ||
+ | @media screen and (max-width: 60em) { | ||
+ | pre { | ||
+ | margin-left:0px; | ||
+ | margin-right:0px; | ||
+ | } | ||
} | } |
Revision as of 08:29, 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;
}
.mw-content-ltr ol>li>ol>li>ol>li>ol>li>ol {
list-style-type: decimal;
}
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.5em 3.2em;
padding: 0;
}
.mw-content-rtl ul,
.mw-content-ltr .mw-content-rtl ul {
/* @noflip */
margin: 0.5em 3.2em 0 0.5em;
padding: 0;
}
.mw-content-ltr ol,
.mw-content-rtl .mw-content-ltr ol {
/* @noflip */
margin: 0.5em 0 0.5em 3.2em;
padding: 0;
}
.mw-content-rtl ol,
.mw-content-ltr .mw-content-rtl ol {
/* @noflip */
margin: 0.5em 3.2em 0 0.5em;
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;
}
/* Screen width styles 60em and under */
@media screen and (max-width: 60em) {
pre {
margin-left:0px;
margin-right:0px;
}
}