[S] Change font

This commit is contained in:
Hykilpikonna
2019-12-22 23:21:28 -05:00
parent 7390fe50e3
commit 8fe26f9385
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -9,6 +9,9 @@
<!-- Element -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Neucha&display=swap" rel="stylesheet">
</head>
<body style="margin: 0">
<noscript>
+2 -1
View File
@@ -37,7 +37,8 @@
return `padding: ${config.title.height / 2 - 5}vh 0;`
+ `background-image: ${dim}, url(${require('./assets/' + config.title.background)});`
+ `color: ${config.title.text_color}`;
+ `color: ${config.title.text_color};`
+ `font-family: ${config.title.font};`;
}
}
</script>
+2 -1
View File
@@ -6,6 +6,7 @@
"height": 80,
"background": "title.jpeg",
"dim": 50,
"text_color": "white"
"text_color": "white",
"font": "'Neucha', cursive"
}
}