colors, dates

This commit is contained in:
j 2022-05-03 13:10:35 +01:00
parent 5844fdaaf3
commit 2170a219f5
3 changed files with 25 additions and 5 deletions

View file

@ -59,7 +59,7 @@ def timeline(request):
"millisecond": "", "millisecond": "",
"format": "" "format": ""
}, },
"display_date": event.display_date, "display_date": event.display_date if timeline['events'] else ' ',
"text": { "text": {
"headline": event.title, "headline": event.title,
"text": event.body "text": event.body

View file

@ -126,14 +126,14 @@ p {
} }
p { p {
a, a:visited, a:active, a:hover { a, a:visited, a:active, a:hover {
color: #c34528; color: #efc239;
} }
} }
} }
.reference { .reference {
color: #333; color: #333;
font-size: 11px; font-size: 11px !important;
line-height: 1em; line-height: 1em;
margin-top: 64px; margin-top: 64px;
} }
@ -198,6 +198,24 @@ p {
background: transparent; background: transparent;
color: #fff; color: #fff;
} }
.thanks {
color: #b0a39d;
max-width: 800px;
margin: auto;
background-color: rgba(1,1,1, 0.5);
border-radius: 10px;
padding: 16px;
font-size: 20px;
h2,p {
color: #ddd;
}
p {
font-size: 20px;
}
a, a:visited, a:active, a:hover {
color: #efc239;
}
}
} }
#menu { #menu {
@ -233,6 +251,7 @@ p {
line-height: 1.5em; line-height: 1.5em;
font-size: 36px; font-size: 36px;
a, a:visited, a:active, a:hover { a, a:visited, a:active, a:hover {
color: #efc239;
} }
} }
} }

View file

@ -106,10 +106,11 @@
}).then(response => response.json()).then(response => { }).then(response => response.json()).then(response => {
if (response.sent) { if (response.sent) {
var content = document.querySelector('#contact .content') var content = document.querySelector('#contact .content')
content.innerHTML = ` content.innerHTML = `<div class="thanks">
Thank you for taking the time to send us a message, we will get back to you soon. thanks for taking the time to write this message.
<br><br> <br><br>
<a href="/" target="_self">Back to Timeline</a> <a href="/" target="_self">Back to Timeline</a>
</div>
` `
} }
}) })