-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
100 lines (83 loc) · 1.52 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-family: "Roboto", sans-serif;
font-size: 1em;
}
body {
height: 100vh;
background-color: darkslateblue;
}
.results {
display: flex;
justify-content: space-between;
padding: 0.7em 1em;
color: white;
font-size: 1.5em;
}
.results > .draw {
font-size: 2.3em;
transform: scale(0);
}
h1 {
font-size: 3.7em;
color: white;
text-align: center;
padding: 0.5em 0;
letter-spacing: 0.1em;
}
section {
padding: 0 15em;
}
.options {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.img {
flex-basis: 30%;
border-radius: 10px;
margin-bottom: 1em;
}
img {
width: 100%;
height: 100%;
}
button[data-option] {
flex-basis: 15%;
background-color: transparent;
font-size: 1.5em;
color: white;
border: 2px solid white;
border-radius: 10px;
line-height: 2em;
transition: 0.2 ease;
}
button[data-option]:hover {
color: darkslateblue;
background-color: white;
cursor: pointer;
}
.draw-animation {
animation: draw 0.5s ease 1 both;
}
.player-choice {
background-color: #fff;
}
.pc-choice {
background-color: yellow;
}
.draw-color {
background-image: linear-gradient(-43deg, white 50%, yellow 50%);
}
@keyframes draw {
50% {
transform: scale(1.5);
}
100% {
transform: scale(1.5);
}
}