Module:Documentation/styles.css: Difference between revisions

From Ato Wiki
m (1 revision imported: Trying to fix Mbox)
No edit summary
Tag: Manual revert
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
.ts-doc-sandbox .mbox-image {
.documentation {
padding:.75em 0 .75em .75em;
    margin-top: var( --space-md );
}
    padding-top: var( --space-md );
    border-top: 1px solid;
.ts-doc-doc {
    border-color: var( --border-color-base );
clear: both;
    font-size: var( --font-size-small );
background-color: #eaf3ff;
border: 1px solid #a3caff;
margin-top: 1em;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
 
.ts-doc-header {
background-color: #c2dcff;
padding: .642857em 1em .5em;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
 
.ts-doc-header .ts-tlinks-tlinks {
line-height: 24px;
margin-left: 0;
}
 
.ts-doc-header .ts-tlinks-tlinks a.external {
color: #0645ad;
}
 
.ts-doc-header .ts-tlinks-tlinks a.external:visited {
color: #0b0080;
}
 
.ts-doc-header .ts-tlinks-tlinks a.external:active {
color: #faa700;
}
}


.ts-doc-content {
.documentation-header {
padding: .214286em 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
}


.ts-doc-content:after {
.documentation-title {
content: '';
    color: var( --color-base--emphasized );
clear: both;
    font-size: var( --font-size-x-large );
display: block;
    font-weight: var( --font-weight-semibold );
    line-height: var( --line-height-xs );
}
}


.ts-doc-heading {
.documentation-links {
display: inline-block;
    font-family: var( --font-family-monospace );
padding-left: 30px;
background: center left/24px 24px no-repeat;
/* @noflip */
background-image: url(//upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg);
height: 24px;
line-height: 24px;
font-size: 13px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
}
}


.ts-doc-content > *:first-child,
.documentation-subheader {
.ts-doc-footer > *:first-child {
    color: var( --color-base--subtle );
margin-top: .5em;
    font-size: var( --font-size-x-small );
    line-height: var( --line-height-sm );
}
}


.ts-doc-content > *:last-child,
.documentation-content {
.ts-doc-footer > *:last-child {
    margin-top: var( --space-xl );
margin-bottom: .5em;
}
}


.ts-doc-footer {
.documentation-modulestats {
background-color: #eaf3ff;
    padding: var( --space-xxs );
border: 1px solid #a3caff;
    background: var( --color-surface-2 );
padding: .214286em 1em;
    border-radius: var( --border-radius--medium );
margin-top: .214286em;
    display: flex;
font-style: italic;
    align-items: center;
border-bottom-left-radius: 2px;
    justify-content: space-between;
border-bottom-right-radius: 2px;
}
}


@media all and (min-width: 720px) {
.documentation-modulestats .wikitable {
.ts-doc-header .ts-tlinks-tlinks {
    margin: 0;
float: right;
}
}
}

Latest revision as of 11:32, 1 May 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;
}