12
12
< h1 > < u > Options</ u > </ h1 >
13
13
< div class ="cont " id ="mode ">
14
14
< h2 style ="grid-row: 1; grid-column: 1 / 4 "> Mode</ h2 >
15
- < div style ="display: grid; grid-template-columns: auto min-content auto; grid-template-rows: 1fr; align-items: center; ">
16
- < svg width =" 50 " height =" 75 " style ="float: left ">
15
+ < div style ="display: grid; grid-template-columns: auto min-content auto; grid-template-rows: 1fr; align-items: center; justify-items: center; ">
16
+ < svg viewbox =" 0 0 50 75 " style ="float: left ">
17
17
< rect width ="50 " height ="20 " x ="0 " y ="55 " style ="fill:rgb(0,0,0); "/>
18
18
< circle cx ="25 " cy ="55 " r ="25 "/>
19
19
< circle cx ="25 " cy ="15 " r ="15 "/>
20
20
</ svg >
21
21
< span > v</ span >
22
- < svg width =" 50 " height =" 75 " style ="float: right ">
22
+ < svg viewbox =" 0 0 50 75 " style ="float: right ">
23
23
< rect width ="40 " height ="5 " x ="5 " y ="70 " style ="fill:rgb(0,0,0); "/>
24
24
< rect width ="5 " height ="50 " x ="22.5 " y ="20 " style ="fill:rgb(0,0,0); "/>
25
25
< rect width ="50 " height ="40 " x ="0 " y ="15 " style ="fill:rgb(0,0,0); "/>
26
26
</ svg >
27
27
</ div >
28
28
< label class ="switch "> < input type ="checkbox " onclick ="bob.modeSwitch(this) "> < span class ="slider "> </ span > </ label >
29
- < div style ="display: grid; grid-template-columns: auto min-content auto; grid-template-rows: 1fr; align-items: center ">
30
- < svg width =" 50 " height =" 75 " style ="float: left ">
29
+ < div style ="display: grid; grid-template-columns: auto min-content auto; grid-template-rows: 1fr; align-items: center; justify-items: center; ">
30
+ < svg viewbox =" 0 0 50 75 " style ="float: left ">
31
31
< rect width ="50 " height ="25 " x ="0 " y ="55 " style ="fill:rgb(0,0,0); "/>
32
32
< circle cx ="25 " cy ="55 " r ="25 "/>
33
33
< circle cx ="25 " cy ="15 " r ="15 "/>
34
34
</ svg >
35
35
< span > v</ span >
36
- < svg width =" 50 " height =" 75 " style ="float: right ">
36
+ < svg viewbox =" 0 0 50 75 " style ="float: right ">
37
37
< rect width ="50 " height ="20 " x ="0 " y ="55 " style ="fill:rgb(0,0,0); "/>
38
38
< circle cx ="25 " cy ="55 " r ="25 "/>
39
39
< circle cx ="25 " cy ="15 " r ="15 "/>
@@ -44,36 +44,36 @@ <h2 style="grid-row: 1; grid-column: 1 / 4">Mode</h2>
44
44
< div class ="cont " id ="starter ">
45
45
< h2 style ="grid-row: 1; grid-column: 1 / 4 "> Starting Player</ h2 >
46
46
< div id ="startSvg1 ">
47
- < svg width =" 50 " height =" 75 " style ="display: block ">
47
+ < svg viewbox =" 0 0 50 75 " style ="display: inline- block ">
48
48
< rect width ="50 " height ="20 " x ="0 " y ="55 " style ="fill:rgb(0,0,0); "/>
49
49
< circle cx ="25 " cy ="55 " r ="25 "/>
50
50
< circle cx ="25 " cy ="15 " r ="15 "/>
51
51
</ svg >
52
- < svg width =" 50 " height =" 75 " style ="display: none ">
52
+ < svg viewbox =" 0 0 50 75 " style ="display: none ">
53
53
< line x1 ="0 " y1 ="0 " x2 ="50 " y2 ="75 " style ="stroke:black; stroke-width:15 "> </ line >
54
54
< line x1 ="50 " y1 ="0 " x2 ="0 " y2 ="75 " style ="stroke:black; stroke-width:15 "> </ line >
55
55
</ svg >
56
56
</ div >
57
57
< label class ="switch "> < input type ="checkbox " onclick ="bob.turnSwitch(this) "> < span class ="slider "> </ span > </ label >
58
58
< div id ="startSvg2 ">
59
- < svg width =" 50 " height =" 75 " style ="display: block ">
59
+ < svg viewbox =" 0 0 50 75 " style ="display: inline- block ">
60
60
< rect width ="40 " height ="5 " x ="5 " y ="70 " style ="fill:rgb(0,0,0); "/>
61
61
< rect width ="5 " height ="50 " x ="22.5 " y ="20 " style ="fill:rgb(0,0,0); "/>
62
62
< rect width ="50 " height ="40 " x ="0 " y ="15 " style ="fill:rgb(0,0,0); "/>
63
63
</ svg >
64
- < svg width =" 50 " height =" 75 " style ="display: none ">
64
+ < svg viewbox =" 0 0 50 75 " style ="display: none ">
65
65
< ellipse cx ="25 " cy ="37.5 " rx ="17.5 " ry ="30 " style ="stroke:black; fill:none; stroke-width:15 "/>
66
66
</ svg >
67
67
</ div >
68
68
</ div >
69
69
< div id ="score " class ="menu ">
70
70
< div id ="scoreSvg1 ">
71
- < svg width =" 50 " height =" 75 " style =" float: left ">
71
+ < svg viewbox =" 0 0 50 75 ">
72
72
< rect width ="50 " height ="20 " x ="0 " y ="55 " style ="fill:rgb(0,0,0); "/>
73
73
< circle cx ="25 " cy ="55 " r ="25 "/>
74
74
< circle cx ="25 " cy ="15 " r ="15 "/>
75
75
</ svg >
76
- < svg width =" 50 " height =" 75 " style ="display: none ">
76
+ < svg viewbox =" 0 0 50 75 " style ="display: none ">
77
77
< line x1 ="0 " y1 ="0 " x2 ="50 " y2 ="75 " style ="stroke:black; stroke-width:15 "> </ line >
78
78
< line x1 ="50 " y1 ="0 " x2 ="0 " y2 ="75 " style ="stroke:black; stroke-width:15 "> </ line >
79
79
</ svg >
@@ -82,12 +82,12 @@ <h2 style="grid-row: 1; grid-column: 1 / 4">Starting Player</h2>
82
82
< div > -</ div >
83
83
< div id ="score2 "> 0</ div >
84
84
< div id ="scoreSvg2 ">
85
- < svg width =" 50 " height =" 75 " style =" float: right ">
85
+ < svg viewbox =" 0 0 50 75 ">
86
86
< rect width ="40 " height ="5 " x ="5 " y ="70 " style ="fill:rgb(0,0,0); "/>
87
87
< rect width ="5 " height ="50 " x ="22.5 " y ="20 " style ="fill:rgb(0,0,0); "/>
88
88
< rect width ="50 " height ="40 " x ="0 " y ="15 " style ="fill:rgb(0,0,0); "/>
89
89
</ svg >
90
- < svg width =" 50 " height =" 75 " style ="display: none ">
90
+ < svg viewbox =" 0 0 50 75 " style ="display: none ">
91
91
< ellipse cx ="25 " cy ="37.5 " rx ="17.5 " ry ="30 " style ="stroke:black; fill:none; stroke-width:15 "/>
92
92
</ svg >
93
93
</ div >
@@ -100,4 +100,4 @@ <h2 style="grid-row: 1; grid-column: 1 / 4">Starting Player</h2>
100
100
< div id ="thing "> Please rotate your device or resize your window!</ div >
101
101
< script src ="main.js "> </ script >
102
102
</ body >
103
- </ html >
103
+ </ html >
0 commit comments