-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
118 lines (102 loc) · 2.11 KB
/
styles.css
File metadata and controls
118 lines (102 loc) · 2.11 KB
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
109
110
111
112
113
114
115
116
117
118
body,
h1,
h2,
h3,
p {
margin: 0;
}
p, h1, h2 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: bold;
color: whitesmoke;
}
body {
background-color: #282B38;
display: flex;
align-items: center;
justify-content: center;
}
main {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 75%;
}
h1 {
font-size: 3rem;
text-align: center;
width: 100%;
}
h2 {
font-size: 2.25rem;
font-weight: 700;
}
.game-view-layout {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
column-gap: 5em;
}
.choice-image-container {
width: 20em;
height: 30em;
background-color: #212431;
border-radius: 3.125em;
border: 10px solid #50525F;
display: flex;
align-items: center;
justify-content: center;
}
.choice-image {
width: 15.625rem;
object-fit: cover;
}
.choice-container {
display: flex;
flex-direction: column;
align-items: center;
}
.result-container {
display: flex;
}
#result {
max-width: 23.75em;
background-color: #238636;
padding: 40px;
border-radius: 0.3125em;
font-size: 5rem;
text-align: center;
opacity: 0;
transition: opacity, 450ms;
}
.game-choices-layout {
display: flex;
flex-direction: column;
padding: 25px;
align-items: flex-start;
}
.choices-container {
display: flex;
flex-direction: row;
column-gap: 1.5em;
}
.button-choices {
background-color: #212431;
border: 6px solid #50525F;
border-radius: 15px;
width: 6.25em;
height: 6.25em;
transition: transform 250ms linear;
cursor: pointer;
}
.button-choices:hover {
border: 6px solid rgb(142, 68, 203);
box-shadow: 0px 0px 5px rgba(142, 68, 203, 0.5);
transform: scale(1.2);
}
.button-choices img {
width: 3.75em;
}