Module:Documentation/styles.css: Difference between revisions
Content added Content deleted
m (Tomybrz moved page Module:Documentation/sandbox/styles.css to Module:Documentation/styles.css without leaving a redirect: Topic:V24p1ieaeai6tho8) |
m (1 revision imported from wikipedia:Module:Documentation/styles.css) |
||
(55 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
/* {{pp|small=yes}} */ |
|||
.ts-doc-sandbox .mbox-image { |
|||
.documentation, |
|||
padding:.75em 0 .75em .75em; |
|||
.documentation-metadata { |
|||
} |
|||
⚫ | |||
⚫ | |||
.ts-doc-doc { |
|||
clear: both; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
.documentation { |
|||
.ts-doc-header { |
|||
⚫ | |||
⚫ | |||
padding: |
padding: 1em; |
||
} |
} |
||
.documentation-metadata { |
|||
.ts-doc-header .ts-tlinks-tlinks { |
|||
margin: 0.2em 0; /* same margin left-right as .documentation */ |
|||
float: right; |
|||
⚫ | |||
line-height: 24px; |
|||
padding: 0.4em 1em; /* same padding left-right as .documentation */ |
|||
} |
} |
||
.documentation-startbox { |
|||
.ts-doc-header .ts-tlinks-tlinks a.external { |
|||
⚫ | |||
color: #0645ad; |
|||
⚫ | |||
⚫ | |||
} |
} |
||
⚫ | |||
.ts-doc-header .ts-tlinks-tlinks a.external:visited { |
|||
⚫ | |||
color: #0b0080; |
|||
⚫ | |||
} |
} |
||
.documentation-clear { /* Don't want things to stick out where they shouldn't. */ |
|||
.ts-doc-header .ts-tlinks-tlinks a.external:active { |
|||
color: #faa700; |
|||
} |
|||
.ts-doc-content { |
|||
padding: .214286em 1em; |
|||
} |
|||
.ts-doc-content:after { |
|||
content: ''; |
|||
clear: both; |
clear: both; |
||
display: block; |
|||
} |
|||
⚫ | |||
display: inline-block; |
|||
⚫ | |||
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/OOjs_UI_icon_puzzle-ltr.svg/24px-OOjs_UI_icon_puzzle-ltr.svg.png) center left/24px 24px no-repeat; |
|||
height: 24px; |
|||
line-height: 24px; |
|||
⚫ | |||
⚫ | |||
letter-spacing: 1px; |
|||
text-transform: uppercase; |
|||
} |
} |
||
.documentation-toolbar { |
|||
.ts-doc-content > *:first-child, |
|||
font-style: normal; |
|||
.ts-doc-footer > *:first-child { |
|||
font-size: 85%; |
|||
} |
} |
||
html.skin-theme-clientpref-night .documentation, |
|||
.ts-doc-content > *:last-child, |
|||
html.skin-theme-clientpref-night .documentation-metadata { |
|||
.ts-doc-footer > *:last-child { |
|||
⚫ | |||
⚫ | |||
} |
} |
||
@media (prefers-color-scheme: dark) { |
|||
.ts-doc-footer { |
|||
html.skin-theme-clientpref-os .documentation, |
|||
⚫ | |||
html.skin-theme-clientpref-os .documentation-metadata { |
|||
⚫ | |||
⚫ | |||
padding: .214286em 1em; |
|||
} |
|||
margin-top: .214286em; |
|||
⚫ | |||
} |
} |
Latest revision as of 09:08, 11 April 2024
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
html.skin-theme-clientpref-night .documentation,
html.skin-theme-clientpref-night .documentation-metadata {
background-color: inherit;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .documentation,
html.skin-theme-clientpref-os .documentation-metadata {
background-color: inherit;
}
}