Module:Documentation/styles.css: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m 1 revision imported
No edit summary
Line 1: Line 1:
/* {{pp|small=yes}} */
.documentation {
.documentation,
    margin-top: var( --space-md );
.documentation-metadata {
    padding-top: var( --space-md );
border: 1px solid #a2a9b1;
    border-top: 1px solid;
background-color: #ecfcf4;
    border-color: var( --border-color-base );
clear: both;
    font-size: var( --font-size-small );
}
 
.documentation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
}


.documentation {
.documentation-title {
margin: 1em 0 0 0;
    color: var( --color-base--emphasized );
padding: 1em;
    font-size: var( --font-size-x-large );
    font-weight: var( --font-weight-semibold );
    line-height: var( --line-height-xs );
}
}


.documentation-metadata {
.documentation-links {
margin: 0.2em 0; /* same margin left-right as .documentation */
    font-family: var( --font-family-monospace );
    font-style: italic;
    padding: 0.4em 1em; /* same padding left-right as .documentation */
}
}


.documentation-startbox {
.documentation-subheader {
padding-bottom: 3px;
    color: var( --color-base--subtle );
border-bottom: 1px solid #aaa;
    font-size: var( --font-size-x-small );
margin-bottom: 1ex;
    line-height: var( --line-height-sm );
}
}


.documentation-heading {
.documentation-content {
font-weight: bold;
    margin-top: var( --space-xl );
font-size: 125%;
}
}


.documentation-clear { /* Don't want things to stick out where they shouldn't. */
.documentation-modulestats {
clear: both;
    padding: var( --space-xxs );
    background: var( --color-surface-2 );
    border-radius: var( --border-radius--medium );
    display: flex;
    align-items: center;
    justify-content: space-between;
}
}


.documentation-toolbar {
.documentation-modulestats .wikitable {
font-style: normal;
    margin: 0;
font-size: 85%;
}
}

Revision as of 17:47, 27 February 2024

.documentation {
    margin-top: var( --space-md );
    padding-top: var( --space-md );
    border-top: 1px solid;
    border-color: var( --border-color-base );
    font-size: var( --font-size-small );
}

.documentation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.documentation-title {
    color: var( --color-base--emphasized );
    font-size: var( --font-size-x-large );
    font-weight: var( --font-weight-semibold );
    line-height: var( --line-height-xs );
}

.documentation-links {
    font-family: var( --font-family-monospace );
}

.documentation-subheader {
    color: var( --color-base--subtle );
    font-size: var( --font-size-x-small );
    line-height: var( --line-height-sm );
}

.documentation-content {
    margin-top: var( --space-xl );
}

.documentation-modulestats {
    padding: var( --space-xxs );
    background: var( --color-surface-2 );
    border-radius: var( --border-radius--medium );
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.documentation-modulestats .wikitable {
    margin: 0;
}