mirror of
https://github.com/RhenCloud/Cloud-Index.git
synced 2025-12-06 15:26:10 +08:00
feat: 添加 GitHub 存储支持,更新相关文档和配置
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
--folder-color: #ffc107;
|
||||
--file-color: #6c757d;
|
||||
--shadow-color: rgba(0, 0, 0, 0.1);
|
||||
--icon-bg: #f0f0f0;
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
@@ -22,6 +23,7 @@
|
||||
--folder-color: #ffd54f;
|
||||
--file-color: #b0b0b0;
|
||||
--shadow-color: rgba(0, 0, 0, 0.3);
|
||||
--icon-bg: #3a3a3a;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -149,7 +151,38 @@ h1 {
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 8px;
|
||||
background-color: #f0f0f0;
|
||||
background-color: var(--icon-bg);
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.grid-thumb:hover {
|
||||
transform: scale(1.02);
|
||||
box-shadow: 0 2px 8px var(--shadow-color);
|
||||
}
|
||||
|
||||
/* 网格卡片中的图标容器 */
|
||||
.grid-icon {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 6px;
|
||||
background-color: var(--icon-bg);
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.grid-icon:hover {
|
||||
transform: scale(1.02);
|
||||
background-color: var(--hover-bg);
|
||||
box-shadow: 0 2px 8px var(--shadow-color);
|
||||
}
|
||||
|
||||
.grid-icon i {
|
||||
font-size: 64px;
|
||||
}
|
||||
|
||||
.grid-name {
|
||||
|
||||
Reference in New Issue
Block a user