Compare commits
	
		
			3 commits
		
	
	
		
			0d0adb1a7b
			...
			892de6af59
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						892de6af59 | ||
| 5b34f67638 | |||
| 36ddc3f85d | 
					 1 changed files with 40 additions and 21 deletions
				
			
		
							
								
								
									
										61
									
								
								styles.css
									
										
									
									
									
								
							
							
						
						
									
										61
									
								
								styles.css
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -179,7 +179,8 @@ footer {
 | 
			
		|||
  font-size: 0.9em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Old card styles */
 | 
			
		||||
/* card styles */
 | 
			
		||||
/* Updated card styles with space theme */
 | 
			
		||||
section .cards {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 | 
			
		||||
| 
						 | 
				
			
			@ -190,22 +191,23 @@ section .cards {
 | 
			
		|||
section .card {
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  list-style: none;
 | 
			
		||||
  background-color: rgba(46, 58, 95, 0.9);
 | 
			
		||||
  background: linear-gradient(180deg, rgba(0, 0, 50, 0.9), rgba(10, 10, 100, 0.9), rgba(30, 30, 150, 0.9));
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  border-radius: 10px;
 | 
			
		||||
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
 | 
			
		||||
  border: 1px solid #3a4971;
 | 
			
		||||
  border-radius: 12px;
 | 
			
		||||
  box-shadow: 0 5px 20px rgba(0, 0, 50, 0.8), 0 0 10px rgba(255, 255, 255, 0.1); /* Space glow effect */
 | 
			
		||||
  border: 1px solid #2e3a60;
 | 
			
		||||
  position: relative;
 | 
			
		||||
  overflow: hidden;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 | 
			
		||||
  transition: background 0.5s ease, transform 0.4s ease, box-shadow 0.5s ease;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card:hover {
 | 
			
		||||
  transform: translateY(-5px);
 | 
			
		||||
  box-shadow: 0 10px 30px rgba(255, 221, 85, 0.5);
 | 
			
		||||
  transform: translateY(-8px);
 | 
			
		||||
  background: linear-gradient(180deg, rgba(30, 30, 150, 0.9), rgba(40, 0, 100, 0.9), rgba(100, 0, 150, 0.9)); /* More intense hover gradient */
 | 
			
		||||
  box-shadow: 0 10px 30px rgba(0, 0, 100, 0.7), 0 0 20px rgba(255, 221, 85, 0.8); /* Enhanced glowing effect */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card img {
 | 
			
		||||
| 
						 | 
				
			
			@ -214,32 +216,35 @@ section .card img {
 | 
			
		|||
  object-fit: cover;
 | 
			
		||||
  border-radius: 50%;
 | 
			
		||||
  margin: 0 auto 15px;
 | 
			
		||||
  box-shadow: 0 0 10px rgba(255, 221, 85, 0.5);
 | 
			
		||||
  box-shadow: 0 0 15px rgba(255, 221, 85, 0.5); /* Add a space-like glow */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card h3 {
 | 
			
		||||
  margin: 10px 0;
 | 
			
		||||
  font-size: 1.2em;
 | 
			
		||||
  font-size: 1.4em;
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
  color: var(--accent-color);
 | 
			
		||||
  text-shadow: 0 0 10px var(--accent-color);
 | 
			
		||||
  color: rgba(255, 221, 85, 1);
 | 
			
		||||
  text-shadow: 0 0 15px rgba(255, 221, 85, 0.9); /* Glowing text effect */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card p {
 | 
			
		||||
  flex-grow: 1;
 | 
			
		||||
  color: var(--text-color);
 | 
			
		||||
  color: rgba(200, 220, 255, 0.8);
 | 
			
		||||
  margin-bottom: 10px;
 | 
			
		||||
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Subtle glow on text */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card::before {
 | 
			
		||||
  content: "";
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  top: 10px;
 | 
			
		||||
  right: 10px;
 | 
			
		||||
  width: 24px;
 | 
			
		||||
  height: 24px;
 | 
			
		||||
  background: url("path-to-cosmic-icon.svg") no-repeat center;
 | 
			
		||||
  background-size: contain;
 | 
			
		||||
  top: -20px;
 | 
			
		||||
  right: -20px;
 | 
			
		||||
  width: 60px;
 | 
			
		||||
  height: 60px;
 | 
			
		||||
  border-radius: 50%;
 | 
			
		||||
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
 | 
			
		||||
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
 | 
			
		||||
  animation: spin 8s linear infinite; /* Adds a subtle spinning effect */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card .suit-icon {
 | 
			
		||||
| 
						 | 
				
			
			@ -248,8 +253,22 @@ section .card .suit-icon {
 | 
			
		|||
  right: 10px;
 | 
			
		||||
  width: 24px;
 | 
			
		||||
  height: 24px;
 | 
			
		||||
  background: url("path-to-suit-icon.svg") no-repeat center;
 | 
			
		||||
  background-size: contain;
 | 
			
		||||
  opacity: 0.7;
 | 
			
		||||
  transition: opacity var(--transition-speed);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
section .card:hover .suit-icon {
 | 
			
		||||
  opacity: 1; /* Highlight the icon on hover */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Keyframes for spinning element */
 | 
			
		||||
@keyframes spin {
 | 
			
		||||
  0% {
 | 
			
		||||
    transform: rotate(0deg);
 | 
			
		||||
  }
 | 
			
		||||
  100% {
 | 
			
		||||
    transform: rotate(360deg);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Form styling */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue