Verified Commit 55c7c866 authored by Thibaut Broggi's avatar Thibaut Broggi
Browse files

Replace urls with relative paths

parent 92c7965f
......@@ -66,7 +66,7 @@ let draw = function() {
ctx.fillText('La Quadrature du Net !', offset, height * 0.9);
//Draw picto
get('/imgs/1.svg', function(res) {
get('./imgs/1.svg', function(res) {
let img = new Image;
let imgXml = res.replace(/#FFD201/g, fgColor);
img.src = 'data:image/svg+xml;base64,' + btoa(imgXml);
......
......@@ -218,77 +218,77 @@ textarea, input[type="text"] {
@font-face {
font-family: 'bilbo-inc';
src: url('/fonts/BilboINC.ttf') format('truetype');
src: url('./fonts/BilboINC.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'bluu-next';
src: url('/fonts/BluuNext-Bold.otf') format('truetype');
src: url('./fonts/BluuNext-Bold.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'boeticher';
src: url('/fonts/Boeticher-Roman.otf') format('truetype');
src: url('./fonts/Boeticher-Roman.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'combat';
src: url('/fonts/Combat.otf') format('truetype');
src: url('./fonts/Combat.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'gulax';
src: url('/fonts/Gulax.otf') format('truetype');
src: url('./fonts/Gulax.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'lineal';
src: url('/fonts/Lineal.otf') format('truetype');
src: url('./fonts/Lineal.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'resistance';
src: url('/fonts/Resistance.otf') format('truetype');
src: url('./fonts/Resistance.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'savate';
src: url('/fonts/savate-regular.otf') format('truetype');
src: url('./fonts/savate-regular.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'solid-mirage';
src: url('/fonts/SolideMirageMono.otf') format('truetype');
src: url('./fonts/SolideMirageMono.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'steps-mono';
src: url('/fonts/Steps-Mono.otf') format('truetype');
src: url('./fonts/Steps-Mono.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'terminal';
src: url('/fonts/terminal-grotesque_open.otf') format('truetype');
src: url('./fonts/terminal-grotesque_open.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
\ No newline at end of file
Markdown is supported
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