[S] Change font
This commit is contained in:
@@ -9,6 +9,9 @@
|
|||||||
|
|
||||||
<!-- Element -->
|
<!-- Element -->
|
||||||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
|
<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>
|
</head>
|
||||||
<body style="margin: 0">
|
<body style="margin: 0">
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|||||||
+2
-1
@@ -37,7 +37,8 @@
|
|||||||
|
|
||||||
return `padding: ${config.title.height / 2 - 5}vh 0;`
|
return `padding: ${config.title.height / 2 - 5}vh 0;`
|
||||||
+ `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};`
|
||||||
|
+ `font-family: ${config.title.font};`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"height": 80,
|
"height": 80,
|
||||||
"background": "title.jpeg",
|
"background": "title.jpeg",
|
||||||
"dim": 50,
|
"dim": 50,
|
||||||
"text_color": "white"
|
"text_color": "white",
|
||||||
|
"font": "'Neucha', cursive"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user