löten leuchten
This commit is contained in:
		
							parent
							
								
									98d803929a
								
							
						
					
					
						commit
						88c564f467
					
				
					 2662 changed files with 195168 additions and 12 deletions
				
			
		
							
								
								
									
										48
									
								
								public/css/gallery.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								public/css/gallery.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,48 @@
 | 
			
		|||
#image-gallery {
 | 
			
		||||
  margin: 2rem 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.gallery {
 | 
			
		||||
  column-count: 3;
 | 
			
		||||
  column-gap: 1rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.gallery-item {
 | 
			
		||||
  break-inside: avoid;
 | 
			
		||||
  margin-bottom: 1rem;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  list-style: none; /* ← important! */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.gallery-item img {
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  height: auto;
 | 
			
		||||
  border-radius: 12px;
 | 
			
		||||
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
 | 
			
		||||
  transition: transform 0.2s ease;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.gallery-item img:hover {
 | 
			
		||||
  transform: scale(1.6);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.caption {
 | 
			
		||||
  font-size: 0.9rem;
 | 
			
		||||
  margin-top: 0.5rem;
 | 
			
		||||
  margin-bottom: 0; /* ← just in case */
 | 
			
		||||
  color: var(--fg-color);
 | 
			
		||||
  list-style: none; /* ← extra-safe */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media (max-width: 768px) {
 | 
			
		||||
  .gallery {
 | 
			
		||||
    column-count: 2;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media (max-width: 480px) {
 | 
			
		||||
  .gallery {
 | 
			
		||||
    column-count: 1;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue