-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
145 lines (125 loc) · 2.2 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
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
:root {
--yellow: #FFCD00;
--black: #000;
--white: #FFF;
--gray: #E9E9E9;
}
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-family: Vazirmatn RD, Rubik, sans-serif;
direction: rtl;
}
body {
background: var(--yellow);
display: flex;
align-items: center;
justify-content: center;
}
.container {
width: 90vw;
max-width: 34em;
background: var(--white);
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
padding: 30px;
border-radius: 18px;
box-shadow: 0 0 10px -3px black;
}
.hide {
display: none !important;
}
#opt-con,
#res-con {
text-align: center;
}
#opt-con button {
font-size: 16px;
margin-top: 10px;
background: white;
border: 1px solid black;
border-radius: 5px;
color: black;
padding: 8px;
}
#opt-con #opt-btn-con {
width: 86%;
display: flex;
justify-content: space-between;
margin-right: 7%;
}
#score {
margin-top: 20px;
}
#start-btn {
background: var(--yellow) !important;
padding: 8px 40px !important;
margin-top: 50px !important;
}
#start-btn:disabled {
background: var(--gray) !important
}
.opt-select {
background: var(--yellow) !important;
}
.letter {
border: 1px solid var(--black);
border-radius: 5px;
background: var(--yellow);
color: var(--black);
padding: 5px 9px;
cursor: pointer;
}
.letter.dis {
background: var(--gray);
cursor: not-allowed;
}
.letter-con1,
.letter-con2,
.letter-con3,
.letter-con4 {
display: flex;
justify-content: space-between;
width: 100%;
margin: 5px 0;
}
.guess {
border-bottom: 3px solid var(--black);
display: inline-block;
width: 20px;
height: 35px;
font-size: 16px;
text-align: center;
}
.guess-con {
width: 100%;
min-height: 50px;
display: flex;
justify-content: space-between;
}
.new {
background: var(--yellow);
padding: 8px;
color: var(--black);
border: 1px solid var(--black);
border-radius: 5px;
font-size: 16px;
margin-top: 20px;
}
.win h2 {
color: green;
font-size: 2.5em;
}
.lost h2 {
color: red;
font-size: 2.5em;
}
.win p,
.lost p {
font-size: 18px;
}