Module:Documentation/styles.css: Difference between revisions
Content added Content deleted
m (23 revisions imported from w:Module:Documentation/styles.css: blame User:Barkeep49) |
Sakura emad (talk | contribs) m (1 revision imported from wikipedia:Module:Documentation/styles.css) |
||
Line 1: | Line 1: | ||
⚫ | |||
/* {{PP-template}} */ |
|||
⚫ | |||
padding:.75em 0 .75em .75em; |
padding:.75em 0 .75em .75em; |
||
} |
} |
||
.ts-doc-doc { |
.ts-doc-doc { |
||
clear: both; |
clear: both; |
||
background-color: # |
background-color: #eaf3ff; |
||
border: 1px solid # |
border: 1px solid #a3caff; |
||
margin-top: 1em; |
margin-top: 1em; |
||
border-top-left-radius: 2px; |
|||
⚫ | |||
border-top-right-radius: 2px; |
|||
} |
} |
||
.ts-doc-header { |
.ts-doc-header { |
||
background-color: #c2dcff; |
|||
padding-bottom: 3px; |
|||
padding: .642857em 1em .5em; |
|||
border-bottom: 1px solid #a2a9b1; |
|||
border-top-left-radius: 2px; |
|||
margin-bottom: 1ex; |
|||
border-top-right-radius: 2px; |
|||
} |
} |
||
.ts-doc-header .ts-tlinks-tlinks { |
.ts-doc-header .ts-tlinks-tlinks { |
||
display: inline-block; |
|||
line-height: 24px; |
line-height: 24px; |
||
margin-left: |
margin-left: 0; |
||
} |
} |
||
Line 34: | Line 34: | ||
.ts-doc-header .ts-tlinks-tlinks a.external:active { |
.ts-doc-header .ts-tlinks-tlinks a.external:active { |
||
color: #faa700; |
color: #faa700; |
||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
Line 44: | Line 48: | ||
.ts-doc-heading { |
.ts-doc-heading { |
||
display: inline-block; |
display: inline-block; |
||
padding-left: |
padding-left: 30px; |
||
background: center left/ |
background: center left/24px 24px no-repeat; |
||
/* @noflip */ |
|||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png); |
|||
background-image: url( |
background-image: url(//upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg); |
||
height: 24px; |
|||
line-height: 24px; |
|||
⚫ | |||
font-weight: 600; |
|||
letter-spacing: 1px; |
|||
text-transform: uppercase; |
|||
} |
} |
||
Line 62: | Line 71: | ||
.ts-doc-footer { |
.ts-doc-footer { |
||
background-color: # |
background-color: #eaf3ff; |
||
border: 1px solid # |
border: 1px solid #a3caff; |
||
padding: . |
padding: .214286em 1em; |
||
margin-top: . |
margin-top: .214286em; |
||
font-style: italic; |
font-style: italic; |
||
border-bottom-left-radius: 2px; |
|||
border-bottom-right-radius: 2px; |
|||
} |
} |
||
@media all and (min-width: 720px) { |
|||
.ts-doc-footer small { |
|||
.ts-doc-header .ts-tlinks-tlinks { |
|||
⚫ | |||
float: right; |
|||
⚫ | |||
} |
|||
⚫ | |||
clear: both; |
|||
} |
} |
Revision as of 09:58, 12 January 2022
.ts-doc-sandbox .mbox-image {
padding:.75em 0 .75em .75em;
}
.ts-doc-doc {
clear: both;
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 {
padding: .214286em 1em;
}
.ts-doc-content:after {
content: '';
clear: both;
display: block;
}
.ts-doc-heading {
display: inline-block;
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,
.ts-doc-footer > *:first-child {
margin-top: .5em;
}
.ts-doc-content > *:last-child,
.ts-doc-footer > *:last-child {
margin-bottom: .5em;
}
.ts-doc-footer {
background-color: #eaf3ff;
border: 1px solid #a3caff;
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;
}
}