Module:Documentation/styles.css: Difference between revisions
From Chronos Universe Wiki
More actions
wp>Jonesey95 Fix Linter errors related to text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value. |
m 1 revision imported |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.documentation { | |||
.documentation | margin-top: var( --space-md ); | ||
padding-top: var( --space-md ); | |||
border-top: var( --border-base ); | |||
} | } | ||
.documentation { | .documentation-header { | ||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
flex-wrap: wrap; | |||
} | } | ||
.documentation- | .documentation-header, | ||
.documentation-subheader { | |||
line-height: 1.25; | |||
} | } | ||
.documentation- | .documentation-title { | ||
color: var( --color-emphasized ); | |||
font-size: var( --font-size-large ); | |||
font-weight: var( --font-weight-semi-bold ); | |||
} | } | ||
.documentation- | .documentation-links { | ||
font-family: var( --font-family-monospace ); | |||
} | } | ||
.documentation- | .documentation-subheader { | ||
color: var( --color-subtle ); | |||
font-size: var( --font-size-small ); | |||
} | } | ||
.documentation- | .documentation-content { | ||
margin-top: var( --space-xl ); | |||
} | } | ||
.documentation-modulestats { | |||
padding: var( --space-xxs ); | |||
background: var( --color-surface-1 ); | |||
border-radius: var( --border-radius-medium ); | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
} | } | ||
.documentation-modulestats > * { | |||
margin: 0 !important; | |||
} | } | ||
Latest revision as of 11:34, 14 January 2026
.documentation {
margin-top: var( --space-md );
padding-top: var( --space-md );
border-top: var( --border-base );
}
.documentation-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.documentation-header,
.documentation-subheader {
line-height: 1.25;
}
.documentation-title {
color: var( --color-emphasized );
font-size: var( --font-size-large );
font-weight: var( --font-weight-semi-bold );
}
.documentation-links {
font-family: var( --font-family-monospace );
}
.documentation-subheader {
color: var( --color-subtle );
font-size: var( --font-size-small );
}
.documentation-content {
margin-top: var( --space-xl );
}
.documentation-modulestats {
padding: var( --space-xxs );
background: var( --color-surface-1 );
border-radius: var( --border-radius-medium );
display: flex;
align-items: center;
justify-content: space-between;
}
.documentation-modulestats > * {
margin: 0 !important;
}