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

82 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-06-10 22:02:22 +00:00
html {
font-size: @html-font-size;
}
html,
body {
font-family: var( --font-family-base );
font-weight: var( --font-weight-normal );
2020-06-10 22:02:22 +00:00
// font-smoothing: antialiased;
// -webkit-font-smoothing: antialiased; /* Chrome, Safari */
// -moz-osx-font-smoothing: grayscale; /* Firefox */
2020-06-10 22:02:47 +00:00
}
2020-06-11 22:15:40 +00:00
input {
font-family: var( --font-family-base ); // Override browser's default
2020-06-11 22:15:40 +00:00
}
b,
strong {
font-weight: var( --font-weight-semibold );
}
2020-06-11 22:15:40 +00:00
cite {
font-style: inherit;
}
blockquote {
font-family: var( --font-family-serif );
2020-06-11 22:15:40 +00:00
font-style: italic;
cite {
font-family: var( --font-family-base );
font-size: @content-caption-size;
2020-06-11 22:15:40 +00:00
font-style: normal;
}
}
sub,
sup {
2020-06-11 22:15:40 +00:00
font-size: 80%;
}
figcaption,
.thumbcaption {
font-size: @content-caption-size;
font-style: italic;
2020-06-12 05:22:05 +00:00
i {
font-style: normal;
}
2020-06-11 22:15:40 +00:00
}
2021-04-17 01:22:09 +00:00
.mw-logo-wordmark {
font-weight: var( --font-weight-semibold );
2020-06-11 22:15:40 +00:00
}
.thumbinner {
.new {
font-size: @content-caption-size;
}
}
.firstHeading {
&-parenthesis {
font-size: var( --font-size-h3 );
}
}
.citizen-body,
.mw-body-content {
line-height: var( --line-height );
2020-06-11 22:15:40 +00:00
}
2021-04-11 21:57:50 +00:00
@media ( max-width: @width-breakpoint-tablet ) {
2020-06-12 05:22:05 +00:00
#mw-content-text {
figcaption,
.thumbcaption {
text-align: center;
}
2020-06-11 22:15:40 +00:00
}
2020-06-11 22:16:03 +00:00
}