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

162 lines
2.1 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 );
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
}
pre,
code,
tt,
kbd,
samp,
.mw-code {
font-family: var( --font-family-monospace );
2020-06-11 22:15:40 +00:00
font-size: @content-monospace-size;
}
cite {
font-style: inherit;
}
fieldset {
font-size: @content-monospace-size;
}
legend {
font-weight: bold;
}
blockquote {
font-family: var( --font-family-serif );
2020-06-11 22:15:40 +00:00
font-size: @content-quote-primary-size;
font-style: italic;
cite {
font-family: var( --font-family-base );
2020-06-11 22:15:40 +00:00
font-size: @content-quote-secondary-size;
font-style: normal;
}
}
dt {
font-weight: bold;
}
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
}
#contentSub,
#contentSub2 {
font-size: @content-caption-size;
}
#siteSub {
font-size: @content-caption-size;
}
2021-04-17 01:22:09 +00:00
.mw-logo-wordmark {
font-weight: 500;
2021-04-17 05:51:15 +00:00
letter-spacing: 1px;
2020-06-11 22:15:40 +00:00
}
.thumbinner {
.new {
font-size: @content-caption-size;
}
}
2020-06-11 22:17:30 +00:00
.error {
font-size: unset;
font-weight: normal;
}
.citizen-body,
.mw-body-content {
line-height: var( --line-height );
h1 {
2020-06-11 22:15:40 +00:00
font-size: @content-h1-size;
}
h1,
h2 {
2020-06-11 22:15:40 +00:00
font-weight: bold;
line-height: 1.2;
}
h2 {
font-size: @content-h2-size;
}
2020-06-11 22:15:40 +00:00
h3 {
font-size: @content-h3-size;
}
2020-06-11 22:15:40 +00:00
h4 {
font-size: @content-h4-size;
}
2020-06-11 22:15:40 +00:00
h5 {
font-size: @content-h5-size;
}
2020-06-11 22:15:40 +00:00
h6 {
font-size: @content-h6-size;
}
2020-06-11 22:15:40 +00:00
h3,
h4,
h5,
h6 {
font-weight: bold;
2020-06-11 22:15:40 +00:00
}
}
// External links
.mw-parser-output {
2021-03-02 17:51:52 +00:00
a.external {
padding-right: 13px;
background-image: url( images/external-link-ltr-icon.svg );
background-position: center right;
background-repeat: no-repeat;
}
}
2021-03-02 17:51:52 +00:00
.plainlinks {
a.external {
padding: 0 !important;
background: none !important;
}
}
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
}