From 40f21f6cea4c2f9da3c3511e87d3745db7f0e0af Mon Sep 17 00:00:00 2001 From: Administrator <3234374354@qq.com> Date: Tue, 18 Feb 2025 15:43:02 +0000 Subject: [PATCH] docs: upload videos/video.css --- videos/video.css | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 videos/video.css diff --git a/videos/video.css b/videos/video.css new file mode 100644 index 0000000..8c58972 --- /dev/null +++ b/videos/video.css @@ -0,0 +1,72 @@ +.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; +} \ No newline at end of file