Difference between revisions of "Template:Cover"
From Detective Conan Wiki
m |
(Manual revert; Reason: Temporary, until we can get the new implementation working) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>< | + | <includeonly><span class="cover">{{{1}}}</span></includeonly> |
{{css| | {{css| | ||
| − | # | + | .cover, .cover a, a .cover, .cover a.new { |
| − | + | background-color: #e6e6e6; | |
| + | color: #e6e6e6; | ||
| + | text-shadow: none; | ||
| + | transition: color 0.2s linear, background-color 0.2s linear; | ||
} | } | ||
| − | + | .cover:hover, .cover:active, | |
| − | . | + | .cover:hover .cover, .cover:active .cover { |
| − | + | color: black !important; | |
| − | + | background-color: transparent !important; | |
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | .cover:hover a, a:hover .cover, | |
| − | . | + | .cover:active a, a:active .cover { |
| − | + | color: blue !important; | |
| − | + | background-color: transparent !important; | |
| − | |||
} | } | ||
| − | + | .cover:hover .new, .cover .new:hover, .new:hover .cover, | |
| − | + | .cover:active .new, .cover .new:active, .new:active .cover { | |
| − | + | color: #BA0000 !important; | |
| − | + | background-color: transparent !important; | |
| − | |||
} | } | ||
| − | }} | + | }}<noinclude>{{Documentation}} |
| − | <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 20:00, 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