-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
105 lines (92 loc) · 1.8 KB
/
main.css
File metadata and controls
105 lines (92 loc) · 1.8 KB
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
body {
font-family: Gochi Hand;
background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
overflow: hidden;
}
.wrapper {
background: rgba(255, 255, 255, 0.9);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
max-width: 400px;
width: 100%;
text-align: center;
animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
h1 {
font-size: 28px;
font-weight: 600;
color: #00796b;
margin-bottom: 15px;
}
p {
font-size: 16px;
color: #555;
margin-bottom: 10px;
}
.form {
display: flex;
flex-direction: column;
gap: 15px;
margin-top: 20px;
}
.guessField {
padding: 12px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.guessField:focus {
border-color: #00796b;
box-shadow: 0 0 8px rgba(0, 121, 107, 0.3);
}
.guessSubmit {
padding: 12px;
border: none;
border-radius: 8px;
background-color: #00796b;
color: #fff;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.guessSubmit:hover {
background-color: #004d40;
transform: translateY(-2px);
}
.guessSubmit:active {
transform: translateY(0);
}
.resultParas {
margin-top: 20px;
font-size: 14px;
color: #555;
}
.guesses, .lastResult {
font-weight: 600;
color: #00796b;
}
.loOrHigh {
font-size: 16px;
color: #d32f2f;
margin-top: 10px;
}