Files
appDistribute/style.css

177 lines
2.9 KiB
CSS
Raw Normal View History

2025-12-25 00:55:57 +08:00
/* 全局样式重置 */
2025-12-23 22:19:02 +08:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2025-12-25 00:55:57 +08:00
/* 页面基础样式 */
2025-12-23 22:19:02 +08:00
body {
font-family: Arial, sans-serif;
}
2025-12-25 00:55:57 +08:00
/* 主容器样式 */
2025-12-23 22:19:02 +08:00
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
2025-12-25 00:55:57 +08:00
/* 页面头部样式 */
2025-12-23 22:19:02 +08:00
header {
text-align: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #000;
}
2025-12-25 00:55:57 +08:00
/* 页面标题样式 */
2025-12-23 22:19:02 +08:00
header h1 {
font-size: 24px;
}
2025-12-25 00:55:57 +08:00
/* 通用区块样式 */
2025-12-23 22:19:02 +08:00
.section {
margin-bottom: 30px;
padding: 20px;
border: 1px solid #000;
}
2025-12-25 00:55:57 +08:00
/* 区块标题样式 */
2025-12-23 22:19:02 +08:00
.section h2 {
font-size: 18px;
margin-bottom: 15px;
}
2025-12-25 00:55:57 +08:00
/* 输入框通用样式 */
2025-12-23 22:19:02 +08:00
input {
display: block;
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #000;
font-size: 14px;
}
2025-12-25 00:55:57 +08:00
/* 按钮通用样式 */
2025-12-23 22:19:02 +08:00
button {
border: 1px solid #000;
padding: 10px 20px;
cursor: pointer;
font-size: 14px;
background-color: #fff;
transition: background-color 0.2s;
}
2025-12-25 00:55:57 +08:00
/* 按钮悬停效果 */
button:hover {
background-color: #f0f0f0;
}
2025-12-25 00:55:57 +08:00
/* 按钮点击效果 */
button:active {
background-color: #e0e0e0;
2025-12-23 22:19:02 +08:00
}
2025-12-25 00:55:57 +08:00
/* 段落通用样式 */
2025-12-23 22:19:02 +08:00
p {
margin-top: 10px;
font-size: 14px;
}
2025-12-25 00:55:57 +08:00
/* 文档项样式 */
.doc-item{
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
margin-bottom: 5px;
border: 1px solid #000;
}
2025-12-25 00:55:57 +08:00
/* 文档项内段落样式 */
.doc-item p{
margin-top: 0;
font-size: 16px;
}
2025-12-25 00:55:57 +08:00
/* App项样式 */
2025-12-23 22:19:02 +08:00
.app-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
margin-bottom: 10px;
border: 1px solid #000;
}
2025-12-25 00:55:57 +08:00
/* App信息区域样式 */
2025-12-23 22:19:02 +08:00
.app-info {
flex: 1;
}
2025-12-25 00:55:57 +08:00
/* App名称样式 */
2025-12-23 22:19:02 +08:00
.app-info h3 {
font-size: 16px;
margin-bottom: 5px;
}
2025-12-25 00:55:57 +08:00
/* App日期样式 */
2025-12-23 22:19:02 +08:00
.app-info p {
font-size: 12px;
margin: 0;
}
2025-12-25 00:55:57 +08:00
/* 下载按钮样式 */
2025-12-23 22:19:02 +08:00
.download-btn {
padding: 8px 15px;
font-size: 12px;
}
2025-12-25 00:55:57 +08:00
/* 退出按钮样式 */
2025-12-23 22:19:02 +08:00
.logout-btn {
margin-top: 10px;
font-size: 12px;
}
2025-12-25 00:55:57 +08:00
/* 加载指示器样式 */
#loadingIndicator {
font-size: 12px;
color: #666;
}
2025-12-25 00:55:57 +08:00
/* 响应式设计 - 移动端适配 */
2025-12-23 22:19:02 +08:00
@media (max-width: 600px) {
2025-12-25 00:55:57 +08:00
/* 移动端主容器样式 */
2025-12-23 22:19:02 +08:00
.container {
margin: 10px;
padding: 15px;
}
2025-12-25 00:55:57 +08:00
/* 移动端区块样式 */
2025-12-23 22:19:02 +08:00
.section {
padding: 15px;
}
2025-12-25 00:55:57 +08:00
/* 移动端App项样式改为垂直排列 */
2025-12-23 22:19:02 +08:00
.app-item {
flex-direction: column;
align-items: flex-start;
}
2025-12-25 00:55:57 +08:00
/* 移动端文档项样式,改为垂直排列 */
.doc-item {
flex-direction: column;
align-items: flex-start;
}
2025-12-25 00:55:57 +08:00
/* 移动端下载按钮样式,添加顶部间距 */
2025-12-23 22:19:02 +08:00
.download-btn {
margin-top: 10px;
}
/* 刷新按钮和加载状态在移动端的适配 */
#downloadSection h2 {
margin-bottom: 10px;
}
2025-12-23 22:19:02 +08:00
}