Template:Documentation/styles.css: Difference between revisions
Template page
More actions
mNo edit summary |
Stevium changed the content model of the page Template:Documentation/styles.css from "CSS" to "Sanitized CSS": TemplateStyles |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.template-documentation { | .template-documentation { | ||
overflow: hidden; | overflow: hidden; | ||
| Line 19: | Line 18: | ||
.template-documentation .template-documentation-langs { | .template-documentation .template-documentation-langs { | ||
background-color: | background-color: var(--background-color-2); | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
| Line 51: | Line 49: | ||
border: none; | border: none; | ||
border-spacing: 5px; | border-spacing: 5px; | ||
} | } | ||
| Line 64: | Line 57: | ||
.doctable tr.links td a, | .doctable tr.links td a, | ||
.doctable tr.links td .mw-selflink { | .doctable tr.links td .mw-selflink { | ||
padding: | padding: 0.25em; | ||
display: block; | display: block; | ||
font-size: 1rem; | font-size: 1rem; | ||
| Line 71: | Line 64: | ||
transition: 0.1s; | transition: 0.1s; | ||
border-radius: 10px; | border-radius: 10px; | ||
margin-top: | margin-top: 0.25em; | ||
. | |||
background-color: var(--background-color-2); | background-color: var(--background-color-2); | ||
color: var(-- | color: var(--color-base); | ||
font-weight: 700; | font-weight: 700; | ||
/* hide external link icon */ | |||
background-image: none; | |||
} | } | ||
.doctable tr.links td a:hover, | .doctable tr.links td a:hover, | ||
.doctable tr.links td .mw-selflink { | .doctable tr.links td .mw-selflink { | ||
background-color: var(-- | background-color: var(--color-accent); | ||
color: var(--color-accent-text); | |||
} | |||
/* Buttons */ | |||
.template-documentation-header #doc_editlinks { | |||
color: transparent; | |||
} | |||
.template-documentation-header #doc_editlinks a { | |||
color: var(--color-base); | color: var(--color-base); | ||
background-color: var(--background-color-4) !important; | |||
padding: 2px 8px !important; | |||
border-radius: 10px !important; | |||
} | } | ||
. | .template-documentation-header #doc_editlinks a:hover { | ||
text-decoration: none; | |||
background-color: var(--background-color-5) !important; | |||
} | } | ||
.template-documentation-header #doc_editlinks a:not(:last-child) { | |||
.template-documentation-header #doc_editlinks | margin-right: -5px; | ||
} | } | ||