diff --git a/colors.css b/colors.css
index 24c1b3e..86c86e7 100644
--- a/colors.css
+++ b/colors.css
@@ -15,7 +15,7 @@ header h2{
text-shadow: 3px 3px 10px black, -3px 3px 10px black, 3px -3px 10px black, -3px -3px 10px black;
}
-h3{
+h3, h4{
background: rgba(70,0,0,0.5);
border: 1px solid red;
}
@@ -29,4 +29,9 @@ div{
#showcase{
border: 1px solid red;
+}
+
+.start {
+ background: #a00;
+ color: black;
}
\ No newline at end of file
diff --git a/index.html b/index.html
index 36f03de..ca5b50a 100644
--- a/index.html
+++ b/index.html
@@ -18,8 +18,25 @@
Genres
Infos
@@ -30,15 +47,59 @@
diff --git a/positions.css b/positions.css
index cd70798..c6184f7 100644
--- a/positions.css
+++ b/positions.css
@@ -8,7 +8,6 @@ body {
}
div{
- border-radius: 10px 10px 0 0;
max-height: 200px;
overflow: hidden;
margin-bottom: 20px;
@@ -23,8 +22,12 @@ h1{
margin: 10px;
}
+#eventlist,
+#showcase,
h3{
border-radius: 10px 10px 0 0;
+}
+h3,h4{
margin: 0;
padding: 6px 10px;
text-align: center;
@@ -66,14 +69,23 @@ ul{
}
#eventlist{
max-height: unset;
+ border-radius: 10px 10px 0 0;
}
#eventlist .event img{
max-width: 50%;
float: right;
+ position: relative;
}
#showcase img{
max-height: 160px;
}
#welcome {
margin-bottom: 5px;
-}
\ No newline at end of file
+}
+
+.start {
+ padding: 5px 10px 3px;
+ display: block;
+ margin-bottom: 10px;
+ text-align: center;
+}
diff --git a/sj.js b/sj.js
index 927e59e..53ef13f 100644
--- a/sj.js
+++ b/sj.js
@@ -27,6 +27,15 @@ async function handleData(response){
}
}
}
+ if (event.start){
+ var span = create('span');
+ span.setAttribute('class','start');
+ var loc = event.location;
+ var pos = loc.indexOf(',');
+ if (pos>0) loc = loc.substring(0,pos);
+ span.innerHTML = event.start + ' @ '+ loc + '
';
+ div.prepend(span);
+ }
var h4 = create('h4');
h4.innerHTML = event.url ? `${event.title}` : event.title;
div.prepend(h4);