-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
140 lines (121 loc) · 2.6 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
background-color: #f9fafc;
color: #333;
padding: 20px;
line-height: 1.6;
}
/* General list styles */
ul, ol {
margin: 20px 0;
padding-left: 20px;
list-style-position: inside;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
/* List items */
li {
background-color: #fff;
padding: 8px 12px;
margin-bottom: 8px;
border-left: 3px solid #3498db;
transition: background-color 0.2s, box-shadow 0.2s;
}
/* Centered title */
h1 {
text-align: center;
margin: 20px 0;
font-size: 2em;
font-weight: 600;
color: #2c3e50;
}
/* Section headings */
h2 {
margin: 15px 0;
font-size: 1.5em;
color: #2c3e50;
border-bottom: 2px solid #3498db;
padding-bottom: 5px;
}
h3 {
margin: 10px 0;
font-size: 1.2em;
color: #444;
}
/* Links */
a {
text-decoration: none;
color: #3498db;
border-bottom: 1px solid transparent;
transition: border-bottom 0.2s, color 0.2s;
}
a:hover {
color: #217dbb;
border-bottom: 1px solid #217dbb;
}
/* Buttons */
.return-button, .archived-button {
display: inline-block;
background-color: #3498db;
color: #fff;
padding: 10px 15px;
border-radius: 4px;
text-decoration: none;
font-size: 0.95em;
transition: background-color 0.3s, transform 0.2s;
margin-bottom: 15px;
}
.return-button:hover, .archived-button:hover {
background-color: #217dbb;
transform: scale(1.02);
color: white;
}
/* Footer */
footer {
background-color: #f7f9fb;
padding: 15px;
margin-top: 30px;
text-align: center;
font-size: 0.9em;
color: #666;
border-top: 1px solid #ddd;
}
/* Image container */
.image-container {
text-align: center;
margin: 20px 0;
}
.image-container img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.image-container img:hover {
transform: scale(1.05);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
/* Optional caption for the image */
.image-container figcaption {
font-size: 0.9em;
color: #666;
margin-top: 8px;
}
p {
font-size: 16px; /* 调整文字大小 */
line-height: 1.8; /* 提高行间距,增强可读性 */
text-align: justify; /* 文字对齐两端 */
border-radius: 5px; /* 圆角处理 */
transition: background-color 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡效果 */
}