mediawiki-skins-Citizen/resources/skins.citizen.styles/common/content.less

137 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-06-12 18:16:45 +00:00
.firstHeading {
margin: 0;
2021-03-06 01:44:46 +00:00
overflow-wrap: break-word;
word-break: break-word;
2020-06-12 18:16:45 +00:00
}
#siteSub {
display: block;
margin-top: 0.2rem;
2020-06-12 18:16:45 +00:00
}
#siteSub,
2020-06-12 18:16:45 +00:00
#contentSub,
#contentSub2 {
color: var( --color-base--subtle );
2020-06-12 18:16:45 +00:00
}
2020-06-11 22:15:40 +00:00
#mw-content-text {
2020-06-12 18:16:45 +00:00
.mw-parser-output {
& > h1,
& > h2,
& > h3,
& > h4,
& > h5,
& > h6 {
display: flex;
align-items: center;
}
.mw-editsection {
display: flex;
2021-03-03 00:32:55 +00:00
margin-left: auto;
2020-06-12 18:16:45 +00:00
a {
.resource-loader-icon-link-small;
padding: @margin-side / 4;
background: 0 !important; // Cancel above styles
2021-01-14 17:20:15 +00:00
opacity: var( --opacity-icon-base );
2020-06-12 18:16:45 +00:00
text-indent: -9999px; // Hide text
2021-01-14 17:20:15 +00:00
transition: @transition-opacity-quick;
2020-06-12 18:16:45 +00:00
&:before {
.resource-loader-icon;
display: block;
background-size: contain;
2020-06-12 18:16:45 +00:00
}
2021-01-14 17:20:15 +00:00
&:hover {
opacity: var( --opacity-icon-base--hover );
}
&:active {
opacity: var( --opacity-icon-base--active );
2020-06-12 18:16:45 +00:00
}
}
> span {
display: none;
}
}
}
}
.citizen-body,
.mw-body-content {
2020-06-12 18:16:45 +00:00
h1,
h2,
h3,
h4,
h5,
h6 {
padding: 0;
margin: 0;
2020-06-12 18:16:45 +00:00
}
h1,
h2 {
margin-top: @content-margin-top * 3;
}
h3,
h4,
h5,
2021-06-22 00:51:50 +00:00
h6 {
2020-06-12 18:16:45 +00:00
margin-top: @content-margin-top * 2;
}
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6,
table {
margin-top: @content-margin-top;
}
2021-06-22 00:51:50 +00:00
p {
margin-top: @content-margin-top;
margin-bottom: @content-margin-top;
2021-06-22 00:53:47 +00:00
overflow-wrap: break-word;
2021-06-22 00:51:50 +00:00
}
2020-06-12 18:16:45 +00:00
ul {
margin: @content-margin-top 0 0 @content-margin-top * 2;
ul {
margin: 0 0 0 @content-margin-top * 2;
}
}
ol {
margin: @content-margin-top 0 0 @content-margin-top * 3;
ol {
margin: 0 0 0 @content-margin-top * 3;
}
}
img {
vertical-align: middle;
}
a.image {
display: block;
overflow: hidden;
> img {
transition: @transition-transform-quick;
}
2020-06-12 18:16:45 +00:00
}
}
.center {
width: 100%;
text-align: center;
}