move to entire content wrapper

main
sigonasr2, Sig, Sigo 3 years ago
parent f43359213c
commit b7f029d896
  1. 2
      sigPlace.java
  2. 30
      sitefiles/sig.css

@ -78,7 +78,7 @@ public class sigPlace {
//Use ⤈ if there's more text to be shown than can fit.
} else
if (s.contains("===")) {
s="<div class=\"unexpanded\" id=\"expand_"+i+"\" onClick=\"expand("+i+")\"><br/><br/>&#x2908; Click to expand.</div>"+map.get("$CONTENT_END")+map.get("$DATE_CONTENT_START")+s.replace("===","")+map.get("$CONTENT_END")+map.get("$CONTENT_END");
s=map.get("$CONTENT_END")+map.get("$DATE_CONTENT_START")+s.replace("===","")+map.get("$CONTENT_END")+"<div class=\"unexpanded\" id=\"expand_"+i+"\" onClick=\"expand("+i+")\"><br/><br/>&#x2908; Click to expand.</div>"+map.get("$CONTENT_END");
}
}
for (String key : map.keySet()) {

@ -59,6 +59,7 @@ body{
}
.contentBody .contentWrapper{
position:relative;
border-style: none none outset none;
border-radius: 0px 0px 12px 0px;
border-color: rgb(17, 153, 17, .3);
@ -85,7 +86,6 @@ body{
.contentBody .contentWrapper .content{
display: inline-block;
position:relative;
min-width:98vw;
font-size:1.25em;
padding: 4px;
@ -93,20 +93,6 @@ body{
background-color: rgba(255, 255, 255, .06);
z-index:0;
}
.contentBody .contentWrapper .content .unexpanded{
position:absolute;
bottom:0px;
min-width:98vw;
text-align:center;
font-size:1.75em;
background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, rgba(32,32,32,1.0) 100%);
}
.contentBody .contentWrapper .content .unexpanded:hover{
bottom:-8px;
background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, rgba(32,32,32,1.0) 100%);
}
.contentBody .contentWrapper .datebar{
font-size:0.75em;
@ -124,4 +110,18 @@ body{
min-width:98vw;
z-index:0;
background-color: rgba(255, 255, 255, .06);
}
.contentBody .contentWrapper .unexpanded{
position:absolute;
bottom:0px;
min-width:98vw;
text-align:center;
font-size:1.75em;
background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, rgba(32,32,32,1.0) 100%);
}
.contentBody .contentWrapper .unexpanded:hover{
bottom:-8px;
background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, rgba(32,32,32,1.0) 100%);
}
Loading…
Cancel
Save