[O] Add comments

This commit is contained in:
Hykilpikonna
2019-12-22 23:07:53 -05:00
parent 8c56140009
commit 1b88cd8ee6
+7 -1
View File
@@ -34,7 +34,8 @@
let dim = `rgba(0, 0, 0, ${config.title.dim / 100})`;
dim = `linear-gradient(${dim}, ${dim})`;
return `height: ${config.title.height}vh; line-height: ${config.title.height}vh;`
return `height: ${config.title.height}vh;`
+ `line-height: ${config.title.height}vh;` // Center align
+ `background-image: ${dim}, url(${require('./assets/' + config.title.background)});`
+ `color: ${config.title.text_color}`;
}
@@ -57,5 +58,10 @@
background-position: center;
background-repeat: no-repeat;
background-size: cover;
#title-text
{
}
}
</style>