Skip to content

Commit 63d41ef

Browse files
committed
Some styling changes
1 parent 971000b commit 63d41ef

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/style.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
$round-margin: 50px;
2-
$match-width: 200px;
2+
$match-width: 192px;
33

44
$connector-width: $round-margin / 2;
5-
$connector-borders: 2px solid var(--connector-color);
5+
$connector-borders: 2px solid var(--border-color);
66

7-
$win-color: #50b649;
8-
$loss-color: #e61a1a;
97
$match-borders: 1px solid var(--border-color);
108
$match-borders-radius: 0.3rem;
119

@@ -31,14 +29,15 @@ $match-borders-radius: 0.3rem;
3129
user-select: none;
3230

3331
--primary-background: #fff;
34-
--secondary-background: #ddd;
32+
--secondary-background: #eceff1;
3533
--font-color: #212529;
3634
--win-color: #50b649;
3735
--loss-color: #e61a1a;
36+
--label-color: grey;
3837
--hint-color: #a7a7a7;
3938
--connector-color: #9e9e9e;
4039
--border-color: #d9d9d9;
41-
--border-hover-color: #009dff;
40+
--border-hover-color: #b6b5b5;
4241
}
4342

4443
h1,
@@ -60,7 +59,7 @@ h2 {
6059

6160
h3 {
6261
text-align: center;
63-
background: #eceff1;
62+
background: var(--secondary-background);
6463
font-size: 16px;
6564
padding: 10px;
6665
}
@@ -197,7 +196,7 @@ h3 {
197196
font-size: 0.8rem;
198197
background: white;
199198
padding: 0 5px;
200-
color: var(--hint-color);
199+
color: var(--label-color);
201200
border-radius: 3px;
202201
}
203202

@@ -239,7 +238,7 @@ h3 {
239238
.team {
240239
display: flex;
241240
justify-content: space-between;
242-
padding: 3px 12px;
241+
padding: 2px 8px;
243242
background: var(--primary-background);
244243

245244
&.hover {
@@ -281,13 +280,14 @@ h3 {
281280

282281
.result {
283282
margin-left: 10px;
283+
width: 15%;
284284
text-align: center;
285285

286286
&.win {
287-
color: $win-color;
287+
color: var(--win-color);
288288
}
289289

290290
&.loss {
291-
color: $loss-color;
291+
color: var(--loss-color);
292292
}
293293
}

0 commit comments

Comments
 (0)