-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (92 loc) · 1.4 KB
/
style.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
section {
height: 100vh;
background-color: #4a69bd;
font-family: sans-serif;
}
.score {
color: #e0fefe;
height: 20vh;
display: flex;
justify-content: space-around;
align-items: center;
}
.score h2 {
font-size: 30px;
}
.score p {
text-align: center;
padding: 10px;
font-size: 25px;
}
.intro {
color: #e0fefe;
height: 50vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
opacity: 1;
}
.intro h1 {
font-size: 50px;
text-align: center;
}
.intro button,
.match button {
width: 150px;
height: 50px;
background: #079992;
border: none;
color: #e0fefe;
font-size: 20px;
border-radius: 3px;
cursor: pointer;
}
.match {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: none;
}
.winner {
color: #e0fefe;
text-align: center;
font-size: 40px;
}
.hands,
.options {
display: flex;
justify-content: space-around;
align-items: center;
}
.player-hand {
transform: rotateY(180deg);
}
@media (max-width: 768px) {
.intro h1 {
font-size: 40px;
}
.match {
top: 58%;
}
.options {
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
padding: 0 20px;
max-width: 400px;
width: 100%;
margin: 0 auto;
}
}
@media (max-width: 600px) {
.winner {
font-size: 29px;
}
}