[S] Change font
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"height": 80,
|
||||
"background": "title.jpeg",
|
||||
"dim": 50,
|
||||
"text_color": "white"
|
||||
"text_color": "white",
|
||||
"font": "'Neucha', cursive"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user