Difference between revisions of "User:Tsutomu25/sandbox/Cover2"

From Detective Conan Wiki
Line 42: Line 42:
  
 
/* Styles to reveal the spoiler text */
 
/* Styles to reveal the spoiler text */
#spoiler-box-{{{1}}}:has(#spoiler-target-{{{1}}}:target){
+
#spoiler-box-{{{1}}}:has(#spoiler-target-{{{1}}}:target), #spoiler-box:has(#spoiler-target:target){
 
  background-color: #e3e3e5;
 
  background-color: #e3e3e5;
 
}
 
}
#spoiler-target-{{{1}}}:target ~ #spoiler-text-{{{1}}}{
+
#spoiler-target-{{{1}}}:target ~ #spoiler-text-{{{1}}}, #spoiler-target:target ~ #spoiler-text{
 
  opacity: 1;
 
  opacity: 1;
 
  background-color: #e3e3e5;
 
  background-color: #e3e3e5;
Line 54: Line 54:
  
 
/* Styles to hide the show button and reveal the hide button */
 
/* Styles to hide the show button and reveal the hide button */
#spoiler-box-{{{1}}}:has(#spoiler-target-{{{1}}}:target) #show-button-{{{1}}}{
+
#spoiler-box-{{{1}}}:has(#spoiler-target-{{{1}}}:target) #show-button-{{{1}}}, #spoiler-box:has(#spoiler-target:target) #show-button{
 
  display: none;
 
  display: none;
 
  z-index: 0;
 
  z-index: 0;
 
}
 
}
#spoiler-box-{{{1}}}:has(#spoiler-target-{{{1}}}:target) #hide-button-{{{1}}}{
+
#spoiler-box-{{{1}}}:has(#spoiler-target-{{{1}}}:target) #hide-button-{{{1}}}, #spoiler-box:has(#spoiler-target:target) #hide-button{
 
  display: inline-block;
 
  display: inline-block;
 
  z-index: 5;
 
  z-index: 5;
 
}
 
}
 +
 
}}
 
}}
 
</includeonly>
 
</includeonly>
Line 68: Line 69:
 
<pre>{{User:Tsutomu25/sandbox/Cover2|The culprit is Gosho Aoyama}}</pre>
 
<pre>{{User:Tsutomu25/sandbox/Cover2|The culprit is Gosho Aoyama}}</pre>
  
Results in {{User:Tsutomu25/sandbox/Cover2|culprit|The culprit is Gosho Aoyama}}
 
Results in {{User:Tsutomu25/sandbox/Cover2|motive|The motive is Love}}
 
 
Results in {{User:Tsutomu25/sandbox/Cover2|weapon|The weapon is Knife}}
 
Results in {{User:Tsutomu25/sandbox/Cover2|weapon|The weapon is Knife}}
 +
Results in {{User:Tsutomu25/sandbox/Cover2|motive|The motive is {{font color|#ff0000|Love}}}}
 +
Results in {{User:Tsutomu25/sandbox/Cover2|culprit|The culprit is [[Gosho Aoyama]]}}
  
 
</noinclude>
 
</noinclude>

Revision as of 11:44, 21 August 2025


{{User:Tsutomu25/sandbox/Cover2|The culprit is Gosho Aoyama}}

Results in The weapon is Knife

Results in The motive is Love

Results in The culprit is Gosho Aoyama