Include expansion class and ID

main
sigonasr2, Sig, Sigo 3 years ago
parent 6bacac2d80
commit 266cbb6638
  1. 2
      sigPlace.java
  2. 6
      sitefiles/sig.css

@ -75,7 +75,7 @@ public class sigPlace {
//Start of a title piece.
s=s.replace("-",map.get("$TITLE_CONTENT_START"));
s=s+map.get("$TITLE_CONTENT_END").replace("%ID%","id=\"content_"+i+"\"");
s=s+"<div class=\"arrow\" onClick=\"expand("+i+")\">&#x2908;</div>";
s=s+"<div class=\"unexpanded\" id=\"expand_"+i+"\" onClick=\"expand("+i+")\"></div>";
//Use ⤈ if there's more text to be shown than can fit.
} else
if (s.contains("===")) {

@ -71,11 +71,7 @@ body{
.contentBody .contentWrapper:hover{
border-color: rgb(17, 153, 17, .8);
}
.contentBody .contentWrapper {
border-color: rgb(17, 153, 17, .8);
}
.contentBody .contentWrapper .unexpanded:hover:after{
display: inline-block;
background-color:rgba(255, 255, 255, .06);

Loading…
Cancel
Save