-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
91 lines (78 loc) · 1.69 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@font-face {
font-family: 'Digital-7';
src: url('Digital-7.eot');
src: url('Digital-7.eot?#iefix') format('embedded-opentype'),
url('Digital-7.woff2') format('woff2'),
url('Digital-7.woff') format('woff'),
url('Digital-7.ttf') format('truetype'),
url('Digital-7.svg#Digital-7') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background-color: #1a1a1a;
margin: 0;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.board {
display: flex;
justify-content: space-around;
background-color: #3498db;
padding: 50px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
stroke-width: 5px;
}
.team-score {
text-align: center;
}
h3 {
color: #fff;
font-size: 24px;
}
.scorewrap {
margin:10px;
}
.score {
color: #fff;
background-color: #1a1a1a;
width: 200px;
margin: 10px;
display: table-cell;
vertical-align: middle;
height: 70px;
font-size: 48px;
font-family: 'Digital-7', monospace;
text-shadow: 0 0 10px #f1c40f, 0 0 20px #f1c40f, 0 0 30px #f1c40f, 0 0 40px #f1c40f;
}
/* Responsive styles */
@media (max-width: 1024px) {
.board {
padding: 40px;
}
}
@media (max-width: 768px) {
.board {
flex-direction: column;
padding: 30px;
}
.team-score {
margin-bottom: 20px;
}
.team-score:last-child {
margin-bottom: 0;
}
}
@media (max-width: 480px) {
h3 {
font-size: 18px;
}
.score {
font-size: 36px;
}
}