-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (120 loc) · 2.43 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
* {
box-sizing: border-box;
}
html,
body {
position: relative;
min-height: 100vh;
width: 100%;
background-color: #202124;
margin: 0;
padding: 0;
}
h1 {
font-family: "Amatic SC", cursive;
font-size: 3rem;
color: #c7c7c7;
}
.startgame {
position: absolute;
width: 100%;
height: 100%;
inset: 0;
background-color: #202124;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
z-index: 99999;
}
.startgame button {
width: 150px;
height: 50px;
border: 1px solid rgb(95, 99, 104);
background: transparent;
color: #c7c7c7;
font-size: 1.5rem;
font-weight: 400;
transition: all 0.2s ease-in-out;
}
.startgame button:hover {
border-color: white;
cursor: pointer;
}
#guess span {
letter-spacing: 30px;
}
#lives {
color: red;
}
.hangman-container {
width: 100%;
height: 100%;
padding: 2rem;
}
.controller {
margin: 0 auto;
max-width: 1024px;
text-align: center;
}
.alphabet {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.alphabet div {
font-family: "Amatic SC", cursive;
font-weight: bold;
color: #c7c7c7;
font-size: 34px;
display: flex;
justify-content: center;
align-items: center;
height: 41px;
width: 44px;
border: 1px solid rgb(95, 99, 104);
padding: 5px;
transition: 0.3s ease-in-out;
}
.alphabet div:hover:not([disabled]) {
cursor: pointer;
border-color: white;
}
#hangman-render {
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 4rem;
}
#hangman-render svg g path {
visibility: hidden;
}
#buttons {
width: 100%;
text-align: center;
}
#buttons button {
width: 150px;
height: 50px;
border: 1px solid rgb(95, 99, 104);
background: transparent;
color: #c7c7c7;
font-size: 1.5rem;
font-weight: 400;
transition: all 0.2s ease-in-out;
}
#buttons button:hover {
border-color: white;
cursor: pointer;
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}