Test a datebar

main
sigonasr2, Sig, Sigo 3 years ago
parent 4dae91b855
commit 20651882d4
  1. 2
      sigPlace.java
  2. 13
      sitefiles/sig.css

@ -25,7 +25,7 @@ public class sigPlace {
new AbstractMap.SimpleEntry<>("$TITLE_CONTENT_START", "<div class=\"contentWrapper\"><h1>"),
new AbstractMap.SimpleEntry<>("$TITLE_CONTENT_END", "</h1><div class=\"content\">"),
new AbstractMap.SimpleEntry<>("$CONTENT_END", "</div>"),
new AbstractMap.SimpleEntry<>("$DATE_CONTENT_START", "<div class=\"date\">")
new AbstractMap.SimpleEntry<>("$DATE_CONTENT_START", "<div class=\"datebar\"></div><div class=\"date\">")
));
final static HashMap<String,Path> ops = new HashMap<>(Map.ofEntries(
new AbstractMap.SimpleEntry<>(

@ -92,12 +92,15 @@ body{
background-color: rgba(255, 255, 255, .06);
z-index:0;
}
.contentBody .contentWrapper .date:before{
background: linear-gradient(0deg,rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .06) 90%, rgba(255, 255, 255, .9) 100%);
width:45vw;
height:4px;
.contentBody .contentWrapper .datebar{
font-size:0.75em;
margin: 0px 4px 0px 4px;
min-width:98vw;
min-height:4px;
content:"Test";
z-index:0;
background-color: rgba(255, 255, 255, .06);
}
.contentBody .contentWrapper .date{

Loading…
Cancel
Save