-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
124 lines (104 loc) · 2.15 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
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css');
:root {
background-color: rgb(29, 26, 26);
}
* {
box-sizing:border-box;
margin: 0;
padding: 0;
font-size: 62.5%;
font-family: 'Nova Square', cursive;
}
h1 {
font-size: 5.4rem;
color: #fff;
margin-bottom: 5rem;
}
h2 {
font-size: 4.2rem;
margin-bottom: 4rem;
}
.container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
max-width: 80rem;
margin: 0auto;
padding: 2rem;
}
.flex-column {
display: flex;
flex-direction: column;
}
flex-center {
justify-content: center;
align-items: center;
}
.justify-center {
justify-content: center;
}
.text-center {
text-align: center;
}
.hidden {
display: none;
}
.btn {
font-size: 2.4rem;
padding: 2rem 0;
width: 30rem;
text-align: center;
margin-bottom: 1rem;
text-decoration: none;
color: rgb(28, 26, 26);
background: linear-gradient(90deg, rgb(76, 15, 244) 0%, rgb(38, 28, 238) 100%);
border-radius: 4px;
}
.btn:hover {
cursor: pointer;
box-shadow: 0 0.4rem 1.4rem 0 rgba(8, 114, 244, 0.6);
transition: transform 150ms;
transform: scale(1.30);
}
.btn[disabled]:hover {
cursor: not-allowed;
box-shadow: none;
transform: none;
}
#highscore-btn {
background: linear-gradient(90deg, rgb(255, 247, 9) 0%, rgb(240,
221, 9) 100%);
}
#highscore-btn:hover {
box-shadow: 0 0.4rem 1.4rem 0 rgba(255, 255, 0, 0.5)
}
.fa-crown {
font-size: 2.5rem;
margin-left: 1rem;
}
/* End pg CSS*/
.end-form-container {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
max-width: 30rem;
}
input {
margin-bottom: 1rem;
width: 20rem;
padding: 1.5rem;
font-size: 1.8rem;
border: none;
box-shadow: 0 0.1rem 1.4rem 0 rgba(86, 185, 235, 0.5);
}
input::placeholder {
color: #aaa;
}
#username {
margin-bottom: 3rem;
width: 100%;
outline: none;
}