Module:Documentation/styles.css: Difference between revisions
Content added Content deleted
(adaptive header, tlinks have normal view on small displays) |
(start a page) |
||
Line 1: | Line 1: | ||
.template-documentation { |
|||
.ts-doc-sandbox .mbox-image { |
|||
padding:.75em 0 .75em .75em; |
|||
} |
|||
.ts-doc-doc { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
border-top-left-radius: 2px; |
|||
border-top-right-radius: 2px; |
|||
} |
|||
.ts-doc-header { |
|||
background-color: #c2dcff; |
|||
⚫ | |||
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; |
clear: both; |
||
⚫ | |||
display: block; |
|||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
.ts-doc-heading { |
|||
display: inline-block; |
|||
padding-left: 30px; |
|||
background: url(//upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg) center left/24px 24px no-repeat; |
|||
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; |
|||
} |
|||
} |
} |