Compare commits
No commits in common. "8b87f60c562b2a55f8db072f91bc8e44f98346d5" and "b6b5f31d9865d61ae9d0113fd9c6eddd04b3e1a8" have entirely different histories.
8b87f60c56
...
b6b5f31d98
1 changed files with 11 additions and 26 deletions
37
styles.css
37
styles.css
|
@ -179,7 +179,8 @@ footer {
|
|||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Card container styles */
|
||||
/* card styles */
|
||||
/* Updated card styles with space theme */
|
||||
section .cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
|
@ -187,28 +188,13 @@ section .cards {
|
|||
margin-top: 50px;
|
||||
}
|
||||
|
||||
/* Ensure the <a> tag covers the entire card */
|
||||
section .card a {
|
||||
display: flex; /* Use flex to make <a> fill the card and align content */
|
||||
flex-direction: column;
|
||||
justify-content: center; /* Vertically center the content */
|
||||
align-items: center; /* Horizontally center the content */
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
|
||||
/* Card styles */
|
||||
section .card {
|
||||
text-align: center;
|
||||
list-style: none;
|
||||
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: 12px;
|
||||
box-shadow: 0 5px 20px rgba(0, 0, 50, 0.8), 0 0 10px rgba(255, 255, 255, 0.1);
|
||||
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;
|
||||
|
@ -220,8 +206,8 @@ section .card {
|
|||
|
||||
section .card:hover {
|
||||
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));
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 100, 0.7), 0 0 20px rgba(255, 221, 85, 0.8);
|
||||
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 {
|
||||
|
@ -230,7 +216,7 @@ section .card img {
|
|||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 15px;
|
||||
box-shadow: 0 0 15px 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 {
|
||||
|
@ -238,14 +224,14 @@ section .card h3 {
|
|||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
color: rgba(255, 221, 85, 1);
|
||||
text-shadow: 0 0 15px rgba(255, 221, 85, 0.9);
|
||||
text-shadow: 0 0 15px rgba(255, 221, 85, 0.9); /* Glowing text effect */
|
||||
}
|
||||
|
||||
section .card p {
|
||||
flex-grow: 1;
|
||||
color: rgba(200, 220, 255, 0.8);
|
||||
margin-bottom: 10px;
|
||||
text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
|
||||
text-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Subtle glow on text */
|
||||
}
|
||||
|
||||
section .card::before {
|
||||
|
@ -258,7 +244,7 @@ section .card::before {
|
|||
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;
|
||||
animation: spin 8s linear infinite; /* Adds a subtle spinning effect */
|
||||
}
|
||||
|
||||
section .card .suit-icon {
|
||||
|
@ -272,10 +258,9 @@ section .card .suit-icon {
|
|||
}
|
||||
|
||||
section .card:hover .suit-icon {
|
||||
opacity: 1;
|
||||
opacity: 1; /* Highlight the icon on hover */
|
||||
}
|
||||
|
||||
|
||||
/* Keyframes for spinning element */
|
||||
@keyframes spin {
|
||||
0% {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue