pakdeveloper commited on
Commit
966deed
·
verified ·
1 Parent(s): f6d4475

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +57 -18
style.css CHANGED
@@ -1,28 +1,67 @@
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
1
+
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
  body {
9
+ font-family: Arial, sans-serif;
10
+ padding: 20px;
11
+ background: #f0f0f0;
12
+ }
13
+
14
+ .upload-zone {
15
+ border: 2px dashed #ccc;
16
+ padding: 40px;
17
+ text-align: center;
18
+ margin-bottom: 20px;
19
+ cursor: pointer;
20
+ background: white;
21
+ transition: border-color 0.3s;
22
+ }
23
+
24
+ .upload-zone:hover {
25
+ border-color: #405DE6;
26
+ }
27
+
28
+ .gallery {
29
+ display: grid;
30
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
31
+ gap: 20px;
32
+ padding: 20px 0;
33
  }
34
 
35
+ .image-card {
36
+ position: relative;
37
+ background: white;
38
+ border-radius: 8px;
39
+ overflow: hidden;
40
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
41
  }
42
 
43
+ .image-card img {
44
+ width: 100%;
45
+ height: 200px;
46
+ object-fit: cover;
 
47
  }
48
 
49
+ .delete-btn {
50
+ position: absolute;
51
+ top: 10px;
52
+ right: 10px;
53
+ background: rgba(255,255,255,0.9);
54
+ border: none;
55
+ border-radius: 50%;
56
+ width: 30px;
57
+ height: 30px;
58
+ cursor: pointer;
59
+ display: flex;
60
+ align-items: center;
61
+ justify-content: center;
62
  }
63
 
64
+ .delete-btn:hover {
65
+ background: rgba(255,0,0,0.9);
66
+ color: white;
67
  }