-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.css
More file actions
111 lines (94 loc) · 1.44 KB
/
index.css
File metadata and controls
111 lines (94 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/* index.css */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.App {
display: flex;
flex-direction: column;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #333;
padding: 1rem;
}
.navbar a {
color: white;
text-decoration: none;
margin-left: 1rem;
}
.navbar a:hover {
color: #ddd;
}
/* Home */
.home {
text-align: center;
padding: 2rem;
}
/* FileList */
.file-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.file-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
}
/* AddFileForm and RemoveFileForm */
.form {
display: flex;
flex-direction: column;
gap: 1rem;
padding: 2rem;
}
.form label {
font-weight: bold;
}
.form input,
.form textarea,
.form button {
width: 100%;
padding: 0.5rem;
font-size: 1rem;
}
.form input[type="file"] {
padding: 0;
}
.form button {
background-color: #333;
color: white;
border: none;
cursor: pointer;
font-weight: bold;
}
.form button:hover {
background-color: #555;
}
.form button:disabled {
background-color: #999;
cursor: not-allowed;
}
/* Responsive design */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
gap: 1rem;
}
.navbar a {
margin-left: 0;
}
}