Use KanjiStrokeOrders
This commit is contained in:
parent
46a2f0e87b
commit
62c2120286
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,2 +1,3 @@
|
|||||||
util/data/*dic* filter=lfs diff=lfs merge=lfs -text
|
util/data/*dic* filter=lfs diff=lfs merge=lfs -text
|
||||||
ext/bg/data/*dic* filter=lfs diff=lfs merge=lfs -text
|
ext/bg/data/*dic* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
@ -8,10 +8,12 @@ templates['footer.html'] = template({"compiler":[7,">= 4.0.0"],"main":function(c
|
|||||||
+ "/js/frame.js\"></script>\n </body>\n</html>\n";
|
+ "/js/frame.js\"></script>\n </body>\n</html>\n";
|
||||||
},"useData":true});
|
},"useData":true});
|
||||||
templates['header.html'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
templates['header.html'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
|
||||||
var helper;
|
var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
|
||||||
|
|
||||||
return "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title></title>\n <link rel=\"stylesheet\" href=\""
|
return "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title></title>\n <style>\n @font-face {\n font-family: \"KanjiStrokeOrders\";\n src: url(\""
|
||||||
+ container.escapeExpression(((helper = (helper = helpers.root || (depth0 != null ? depth0.root : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"root","hash":{},"data":data}) : helper)))
|
+ alias4(((helper = (helper = helpers.root || (depth0 != null ? depth0.root : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"root","hash":{},"data":data}) : helper)))
|
||||||
|
+ "/ttf/kanji-stroke-orders.ttf\");\n }\n </style>\n <link rel=\"stylesheet\" href=\""
|
||||||
|
+ alias4(((helper = (helper = helpers.root || (depth0 != null ? depth0.root : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"root","hash":{},"data":data}) : helper)))
|
||||||
+ "/css/frame.css\">\n </head>\n <body>\n";
|
+ "/css/frame.css\">\n </head>\n <body>\n";
|
||||||
},"useData":true});
|
},"useData":true});
|
||||||
templates['kanji.html'] = template({"1":function(container,depth0,helpers,partials,data) {
|
templates['kanji.html'] = template({"1":function(container,depth0,helpers,partials,data) {
|
||||||
|
@ -46,8 +46,9 @@ body {
|
|||||||
.kanji {
|
.kanji {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 82px;
|
font-family: "KanjiStrokeOrders";
|
||||||
line-height: 82px;
|
font-size: 140px;
|
||||||
|
line-height: 140px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,12 @@
|
|||||||
"background": {"page": "bg/background.html"},
|
"background": {"page": "bg/background.html"},
|
||||||
"options_page": "bg/options.html",
|
"options_page": "bg/options.html",
|
||||||
"permissions": ["storage"],
|
"permissions": ["storage"],
|
||||||
"web_accessible_resources": ["fg/css/frame.css", "fg/js/frame.js"],
|
|
||||||
|
"web_accessible_resources": [
|
||||||
|
"fg/css/frame.css",
|
||||||
|
"fg/js/frame.js",
|
||||||
|
"fg/ttf/kanji-stroke-orders.ttf"
|
||||||
|
],
|
||||||
|
|
||||||
"content_scripts": [{
|
"content_scripts": [{
|
||||||
"matches": ["*://*/*"],
|
"matches": ["*://*/*"],
|
||||||
|
@ -3,6 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title></title>
|
<title></title>
|
||||||
|
<style>
|
||||||
|
@font-face {
|
||||||
|
font-family: "KanjiStrokeOrders";
|
||||||
|
src: url("{{root}}/ttf/kanji-stroke-orders.ttf");
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<link rel="stylesheet" href="{{root}}/css/frame.css">
|
<link rel="stylesheet" href="{{root}}/css/frame.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user