Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
55c7c866
Verified
Commit
55c7c866
authored
Sep 26, 2017
by
Thibaut Broggi
Browse files
Replace urls with relative paths
parent
92c7965f
Changes
2
Hide whitespace changes
Inline
Side-by-side
canvas.js
View file @
55c7c866
...
...
@@ -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
);
...
...
style.css
View file @
55c7c866
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment