72 lines
1.3 KiB
CSS
72 lines
1.3 KiB
CSS
.artplayer-app {
|
|
width: 100%;
|
|
height: calc(100vh - 50px);
|
|
/* 调整高度以适应标题栏 */
|
|
margin: 0;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f4f4f9;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
/* 设置body高度为视口高度 */
|
|
overflow: hidden;
|
|
/* 隐藏滚动条 */
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 20px;
|
|
background-color: #fff;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: button;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.back-button {
|
|
padding: 10px 20px;
|
|
background-color: #6c757d;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: button;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.back-button:hover {
|
|
background-color: #545b62;
|
|
}
|
|
|
|
.description {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-left: 10px;
|
|
/* 减少左边距,使说明紧挨标题 */
|
|
max-width: 400px;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
} |