mediawiki-skins-Citizen/resources/skins.citizen.styles/common/content.less
alistair3149 2d5246a8a6
feat(core): update wikitable styles
When the wikitable style is first implemented, it didn't take consideration
of different usage out there. For example, it doesn't work well with complex
table or table cell background. This should make it more usable for wikis
out there.
2022-11-21 17:46:37 -05:00

91 lines
1.1 KiB
Plaintext

.firstHeading {
margin: 0;
overflow-wrap: break-word;
word-break: break-word;
}
.firstHeading-parenthesis {
color: var( --color-base--subtle );
}
.mw-page-title {
&-namespace {
color: var( --color-base );
}
&-separator {
margin-right: var( --space-xxs );
color: var( --color-base--subtle );
}
}
.citizen-body {
h1,
h2,
h3,
h4,
h5,
h6 {
padding: 0;
margin: 0;
}
h1,
h2 {
margin-top: @content-margin-top * 3;
}
h3,
h4,
h5,
h6 {
margin-top: @content-margin-top * 2;
}
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
margin-top: @content-margin-top;
}
p {
margin-top: @content-margin-top;
margin-bottom: @content-margin-top;
overflow-wrap: break-word;
}
img {
vertical-align: middle;
}
a.image {
display: inline-block;
overflow: hidden;
vertical-align: top; // get rid of that weird bottom gap from inline block
> img {
transition: @transition-transform;
}
&:hover:not( .lazy ):not( .new ) {
> img {
transform: scale( 1.1 );
}
}
}
}
.center {
width: 100%;
text-align: center;
}
.plainlist ol,
.plainlist ul {
margin: 0;
line-height: inherit;
list-style: none none;
}