hongshi-files commited on
Commit
652bc9b
·
verified ·
1 Parent(s): 6a4188d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +49 -84
index.html CHANGED
@@ -2,105 +2,70 @@
2
  <html lang="zh-CN">
3
  <head>
4
  <meta charset="UTF-8">
5
- <title>网盘页面</title>
 
6
  <style>
7
  body {
8
  font-family: Arial, sans-serif;
 
 
 
 
 
9
  margin: 0;
10
- padding: 0;
11
- background: linear-gradient(120deg, #f0f0f0, #e0e0e0);
12
  }
13
- header {
14
- background-color: #4CAF50;
15
- color: white;
16
- padding: 10px 0;
 
 
 
17
  text-align: center;
18
- border-bottom: 3px solid #388E3C;
19
  }
20
- nav {
21
- width: 200px;
22
- background: #333;
23
- height: 100vh;
24
- position: fixed;
25
- top: 0;
26
- left: 0;
27
- padding-top: 20px;
28
- transition: background 0.3s ease;
29
- }
30
- nav a {
31
- color: white;
32
- text-decoration: none;
33
- display: block;
34
- padding: 10px;
35
  text-align: center;
36
- border-radius: 4px;
37
- transition: background 0.3s ease;
38
  }
39
- nav a:hover {
40
- background: #575757;
 
41
  }
42
- main {
43
- margin-left: 220px;
 
 
44
  padding: 20px;
45
- background: white;
46
- border-radius: 8px;
47
- box-shadow: 0 0 10px rgba(0,0,0,0.1);
48
- animation: fadeIn 1s ease-in-out;
49
- }
50
- table {
51
- width: 100%;
52
- border-collapse: collapse;
53
- }
54
- table, th, td {
55
- border: 1px solid #ddd;
56
- }
57
- th, td {
58
- padding: 8px;
59
- text-align: left;
60
- }
61
- th {
62
- background: #4CAF50;
63
- color: white;
64
- }
65
- tr:nth-child(even) {
66
- background-color: #f2f2f2;
67
  }
68
- @keyframes fadeIn {
69
- from {opacity: 0;}
70
- to {opacity: 1;}
71
  }
72
  </style>
73
  </head>
74
  <body>
75
- <header>
76
- <h1>网盘</h1>
77
- </header>
78
- <nav>
79
- <a href="#">主页</a>
80
- </nav>
81
- <main>
82
- <table>
83
- <tr>
84
- <th>名称</th>
85
- <th>修改时间</th>
86
- </tr>
87
- <tr>
88
- <td><a href="gdyg/index.html">孤独摇滚</a></td>
89
- <td>2024-10-30 22:53:01</td>
90
- </tr>
91
- <tr>
92
- <td><a href="folder2/index.html">文件夹2</a></td>
93
- <td>2024-10-30 22:54:12</td>
94
- </tr>
95
- <tr>
96
- <td><a href="file1.html">文件1</a></td>
97
- <td>2024-10-30 22:55:03</td>
98
- </tr>
99
- <tr>
100
- <td><a href="file2.html">文件2</a></td>
101
- <td>2024-10-30 22:56:04</td>
102
- </tr>
103
- </table>
104
- </main>
105
  </body>
106
  </html>
 
2
  <html lang="zh-CN">
3
  <head>
4
  <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>网盘</title>
7
  <style>
8
  body {
9
  font-family: Arial, sans-serif;
10
+ background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ height: 100vh;
15
  margin: 0;
 
 
16
  }
17
+ .container {
18
+ background: white;
19
+ border-radius: 15px;
20
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
21
+ padding: 20px;
22
+ width: 80%;
23
+ max-width: 600px;
24
  text-align: center;
 
25
  }
26
+ .folder {
27
+ display: inline-block;
28
+ margin: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
29
  text-align: center;
 
 
30
  }
31
+ .folder a {
32
+ text-decoration: none;
33
+ color: #333;
34
  }
35
+ .folder-icon {
36
+ font-size: 50px;
37
+ border-radius: 15px;
38
+ background: linear-gradient(135deg, #ff9a9e, #fad0c4);
39
  padding: 20px;
40
+ display: inline-block;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }
42
+ .folder-name {
43
+ margin-top: 10px;
44
+ font-size: 18px;
45
  }
46
  </style>
47
  </head>
48
  <body>
49
+ <div class="container">
50
+ <h1>我的网盘</h1>
51
+ <div class="folder">
52
+ <a href="gdyg/index.html">
53
+ <div class="folder-icon">📁</div>
54
+ <div class="folder-name">孤独摇滚</div>
55
+ </a>
56
+ </div>
57
+ <div class="folder">
58
+ <a href="folder2.html">
59
+ <div class="folder-icon">📁</div>
60
+ <div class="folder-name">文件夹2</div>
61
+ </a>
62
+ </div>
63
+ <div class="folder">
64
+ <a href="folder3.html">
65
+ <div class="folder-icon">📁</div>
66
+ <div class="folder-name">文件夹3</div>
67
+ </a>
68
+ </div>
69
+ </div>
 
 
 
 
 
 
 
 
 
70
  </body>
71
  </html>