Template:Cover: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{code | ||
|html=%3Cinput%20type%3D%22checkbox%22%20class%3D%22checkbox%22%20id%3D%22%7B%7B%7BUID%7D%7D%7D%22%2F%3E%3Clabel%20class%3D%22spoilerText%22%20for%3D%22%7B%7B%7BUID%7D%7D%7D%22%3E%7B%7B%7Bparam%7D%7D%7D%3C%2Flabel%3E | |||
. | |param={{{1}}} | ||
|css= | |||
.checkbox{ | |||
display: none; | |||
} | } | ||
. | |||
.spoilerText { | |||
background: #909199; | |||
} | color: transparent; | ||
. | cursor: pointer; | ||
display: inline; | |||
text-align: center; | |||
} | } | ||
. | |||
.spoilerText:hover { | |||
background: #70717a; | |||
} | transition: 0.15s; | ||
}}</includeonly><noinclude>{{ | } | ||
.checkbox:not(:checked) + .spoilerText | |||
{ | |||
-webkit-user-select: none; /* Safari */ | |||
-ms-user-select: none; /* IE 10 and IE 11 */ | |||
user-select: none; /* Standard syntax */ | |||
} | |||
.checkbox:checked + .spoilerText { | |||
background: #e3e3e5; | |||
color: #000; | |||
transition: 0.15s; | |||
} | |||
}}</includeonly><noinclude><pre>{{cover|The culprit is Gosho Aoyama}}</pre> | |||
Results in {{cover|The culprit is Gosho Aoyama}} | |||
Results in {{ | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 08:03, 7 June 2025
{{cover|The culprit is Gosho Aoyama}}
Results in