Difference between revisions of "Template:Cover"
From Detective Conan Wiki
| Line 1: | Line 1: | ||
| − | <includeonly><span class="cover">{{{1}}}</span> | + | <includeonly><span class="cover">{{{1}}}</span></includeonly> |
{{css| | {{css| | ||
.cover, .cover a, a .cover, .cover a.new { | .cover, .cover a, a .cover, .cover a.new { | ||
| Line 5: | Line 5: | ||
color: #e6e6e6; | color: #e6e6e6; | ||
text-shadow: none; | text-shadow: none; | ||
| − | transition: color 0.2s linear; | + | transition: color 0.2s linear, background-color 0.2s linear; |
} | } | ||
.cover:hover, .cover:active, | .cover:hover, .cover:active, | ||
.cover:hover .cover, .cover:active .cover { | .cover:hover .cover, .cover:active .cover { | ||
color: black !important; | color: black !important; | ||
| + | background-color: transparent !important; | ||
} | } | ||
.cover:hover a, a:hover .cover, | .cover:hover a, a:hover .cover, | ||
.cover:active a, a:active .cover { | .cover:active a, a:active .cover { | ||
color: blue !important; | color: blue !important; | ||
| + | background-color: transparent !important; | ||
} | } | ||
.cover:hover .new, .cover .new:hover, .new:hover .cover, | .cover:hover .new, .cover .new:hover, .new:hover .cover, | ||
.cover:active .new, .cover .new:active, .new:active .cover { | .cover:active .new, .cover .new:active, .new:active .cover { | ||
color: #BA0000 !important; | color: #BA0000 !important; | ||
| + | background-color: transparent !important; | ||
} | } | ||
| − | }} | + | }}<noinclude>{{Documentation}} |
This template permits the insertion of "spoiler information" with a concealed appearance by default; '''the user would have to hover their cursor on the chunk of covered text to uncover spoiler content'''. | This template permits the insertion of "spoiler information" with a concealed appearance by default; '''the user would have to hover their cursor on the chunk of covered text to uncover spoiler content'''. | ||
Revision as of 17:41, 1 June 2025
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
This template permits the insertion of "spoiler information" with a concealed appearance by default; the user would have to hover their cursor on the chunk of covered text to uncover spoiler content.
{{Cover|The culprit is Gosho Aoyama}}
Results in