darker
This commit is contained in:
parent
560a409978
commit
25a62c0f78
2 changed files with 4 additions and 3 deletions
|
@ -215,8 +215,8 @@ function renderAnnotation(config, video, ascroll, annotation) {
|
|||
var div = document.createElement('div')
|
||||
div.classList.add('annotation')
|
||||
|
||||
var color1 = `hsl(${annotation.color1.hue}, 70%, 75%)`
|
||||
var color2 = `hsl(${annotation.color2.hue}, 70%, 75%)`
|
||||
var color1 = `hsl(${annotation.color1.hue}, 60%, 15%)`
|
||||
var color2 = `hsl(${annotation.color2.hue}, 60%, 15%)`
|
||||
if (!config.first) {
|
||||
config.first = annotation
|
||||
config.info.style.background = color1
|
||||
|
|
|
@ -78,9 +78,10 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
document.location.href = '/'
|
||||
path = document.location.pathname.slice(1)
|
||||
if (path) {
|
||||
document.querySelector('h1').innerHTML = 'Phantas.ma/' + path
|
||||
document.querySelector('h1').innerHTML = 'njp.ma/' + path
|
||||
if (path == 'polis') {
|
||||
setTimeout(() => {
|
||||
document.querySelector('h2').innerHTML = 'Oct 30, 2021 – Mar 6, 2022'
|
||||
|
|
Loading…
Reference in a new issue