-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
49 lines (43 loc) · 891 Bytes
/
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
body {
font-family: 'Roboto', sans-serif;
background-color: #1a1a1a; /* 深灰色 */
color: #e0e0e0; /* 浅灰色 */
padding: 20px;
}
.container {
max-width: 600px;
margin: auto;
text-align: center;
}
h1 {
color: #4caf50; /* 绿色 */
font-size: 2em;
margin-bottom: 20px;
}
input[type='text'] {
border: 2px solid #4caf50; /* 绿色 */
padding: 10px;
width: 100%;
max-width: 300px;
border-radius: 5px;
color: #333;
background-color: #ffffff;
}
button {
background-color: #2196f3; /* 蓝色 */
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-top: 20px;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #0d47a1; /* 更深的蓝色 */
}
p#result {
margin-top: 20px;
font-size: 1.2em;
}