MediaWiki:Documentation.css: Difference between revisions
MediaWiki interface page
More actions
ReisuDesign (talk | contribs) Created page with "→Documentation: .template-documentation { border-radius: 10px; overflow: hidden; margin: 1em 0; } .template-documentation .template-documentation-header { background-color: #EEE; background-color: var(--theme-color-4); padding: 1em; border-radius: 10px; } .template-documentation .template-documentation-langs { background-color: #F6F6F6; background-color: rgba(var(--theme-border-color--rgb, 246,246,246), 0.15); display: flex; flex-wrap: wrap; list..." |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 96: | Line 96: | ||
border-color: #a1cebf; | border-color: #a1cebf; | ||
background-color: #EEEEEE1a; | background-color: #EEEEEE1a; | ||
} | |||
/* Edits appearence of buttons on Header 8/ | |||
.template-documentation-header #doc_editlinks { | |||
color: transparent; | |||
/* hide text including [ and ] */ | |||
a { | |||
color: inherit; | |||
/* restore link color */ | |||
color: var(--theme-link-color); | |||
/* or your normal link color */ | |||
background-color: var(--theme-color-6) !important; | |||
padding: 2px 10px !important; | |||
border-radius: 10px !important; | |||
transition: ease .15s; | |||
} | |||
a:hover { | |||
background-color: var(--theme-color-8) !important; | |||
transition: ease .15s; | |||
} | |||
a:not(:last-child) { | |||
margin-right: -5px; | |||
} | |||
a::before, | |||
a::after { | |||
content: ''; | |||
/* no [ ] before or after */ | |||
} | |||
} | } | ||