Merge branch 'main' of https://interstellardevelopment.org/code/sageTheDm/pages
This commit is contained in:
commit
694926cbea
1 changed files with 33 additions and 14 deletions
47
styles.css
47
styles.css
|
@ -179,8 +179,7 @@ footer {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* card styles */
|
/* Card container styles */
|
||||||
/* Updated card styles with space theme */
|
|
||||||
section .cards {
|
section .cards {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||||
|
@ -188,13 +187,28 @@ section .cards {
|
||||||
margin-top: 50px;
|
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 {
|
section .card {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
list-style: none;
|
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));
|
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;
|
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 */
|
box-shadow: 0 5px 20px rgba(0, 0, 50, 0.8), 0 0 10px rgba(255, 255, 255, 0.1);
|
||||||
border: 1px solid #2e3a60;
|
border: 1px solid #2e3a60;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -206,8 +220,8 @@ section .card {
|
||||||
|
|
||||||
section .card:hover {
|
section .card:hover {
|
||||||
transform: translateY(-8px);
|
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 */
|
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); /* Enhanced glowing effect */
|
box-shadow: 0 10px 30px rgba(0, 0, 100, 0.7), 0 0 20px rgba(255, 221, 85, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
section .card img {
|
section .card img {
|
||||||
|
@ -216,7 +230,7 @@ section .card img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin: 0 auto 15px;
|
margin: 0 auto 15px;
|
||||||
box-shadow: 0 0 15px rgba(255, 221, 85, 0.5); /* Add a space-like glow */
|
box-shadow: 0 0 15px rgba(255, 221, 85, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
section .card h3 {
|
section .card h3 {
|
||||||
|
@ -224,14 +238,14 @@ section .card h3 {
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: rgba(255, 221, 85, 1);
|
color: rgba(255, 221, 85, 1);
|
||||||
text-shadow: 0 0 15px rgba(255, 221, 85, 0.9); /* Glowing text effect */
|
text-shadow: 0 0 15px rgba(255, 221, 85, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
section .card p {
|
section .card p {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
color: rgba(200, 220, 255, 0.8);
|
color: rgba(200, 220, 255, 0.8);
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
text-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Subtle glow on text */
|
text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
section .card::before {
|
section .card::before {
|
||||||
|
@ -244,7 +258,7 @@ section .card::before {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
|
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);
|
box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
|
||||||
animation: spin 8s linear infinite; /* Adds a subtle spinning effect */
|
animation: spin 8s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
section .card .suit-icon {
|
section .card .suit-icon {
|
||||||
|
@ -258,9 +272,10 @@ section .card .suit-icon {
|
||||||
}
|
}
|
||||||
|
|
||||||
section .card:hover .suit-icon {
|
section .card:hover .suit-icon {
|
||||||
opacity: 1; /* Highlight the icon on hover */
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Keyframes for spinning element */
|
/* Keyframes for spinning element */
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
0% {
|
0% {
|
||||||
|
@ -271,7 +286,6 @@ section .card:hover .suit-icon {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Form styling */
|
/* Form styling */
|
||||||
form {
|
form {
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
|
@ -313,6 +327,13 @@ form button:hover {
|
||||||
background-color: var(--accent-hover-color);
|
background-color: var(--accent-hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li a.listElement{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Responsive design */
|
/* Responsive design */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
header ul {
|
header ul {
|
||||||
|
@ -334,5 +355,3 @@ form button:hover {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Help Patrick is forcing me to make weird commit messages 80% of the time*/
|
|
||||||
|
|
Loading…
Reference in a new issue