MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(43 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.mw-references-wrap ol { | |||
list-style: inherit; | |||
} | |||
/* logo fix */ | |||
#p-logo a { | |||
background-size: 100%; | |||
} | |||
/* Utility styles */ | |||
/* Spaces direct children 10 px apart, top and bottom. */ | /* Spaces direct children 10 px apart, top and bottom. */ | ||
.spaced-10 > * { | .spaced-10 > * { | ||
Line 6: | Line 16: | ||
} | } | ||
.list-spaced-v-10 > ul > li { | |||
margin: 10px; | |||
} | |||
.list-bare > ul { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Extension:Math */ | /* Extension:Math */ | ||
/* https://www.mediawiki.org/wiki/Extension:Math/advancedSettings#CSS_for_the_MathML_with_SVG_fallback_mode */ | /* https://www.mediawiki.org/wiki/Extension:Math/advancedSettings#CSS_for_the_MathML_with_SVG_fallback_mode */ | ||
Line 30: | Line 48: | ||
} | } | ||
*/ | */ | ||
/* Front page styles */ | /* Front page styles */ | ||
.page-Tetris_wiki .firstHeading { | .page-Tetris_wiki .firstHeading { | ||
display: none; | display: none; | ||
} | |||
.main-page-header { | |||
margin-bottom: 15px; | |||
padding: 15px 60px; | |||
} | |||
.main-page-header h1 { | |||
font-size: 28px; | |||
letter-spacing: 0.02em; | |||
margin-bottom: 16px; | |||
} | |||
.main-page-header > p { | |||
font-size: 16px; | |||
letter-spacing: 0.02em; | |||
margin-bottom: 25px; | |||
} | |||
.main-page-header a, | |||
.main-page-header a.external { | |||
color: #8ba8ff; | |||
} | |||
.main-page-header a:visited { | |||
color: #a4b9f6; | |||
} | |||
.main-page-header a.external:visited { | |||
color: #ca00fb; | |||
} | |||
.main-page-header .red { | |||
color: #2b59e7; | |||
} | |||
.main-page-header h1 { | |||
border-bottom: none; | |||
font-weight: bold; | |||
font-family: sans-serif; | |||
} | |||
.main-page-header__nav ul { | |||
margin-left: 0; | |||
display: flex; | |||
flex-wrap: wrap; | |||
list-style: none; | |||
justify-content: center; | |||
} | |||
.main-page-header__nav li:not(:last-child) { | |||
margin-right: 15px; | |||
} | |||
.main-page-header__nav li a { | |||
background: #347CFF; | |||
color: white; | |||
padding: 5px 10px; | |||
border-radius: 2px; | |||
} | |||
.main-page-header__nav li .new { | |||
color: #CB4554; | |||
background: #cfd5de; | |||
} | |||
.main-page-header__nav li a:visited { | |||
color: white; | |||
} | |||
.social-link a.image { | |||
display: inline; | |||
} | |||
/* Main page container */ | |||
.page-Tetris_wiki .mw-body-content { | |||
max-width: 1200px; | |||
margin: auto; | |||
} | |||
/* Main page styles */ | |||
.page-Tetris_wiki .mw-body h2 { | |||
border: none; | |||
font-family: sans-serif; | |||
font-weight: bold; | |||
color: #1f2456; | |||
} | |||
.page-Tetris_wiki .mw-body h2 img { | |||
margin-top: -3px; | |||
} | |||
/* Main page content */ | |||
.main-page-content { | |||
display: grid; | |||
grid-gap: 30px; | |||
grid-template-columns: 1fr 320px; | |||
} | |||
/* Game list */ | |||
.main-page-game-list { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr; | |||
} | |||
.main-page-game { | |||
text-align: center; | |||
} | |||
.main-page-game p { | |||
height: 0; | |||
padding-top: 162%; | |||
position: relative; | |||
} | |||
.main-page-game-list--fan-games .main-page-game p { | |||
padding-top: 100%; | |||
} | |||
.main-page-game p a { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
} | |||
.main-page-game img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: contain; | |||
} | |||
.badge { | |||
display: inline-flex; | |||
justify-content: center; | |||
align-items: center; | |||
width: 22px; | |||
height: 22px; | |||
background: white; | |||
mix-blend-mode: difference; | |||
border-radius: 11px; | |||
font-weight: bold; | |||
transform: scale(0.8); | |||
} | |||
/* Default styling for Navbar template */ | |||
.navbar { | |||
display: inline; | |||
font-size: 88%; | |||
font-weight: normal; | |||
} | |||
.navbar ul { | |||
display: inline-block; | |||
white-space: nowrap; | |||
} | |||
.mw-body-content .navbar ul { | |||
line-height: inherit; | |||
} | |||
.navbar li { | |||
word-spacing: -0.125em; | |||
} | |||
.navbar.mini li abbr[title] { | |||
font-variant: small-caps; | |||
border-bottom: none; | |||
text-decoration: none; | |||
cursor: inherit; | |||
} | |||
/* Navbar styling when nested in infobox and navbox */ | |||
.infobox .navbar { | |||
font-size: 100%; | |||
} | |||
.navbox .navbar { | |||
display: block; | |||
font-size: 100%; | |||
} | |||
.navbox-title .navbar { | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
text-align: left; | |||
/* @noflip */ | |||
margin-right: 0.5em; | |||
} | |||
/* Styling for JQuery makeCollapsible, matching that of collapseButton */ | |||
.mw-parser-output .mw-collapsible-toggle { | |||
font-weight: normal; | |||
/* @noflip */ | |||
text-align: right; | |||
padding-right: 0.2em; | |||
padding-left: 0.2em; | |||
} | |||
.mw-collapsible-leftside-toggle .mw-collapsible-toggle { | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Standard Navigationsleisten, aka box hiding thingy | |||
from .de. Documentation at [[Wikipedia:NavFrame]]. */ | |||
div.NavFrame { | |||
margin: 0; | |||
padding: 4px; | |||
border: 1px solid #a2a9b1; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
} | |||
div.NavFrame + div.NavFrame { | |||
border-top-style: none; | |||
border-top-style: hidden; | |||
} | |||
div.NavFrame div.NavHead { | |||
line-height: 1.6em; | |||
font-weight: bold; | |||
background-color: #ccf; | |||
position: relative; | |||
} | |||
div.NavFrame p, | |||
div.NavFrame div.NavContent, | |||
div.NavFrame div.NavContent p { | |||
font-size: 100%; | |||
} | |||
a.NavToggle { | |||
position: absolute; | |||
top: 0; | |||
/* @noflip */ | |||
right: 3px; | |||
font-weight: normal; | |||
font-size: 90%; | |||
} | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
} | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #a2a9b1; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | |||
.infobox.sisterproject { | |||
width: 20em; | |||
font-size: 90%; | |||
} | |||
.infobox.standard-talk { | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
} | |||
.infobox.standard-talk.bordered td, | |||
.infobox.standard-talk.bordered th { | |||
border: 1px solid #c0c090; | |||
} | |||
/* styles for bordered infobox with merged rows */ | |||
.infobox.bordered .mergedtoprow td, | |||
.infobox.bordered .mergedtoprow th { | |||
border: 0; | |||
border-top: 1px solid #a2a9b1; | |||
/* @noflip */ | |||
border-right: 1px solid #a2a9b1; | |||
} | |||
.infobox.bordered .mergedrow td, | |||
.infobox.bordered .mergedrow th { | |||
border: 0; | |||
/* @noflip */ | |||
border-right: 1px solid #a2a9b1; | |||
} | |||
/* Styles for geography infoboxes, eg countries, | |||
country subdivisions, cities, etc. */ | |||
.infobox.geography { | |||
border-collapse: collapse; | |||
line-height: 1.2em; | |||
font-size: 90%; | |||
} | |||
.infobox.geography td, | |||
.infobox.geography th { | |||
border-top: 1px solid #a2a9b1; | |||
padding: 0.4em 0.6em 0.4em 0.6em; | |||
} | |||
.infobox.geography .mergedtoprow td, | |||
.infobox.geography .mergedtoprow th { | |||
border-top: 1px solid #a2a9b1; | |||
padding: 0.4em 0.6em 0.2em 0.6em; | |||
} | |||
.infobox.geography .mergedrow td, | |||
.infobox.geography .mergedrow th { | |||
border: 0; | |||
padding: 0 0.6em 0.2em 0.6em; | |||
} | |||
.infobox.geography .mergedbottomrow td, | |||
.infobox.geography .mergedbottomrow th { | |||
border-top: 0; | |||
border-bottom: 1px solid #a2a9b1; | |||
padding: 0 0.6em 0.4em 0.6em; | |||
} | |||
.infobox.geography .maptable td, | |||
.infobox.geography .maptable th { | |||
border: 0; | |||
padding: 0; | |||
} | |||
/* Navbar styling when nested in infobox and navbox */ | |||
.infobox .navbar { | |||
font-size: 100%; | |||
} | |||
/** | |||
* Style for horizontal lists (separator following item). | |||
* @source https://www.mediawiki.org/wiki/Snippets/Horizontal_lists | |||
* @revision 9 (2016-08-10) | |||
* @author [[User:Edokter]] | |||
*/ | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Display list items inline */ | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
/* don't trust the note that says margin doesn't work with inline | |||
* removing margin: 0 makes dds have margins again */ | |||
margin: 0; | |||
display: inline; | |||
} | |||
/* Display nested lists inline */ | |||
.hlist.inline, | |||
.hlist.inline dl, | |||
.hlist.inline ol, | |||
.hlist.inline ul, | |||
.hlist dl dl, | |||
.hlist dl ol, | |||
.hlist dl ul, | |||
.hlist ol dl, | |||
.hlist ol ol, | |||
.hlist ol ul, | |||
.hlist ul dl, | |||
.hlist ul ol, | |||
.hlist ul ul { | |||
display: inline; | |||
} | |||
/* Hide empty list items */ | |||
.hlist .mw-empty-li, | |||
.hlist .mw-empty-elt { | |||
display: none; | |||
} | |||
/* Generate interpuncts */ | |||
.hlist dt:after { | |||
content: ": "; | |||
} | |||
.hlist dd:after, | |||
.hlist li:after { | |||
content: " · "; | |||
font-weight: bold; | |||
} | |||
.hlist dd:last-child:after, | |||
.hlist dt:last-child:after, | |||
.hlist li:last-child:after { | |||
content: none; | |||
} | |||
/* Add parentheses around nested lists */ | |||
.hlist dd dd:first-child:before, | |||
.hlist dd dt:first-child:before, | |||
.hlist dd li:first-child:before, | |||
.hlist dt dd:first-child:before, | |||
.hlist dt dt:first-child:before, | |||
.hlist dt li:first-child:before, | |||
.hlist li dd:first-child:before, | |||
.hlist li dt:first-child:before, | |||
.hlist li li:first-child:before { | |||
content: " ("; | |||
font-weight: normal; | |||
} | |||
.hlist dd dd:last-child:after, | |||
.hlist dd dt:last-child:after, | |||
.hlist dd li:last-child:after, | |||
.hlist dt dd:last-child:after, | |||
.hlist dt dt:last-child:after, | |||
.hlist dt li:last-child:after, | |||
.hlist li dd:last-child:after, | |||
.hlist li dt:last-child:after, | |||
.hlist li li:last-child:after { | |||
content: ")"; | |||
font-weight: normal; | |||
} | |||
/* Put ordinals in front of ordered list items */ | |||
.hlist ol { | |||
counter-reset: listitem; | |||
} | |||
.hlist ol > li { | |||
counter-increment: listitem; | |||
} | |||
.hlist ol > li:before { | |||
content: " " counter(listitem) "\a0"; | |||
} | |||
.hlist dd ol > li:first-child:before, | |||
.hlist dt ol > li:first-child:before, | |||
.hlist li ol > li:first-child:before { | |||
content: " (" counter(listitem) "\a0"; | |||
} | |||
/* Unbulleted lists */ | |||
.plainlist ol, | |||
.plainlist ul { | |||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0; | |||
} | |||
.plainlist ol li, | |||
.plainlist ul li { | |||
margin-bottom: 0; | |||
} | } |
Latest revision as of 04:24, 5 October 2024
/* CSS placed here will be applied to all skins */
.mw-references-wrap ol {
list-style: inherit;
}
/* logo fix */
#p-logo a {
background-size: 100%;
}
/* Utility styles */
/* Spaces direct children 10 px apart, top and bottom. */
.spaced-10 > * {
margin: 5px;
}
.list-spaced-v-10 > ul > li {
margin: 10px;
}
.list-bare > ul {
list-style: none;
margin: 0;
padding: 0;
}
/* Extension:Math */
/* https://www.mediawiki.org/wiki/Extension:Math/advancedSettings#CSS_for_the_MathML_with_SVG_fallback_mode */
/*
.mwe-math-mathml-a11y {
clip: auto !important;
overflow: visible !important;
position: static !important;
width: auto !important;
height: auto !important;
opacity: 1 !important;
}
.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display {
display: none !important;
}
*/
/* .mw-body, */
/*
mtext {
font-family: Latin Modern Roman;
}
math {
font-family: Latin Modern Math;
}
*/
/* Front page styles */
.page-Tetris_wiki .firstHeading {
display: none;
}
.main-page-header {
margin-bottom: 15px;
padding: 15px 60px;
}
.main-page-header h1 {
font-size: 28px;
letter-spacing: 0.02em;
margin-bottom: 16px;
}
.main-page-header > p {
font-size: 16px;
letter-spacing: 0.02em;
margin-bottom: 25px;
}
.main-page-header a,
.main-page-header a.external {
color: #8ba8ff;
}
.main-page-header a:visited {
color: #a4b9f6;
}
.main-page-header a.external:visited {
color: #ca00fb;
}
.main-page-header .red {
color: #2b59e7;
}
.main-page-header h1 {
border-bottom: none;
font-weight: bold;
font-family: sans-serif;
}
.main-page-header__nav ul {
margin-left: 0;
display: flex;
flex-wrap: wrap;
list-style: none;
justify-content: center;
}
.main-page-header__nav li:not(:last-child) {
margin-right: 15px;
}
.main-page-header__nav li a {
background: #347CFF;
color: white;
padding: 5px 10px;
border-radius: 2px;
}
.main-page-header__nav li .new {
color: #CB4554;
background: #cfd5de;
}
.main-page-header__nav li a:visited {
color: white;
}
.social-link a.image {
display: inline;
}
/* Main page container */
.page-Tetris_wiki .mw-body-content {
max-width: 1200px;
margin: auto;
}
/* Main page styles */
.page-Tetris_wiki .mw-body h2 {
border: none;
font-family: sans-serif;
font-weight: bold;
color: #1f2456;
}
.page-Tetris_wiki .mw-body h2 img {
margin-top: -3px;
}
/* Main page content */
.main-page-content {
display: grid;
grid-gap: 30px;
grid-template-columns: 1fr 320px;
}
/* Game list */
.main-page-game-list {
display: grid;
grid-gap: 15px;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.main-page-game {
text-align: center;
}
.main-page-game p {
height: 0;
padding-top: 162%;
position: relative;
}
.main-page-game-list--fan-games .main-page-game p {
padding-top: 100%;
}
.main-page-game p a {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.main-page-game img {
width: 100%;
height: 100%;
object-fit: contain;
}
.badge {
display: inline-flex;
justify-content: center;
align-items: center;
width: 22px;
height: 22px;
background: white;
mix-blend-mode: difference;
border-radius: 11px;
font-weight: bold;
transform: scale(0.8);
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavFrame div.NavHead {
line-height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
text-align: center;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
/**
* Style for horizontal lists (separator following item).
* @source https://www.mediawiki.org/wiki/Snippets/Horizontal_lists
* @revision 9 (2016-08-10)
* @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
/* don't trust the note that says margin doesn't work with inline
* removing margin: 0 makes dds have margins again */
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
display: none;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after,
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}