-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
155 lines (138 loc) · 2.73 KB
/
style.scss
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
@import url("https://use.typekit.net/qmn8uyu.css");
$red: #BF3F3F;
$blue: #314A59;
$yellow: #D9A23D;
$white: #fff;
$black: #000;
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: puffin-arcade-liquid,sans-serif;
font-weight: 800;
font-style: normal;
display: flex;
justify-content: center;
align-items: center;
}
.fa-regular {
font-size: 60px;
margin: 0 30px;
User-select: none;
}
h2 {
margin-left: 30px;
margin-bottom: 20px;
}
.game-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border: 2px solid $blue;
background-image: linear-gradient(to right bottom, rgba(191, 63, 63, 0.3), rgba(173, 59, 99, 0.3), rgba(140, 68, 122, 0.3), rgba(99, 77, 128, 0.3), rgba(64, 79, 117, 0.3), rgba(39, 89, 122, 0.3), rgba(10, 98, 120, 0.3), rgba(13, 105, 111, 0.3), rgba(28, 127, 106, 0.3), rgba(83, 146, 86, 0.3), rgba(146, 159, 63, 0.3), rgba(217, 162, 61, 0.3));
box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
.header {
background: $blue;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem 3rem;
h1 {
font-size: 40px;
color: $yellow;
letter-spacing: 2px;;
}
}
.footer {
margin-top: 20px;
display: flex;
flex-direction: row;
justify-content: space-around;
width: 100%;
padding: 2rem 1rem;
background-color: $blue;
box-sizing: border-box;
.fa-solid {
font-size: 34px;
color: $yellow;
cursor: pointer;
text-align: left;
&:hover {
color: $red;
}
}
.result-container {
.result-text {
font-size: 40px;
color: $yellow;
margin: unset;
}
}
}
}
.player-container {
margin: 50px;
.choice {
color: $red;
}
.fa-regular {
color: $red;
cursor: pointer;
&:hover {
color: $yellow;
}
}
}
.computer-container {
margin: 50px;
.choice {
color: $blue;
}
.fa-regular {
color: $blue;
transform: scaleX(-1);
}
}
canvas {
position: absolute;
}
.selected {
color: $white !important;
}
/* Media Query: Large Smartphone (Vertical) */
@media screen and (max-width: 768px) {
.game-container {
.header {
box-sizing: border-box;
width: 100%;
h1 {
font-size: 24px;
text-align: center;
}
}
.footer {
.result-container {
.result-text {
font-size: 28px;
}
}
}
}
.player-container, .computer-container {
margin: 30px;
text-align: center;
}
.fa-regular {
margin: 30px;
}
}
/* Media Query: iPhone (Vertical) */
@media screen and (max-width: 410px) {
.fa-regular {
font-size: 50px;
margin: 20px;
}
}