[O] Add comments
This commit is contained in:
+7
-1
@@ -34,7 +34,8 @@
|
|||||||
let dim = `rgba(0, 0, 0, ${config.title.dim / 100})`;
|
let dim = `rgba(0, 0, 0, ${config.title.dim / 100})`;
|
||||||
dim = `linear-gradient(${dim}, ${dim})`;
|
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)});`
|
+ `background-image: ${dim}, url(${require('./assets/' + config.title.background)});`
|
||||||
+ `color: ${config.title.text_color}`;
|
+ `color: ${config.title.text_color}`;
|
||||||
}
|
}
|
||||||
@@ -57,5 +58,10 @@
|
|||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
|
#title-text
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user