Skip to content

Commit 3a1f304

Browse files
committed
I think I finally got the fonts to work
1 parent 36dd194 commit 3a1f304

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

results.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,600,700|Roboto:400,700" rel="stylesheet">
2+
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:400,700" rel="stylesheet">
33
<link href='style.css' rel='stylesheet' type='text/css'>
44
<title>8values Results</title>
55
<link rel="icon" type="x-icon" href="icon.png">
@@ -179,12 +179,12 @@ <h2>Closest Match: <span class="weight-300" id="ideology-label"></span></h2>
179179
ctx.fillStyle="#9c27b0"
180180
ctx.fillRect(682-5.6*progress, 494, 5.6*progress-2, 72)
181181
ctx.fillStyle="#222222"
182-
ctx.font="600 80px Montserrat","700 80px Montserrat","80px Montserrat"
182+
ctx.font="700 80px Montserrat"
183183
ctx.textAlign="left"
184184
ctx.fillText("8values", 20, 90)
185185
ctx.font="normal 40px Montserrat"
186186
ctx.textAlign="right"
187-
ctx.fillText(ideology, 780, 90)
187+
ctx.fillText(ideology, 780, 87.5)
188188

189189
ctx.font="normal 50px Montserrat"
190190
ctx.textAlign="left"
@@ -199,7 +199,7 @@ <h2>Closest Match: <span class="weight-300" id="ideology-label"></span></h2>
199199
if (progress > 30) {ctx.fillText(progress + "%", 670, 547.5)}
200200

201201
ctx.font="300 30px Montserrat"
202-
ctx.fillText("8values.github.io", 780, 50)
202+
ctx.fillText("8values.github.io", 780, 55)
203203
ctx.textAlign="center"
204204
ctx.fillText("Economic Axis: " + document.getElementById("economic-label").innerHTML, 400, 125)
205205
ctx.fillText("Diplomatic Axis: " + document.getElementById("diplomatic-label").innerHTML, 400, 245)

0 commit comments

Comments
 (0)