working gallery, working skills
This commit is contained in:
		
							parent
							
								
									9e63f46919
								
							
						
					
					
						commit
						793f028a40
					
				
					 304 changed files with 3751 additions and 200 deletions
				
			
		| 
						 | 
				
			
			@ -1,22 +1,48 @@
 | 
			
		|||
#image-gallery {
 | 
			
		||||
  margin: 2rem 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.gallery {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
 | 
			
		||||
  gap: 1rem;
 | 
			
		||||
  column-count: 3;
 | 
			
		||||
  column-gap: 1rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.gallery a {
 | 
			
		||||
  display: block;
 | 
			
		||||
.gallery-item {
 | 
			
		||||
  break-inside: avoid;
 | 
			
		||||
  margin-bottom: 1rem;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  list-style: none; /* ← important! */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.gallery img {
 | 
			
		||||
 | 
			
		||||
.gallery-item img {
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  height: auto;
 | 
			
		||||
  border-radius: 8px;
 | 
			
		||||
  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 {
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  font-size: 0.9rem;
 | 
			
		||||
  color: #666;
 | 
			
		||||
  margin-top: 0.25rem;
 | 
			
		||||
  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;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,39 +1,72 @@
 | 
			
		|||
.skills {
 | 
			
		||||
/* Basic Layout for Skills List */
 | 
			
		||||
#skills-content {
 | 
			
		||||
  margin: 2rem 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#skills-content .category {
 | 
			
		||||
  margin-bottom: 3rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.skills-title {
 | 
			
		||||
  font-size: 2rem;
 | 
			
		||||
  font-weight: 700;
 | 
			
		||||
  margin-bottom: 1.5rem;
 | 
			
		||||
#skills-content .category h3 {
 | 
			
		||||
  font-size: 1.5rem;
 | 
			
		||||
  font-weight: regular;
 | 
			
		||||
  margin-bottom: 1rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.skills-subtitle {
 | 
			
		||||
  font-size: 1.25rem;
 | 
			
		||||
  font-weight: 600;
 | 
			
		||||
  color: #444;
 | 
			
		||||
  margin-top: 2rem;
 | 
			
		||||
  margin-bottom: 0.5rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.skills-list {
 | 
			
		||||
/* Skills container for single-line display */
 | 
			
		||||
#skills-content .skills-list {
 | 
			
		||||
  list-style: none;
 | 
			
		||||
  padding: 0;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-wrap: wrap;
 | 
			
		||||
  gap: 0.75rem 1.5rem;
 | 
			
		||||
  display: flex; /* Use flexbox for single-line display */
 | 
			
		||||
  flex-wrap: wrap; /* Allow skills to wrap if needed */
 | 
			
		||||
  gap: 1rem; /* Spacing between skills */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.skills-item {
 | 
			
		||||
  display: inline-flex;
 | 
			
		||||
/* Skill List Item */
 | 
			
		||||
#skills-content .skills-list .skill {
 | 
			
		||||
  display: inline-flex; /* Ensures each skill is aligned inline */
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  font-size: 1rem;
 | 
			
		||||
  color: #666;
 | 
			
		||||
  position: relative;
 | 
			
		||||
  cursor: pointer; /* Show pointer cursor on hover */
 | 
			
		||||
  text-decoration: none; /* Remove underline from links */
 | 
			
		||||
  color: inherit; /* Inherit color from parent */
 | 
			
		||||
  transition: background-color 0.3s, color 0.3s;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.skills-item i {
 | 
			
		||||
  margin-right: 0.3rem;
 | 
			
		||||
  font-size: 1rem;
 | 
			
		||||
  opacity: 0.7;
 | 
			
		||||
 | 
			
		||||
/* Skill Name */
 | 
			
		||||
#skills-content .skills-list .skill span {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  font-size: 1.2rem;
 | 
			
		||||
  margin-left: 0.5rem;
 | 
			
		||||
  line-height: 1.4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Skill Icon */
 | 
			
		||||
#skills-content .skills-list .skill .skill-icon {
 | 
			
		||||
  margin-right: 0.5rem;
 | 
			
		||||
  color: var(--accent-color);
 | 
			
		||||
  font-size: 1.4rem;
 | 
			
		||||
  vertical-align: middle;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Hover Effects for Skills */
 | 
			
		||||
#skills-content .skills-list .skill:hover::before {
 | 
			
		||||
  background: var(--accent-color-dark);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#skills-content .skills-list .skill:hover {
 | 
			
		||||
  background-color: var(--accent-color-alpha);
 | 
			
		||||
  color: var(--fg-color); /* Change text color on hover */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Skill Category Hover Effect */
 | 
			
		||||
#skills-content .skills-list .skill:hover span {
 | 
			
		||||
  color: var(--fg-color);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Optional: Customize Icon Color on Hover */
 | 
			
		||||
#skills-content .skills-list .skill:hover .skill-icon {
 | 
			
		||||
  color: var(--fg-color);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue