html简单项目案例
/* 全局样式 */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* 页面容器 */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
flex: 1;
}
/* 标题样式 */
h1 {
color: rgb(34, 126, 198);
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
h1 img {
width: 24px;
height: 24px;
}
h2 {
color: rgb(34, 126, 198);
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
h2 .time {
font-size: 14px;
color: #666;
font-weight: normal;
}
/* 表格样式 */
ta