|
|
| (5 intermediate revisions by 5 users not shown) |
| Line 1: |
Line 1: |
| .ts-doc-sandbox .mbox-image { | | /* {{pp|small=yes}} */ |
| padding:.75em 0 .75em .75em; | | .documentation, |
| }
| | .documentation-metadata { |
| | | border: 1px solid var( --border-color-base, #a2a9b1 ); |
| .ts-doc-doc {
| | background-color: #ecfcf4; color:inherit; |
| clear: both; | | clear: both; |
| background-color: #eaf3ff;
| |
| color: var(--color-fixed, #333);
| |
| border: 1px solid #a3caff;
| |
| margin-top: 1em;
| |
| border-top-left-radius: 2px;
| |
| border-top-right-radius: 2px;
| |
| }
| |
|
| |
| .ts-doc-header {
| |
| background-color: #c2dcff;
| |
| color: var(--color-fixed, #333 );
| |
| padding: .642857em 1em .5em;
| |
| border-top-left-radius: 2px;
| |
| border-top-right-radius: 2px;
| |
| } | | } |
|
| |
|
| .ts-doc-heading { | | .documentation { |
| display: inline-block; | | margin: 1em 0 0 0; |
| padding-left: 30px; | | padding: 1em; |
| 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-header .ts-tlinks-tlinks { | | .documentation-metadata { |
| line-height: 24px;
| | margin: 0.2em 0; /* same margin left-right as .documentation */ |
| margin-left: 0;
| | font-style: italic; |
| | padding: 0.4em 1em; /* same padding left-right as .documentation */ |
| } | | } |
|
| |
|
| .ts-doc-header .ts-tlinks-tlinks a.external { | | .documentation-startbox { |
| color: #0645ad; | | padding-bottom: 3px; |
| | border-bottom: 1px solid var( --border-color-base, #a2a9b1 ); |
| | margin-bottom: 1ex; |
| } | | } |
|
| |
|
| .ts-doc-header .ts-tlinks-tlinks a.external:visited { | | .documentation-heading { |
| color: #0b0080; | | font-weight: bold; |
| | font-size: 125%; |
| } | | } |
|
| |
|
| .ts-doc-header .ts-tlinks-tlinks a.external:active { | | .documentation-clear { /* Don't want things to stick out where they shouldn't. */ |
| color: #faa700;
| |
| }
| |
| | |
| .ts-doc-content {
| |
| padding: .214286em 1em;
| |
| }
| |
| | |
| .ts-doc-content:after {
| |
| content: '';
| |
| clear: both; | | clear: both; |
| display: block;
| |
| } | | } |
|
| |
|
| .ts-doc-content > :first-child { | | .documentation-toolbar { |
| margin-top: .5em; | | font-style: normal; |
| | font-size: 85%; |
| } | | } |
|
| |
|
| .ts-doc-content > :last-child {
| |
| margin-bottom: .5em;
| |
| }
| |
|
| |
|
| .ts-doc-footer { | | @media screen { |
| background-color: #eaf3ff;
| | html.skin-theme-clientpref-night .documentation, |
| color: var(--color-fixed, #333); | | html.skin-theme-clientpref-night .documentation-metadata { |
| border: 1px solid #a3caff;
| | background-color: #0b1e1c; color:inherit; |
| padding: .214286em 1em;
| | } |
| margin-top: .214286em;
| |
| font-style: italic;
| |
| border-bottom-left-radius: 2px;
| |
| border-bottom-right-radius: 2px; | |
| } | | } |
|
| |
|
| @media all and (min-width: 720px) {
| |
| .ts-doc-header .ts-tlinks-tlinks {
| |
| float: right;
| |
| }
| |
| }
| |
|
| |
|
| /* fix headers in dark mode */
| | @media screen and ( prefers-color-scheme: dark ) { |
| .ts-doc-content .mw-heading {
| | html.skin-theme-clientpref-os .documentation, |
| color: var(--color-fixed, #222);
| | html.skin-theme-clientpref-os .documentation-metadata { |
| }
| | background-color: #0b1e1c; color:inherit; |
| .mw-templatedata-caption, | | } |
| .mw-templatedata-format { | |
| color: var(--color-fixed, #222);
| |
| } | |
| /* fix icon for templatedata params (inline/block) in dark mode */
| |
| .mw-templatedata-doc-params .oo-ui-widget {
| |
| filter: unset !important;
| |
| } | | } |