Commit 5f8009e7 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

set KaiTi font

parent 4017fff8
...@@ -1147,7 +1147,15 @@ function checkWord() { ...@@ -1147,7 +1147,15 @@ function checkWord() {
async function reqWiki(word,phono,lang,listSpans,fin) { async function reqWiki(word,phono,lang,listSpans,fin) {
console.log("reqWiki",word,phono,lang,listSpans,fin); console.log("reqWiki",word,phono,lang,listSpans,fin);
const response = await fetch(`https://wikicolor.alem-app.fr/checkWord?w=${word}&t=${phono}&lang=${lang}`);
// Paramètres d'envoi
const options = {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
}
const response = await fetch(`https://wikicolor.alem-app.fr/checkWord?w=${word}&t=${phono}&lang=${lang}`, options);
const data = await response.json(); const data = await response.json();
console.log(data); console.log(data);
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
body { body {
background-image: url(../im/arriereplan.gif); background-image: url(../im/arriereplan.gif);
background-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.5);
font-family: Ubuntu, Palatino, Times, Calibri; font-family: Ubuntu, kaitiregular, Palatino, Times, Calibri;
font-variant-ligatures: no-common-ligatures; font-variant-ligatures: no-common-ligatures;
font-size: 14pt; font-size: 14pt;
text-align: center; text-align: center;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment