Skip to content

Commit 6b94e69

Browse files
committed
Fiddle with the CSS some more
1 parent 3678bb4 commit 6b94e69

File tree

1 file changed

+26
-11
lines changed

1 file changed

+26
-11
lines changed

web/main.css

+26-11
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,16 @@ body {
3232
flex-direction: row;
3333
}
3434

35-
.top, .middle, .bottom, .left, .right {
35+
.left, .right {
36+
flex: 1;
37+
overflow: hidden;
38+
}
39+
40+
.top, .middle {
41+
flex: 2;
42+
}
43+
44+
.bottom {
3645
flex: 1;
3746
}
3847

@@ -59,39 +68,45 @@ body {
5968

6069
#top_bar span.title {
6170
color: #fff;
71+
6272
font-size: 2vh;
6373
font-weight: bold;
6474
}
6575

6676
#top_bar span.game-over {
67-
color: #ff4000;
68-
font-size: 7vh;
77+
color: #e00000;
78+
79+
font-family: fantasy;
80+
font-size: 8vh;
6981
font-weight: bold;
70-
font-family: monospace;
82+
83+
letter-spacing: 0.4vh;
7184
}
7285

7386
#stats {
7487
text-align: right;
75-
padding-top: 1vh;
76-
padding-right: 1vh;
88+
padding-top: 0;
89+
padding-right: 0.5vh;
7790
}
7891

7992
#stats > div {
80-
font-family: monospace;
81-
margin-bottom: 2vh;
93+
margin-bottom: 3vh;
8294
}
8395

8496
#stats span.name {
8597
display: block;
8698

87-
color: #888;
99+
color: #00e0e0;
88100

89-
font-size: 1.5vh;
101+
font-family: fantasy;
102+
font-size: 2vh;
90103
font-weight: bold;
104+
letter-spacing: 0.15vh
91105
}
92106

93107
#stats span.value {
94108
display: block;
95109

96-
font-size: 1.25vh;
110+
font-family: monospace;
111+
font-size: 1.5vh;
97112
}

0 commit comments

Comments
 (0)