-
Notifications
You must be signed in to change notification settings - Fork 0
/
event.css
52 lines (46 loc) · 966 Bytes
/
event.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
body {
font-family: 'Arial', sans-serif;
background-image: url('images/bg.jpeg');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
color: #000;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: rgba(255, 255, 255, 0.9); /* 保持背景颜色,稍微透明 */
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px; /* 保持原本大小 */
width: 100%;
text-align: center;
}
img {
max-width: 100%;
border-radius: 10px;
}
h1 {
margin-bottom: 20px;
font-size: 2em;
}
p {
margin-bottom: 10px;
}
button {
background-color: #1e90ff;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
}
button:hover {
background-color: #4682b4;
}