dataautogpt3 commited on
Commit
6af1f8e
·
verified ·
1 Parent(s): f55347a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -11
README.md CHANGED
@@ -23,21 +23,21 @@ tags:
23
  display: flex;
24
  flex-direction: row;
25
  flex-wrap: wrap;
26
- gap: 12px;
27
  justify-content: center;
28
  align-items: center;
29
  width: 100%;
30
- padding: 12px;
31
  }
32
 
33
  .gallery-item {
34
- flex: 0 0 340px;
35
  margin: 0;
36
- position: relative; /* Added for caption positioning */
37
  }
38
 
39
  .gallery img {
40
- width: 340px;
41
  cursor: pointer;
42
  transition: transform 0.2s;
43
  border-radius: 8px;
@@ -52,18 +52,18 @@ tags:
52
  bottom: 0;
53
  left: 0;
54
  right: 0;
55
- background: rgba(0, 0, 0, 0.7);
56
  color: white;
57
- padding: 10px;
58
- font-size: 12px;
59
  border-bottom-left-radius: 8px;
60
  border-bottom-right-radius: 8px;
61
- opacity: 0.9;
62
- transition: opacity 0.3s;
63
  }
64
 
65
  .gallery-item:hover .caption {
66
- opacity: 1;
67
  }
68
 
69
  .modal {
 
23
  display: flex;
24
  flex-direction: row;
25
  flex-wrap: wrap;
26
+ gap: 10px; /* Reduced gap for smaller images */
27
  justify-content: center;
28
  align-items: center;
29
  width: 100%;
30
+ padding: 10px;
31
  }
32
 
33
  .gallery-item {
34
+ flex: 0 0 300px; /* Reduced from 340px to 300px */
35
  margin: 0;
36
+ position: relative;
37
  }
38
 
39
  .gallery img {
40
+ width: 300px; /* Reduced from 340px to 300px */
41
  cursor: pointer;
42
  transition: transform 0.2s;
43
  border-radius: 8px;
 
52
  bottom: 0;
53
  left: 0;
54
  right: 0;
55
+ background: rgba(0, 0, 0, 0.4);
56
  color: white;
57
+ padding: 8px; /* Slightly reduced padding */
58
+ font-size: 11px; /* Slightly reduced font size */
59
  border-bottom-left-radius: 8px;
60
  border-bottom-right-radius: 8px;
61
+ opacity: 0.7;
62
+ transition: opacity 0.3s ease;
63
  }
64
 
65
  .gallery-item:hover .caption {
66
+ opacity: 0.2;
67
  }
68
 
69
  .modal {