Module:Documentation/styles.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
m 1 revision imported from meta:Module:Documentation/styles.css |
||
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; |
clear: both; |
||
⚫ | |||
color: #333; |
|||
⚫ | |||
⚫ | |||
border-top-left-radius: 2px; |
|||
border-top-right-radius: 2px; |
|||
} |
} |
||
.documentation { |
|||
.ts-doc-header { |
|||
⚫ | |||
background-color: #c2dcff; |
|||
padding: 1em; |
|||
padding: .642857em 1em .5em; |
|||
border-top-left-radius: 2px; |
|||
border-top-right-radius: 2px; |
|||
} |
} |
||
.documentation-metadata { |
|||
⚫ | |||
margin: 0.2em 0; /* same margin left-right as .documentation */ |
|||
display: inline-block; |
|||
⚫ | |||
padding-left: 30px; |
|||
padding: 0.4em 1em; /* same padding left-right as .documentation */ |
|||
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; |
|||
⚫ | |||
⚫ | |||
letter-spacing: 1px; |
|||
text-transform: uppercase; |
|||
} |
} |
||
.documentation-startbox { |
|||
.ts-doc-header .ts-tlinks-tlinks { |
|||
padding-bottom: 3px; |
|||
⚫ | |||
margin- |
margin-bottom: 1ex; |
||
} |
} |
||
⚫ | |||
.ts-doc-header .ts-tlinks-tlinks a.external { |
|||
⚫ | |||
color: #0645ad; |
|||
⚫ | |||
} |
} |
||
.documentation-clear { /* Don't want things to stick out where they shouldn't. */ |
|||
.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 { |
|||
padding: .214286em 1em; |
|||
} |
|||
.ts-doc-content:after { |
|||
content: ''; |
|||
clear: both; |
clear: both; |
||
display: block; |
|||
} |
|||
.ts-doc-content > :first-child { |
|||
margin-top: .5em; |
|||
} |
|||
.ts-doc-content > :last-child { |
|||
margin-bottom: .5em; |
|||
} |
|||
.ts-doc-footer { |
|||
background-color: #eaf3ff; |
|||
color: #333; |
|||
⚫ | |||
padding: .214286em 1em; |
|||
margin-top: .214286em; |
|||
⚫ | |||
border-bottom-left-radius: 2px; |
|||
border-bottom-right-radius: 2px; |
|||
} |
} |
||
.documentation-toolbar { |
|||
@media all and (min-width: 720px) { |
|||
font-style: normal; |
|||
.ts-doc-header .ts-tlinks-tlinks { |
|||
font-size: 85%; |
|||
float: right; |
|||
} |
|||
} |
} |
Revision as of 13:06, 23 June 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%;
}