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

175 lines
2.3 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;
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;
}
.firstHeading-parenthesis {
font-size: @content-h3-size;
}
.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 {
&:after {
display: inline-block;
width: 0.75em;
height: 0.75em;
margin-left: 0.25em;
background-color: currentcolor;
content: '';
/* @embed */
-webkit-mask: url( images/linkExternal-ltr.svg ) no-repeat 50% 50%;
/* @embed */
mask: url( images/linkExternal-ltr.svg ) no-repeat 50% 50%;
-webkit-mask-size: contain;
mask-size: contain;
}
}
}
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
}