-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
108 lines (105 loc) · 1.77 KB
/
index.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
* {
margin: 0;
padding: 0;
overflow: hidden;
font-family: "Courier New", Courier, monospace;
}
body {
height: 100vh;
width: 100vw;
display: grid;
justify-content: center;
align-content: center;
/* background: linear-gradient(rgb(9, 9, 188), rgb(14, 14, 205)); */
background-color: rgb(14, 14, 14);
background-size: cover;
background-repeat: no-repeat;
}
.container {
width: 400px;
height: fit-content;
background: rgb(195, 255, 0);
padding: 20px 40px;
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
margin-top: 50px;
border-radius: 5px;
box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.1);
}
.container h2 {
margin-bottom: 10px;
font-size: 35px;
text-align: center;
color: brown;
}
form .nole {
display: flex;
justify-content: space-between;
align-items: center;
}
form label {
display: block;
margin-bottom: 10px;
text-align: center;
}
form input {
width: 280px;
height: 30px;
padding-left: 10px;
border: 1px solid black;
display: inline;
}
form button {
width: 100px;
height: 30px;
cursor: pointer;
font-size: 10px;
font-weight: 500;
display: inline;
background-color: brown;
color: rgb(195, 255, 0);
border: none;
}
.demo {
padding-top: 10px;
font-size: 12px;
text-align: center;
}
.score {
position: absolute;
top: 20px;
right: 20px;
font-size: 25px;
font-weight: 800;
color: white;
}
.score span {
color: rgb(195, 255, 0);
animation: load 2s linear;
}
.score span::before {
content: "0";
margin-left: -15px;
}
@keyframes load {
0% {
opacity: 0;
}
20% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
}
@media only screen and (max-width: 400px) {
.container {
width: 250px;
margin: auto;
}
}