More actions
Created page with ".staff-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px; padding: 20px; margin: 15px 0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); color: white; max-width: 400px; position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } →Citizen skin dark mode compatibility: .skin-theme-clientpref-night .staff-card, .skin-theme-clientpref-auto .staff-card { box-..." |
m Mnooseman moved page Template:StaffCard/styles.css to Template:StaffCard/styles.css.old without leaving a redirect: temporary adjustment |
||
(3 intermediate revisions by the same user not shown) | |||
Line 93: | Line 93: | ||
border-radius: 12px; | border-radius: 12px; | ||
display: inline-block; | display: inline-block; | ||
font-family: ' | font-family: 'Minecraft'; | ||
} | } | ||
Line 155: | Line 155: | ||
.staff-card-status.vacation { | .staff-card-status.vacation { | ||
background: rgba(255, 193, 7, 0.8); | background: rgba(255, 193, 7, 0.8); | ||
color: white; | |||
} | |||
.staff-card-status.retired { | |||
background: rgba(158, 158, 158, 0.8); | |||
color: white; | color: white; | ||
} | } |
Latest revision as of 21:59, 7 July 2025
.staff-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 12px;
padding: 20px;
margin: 15px 0;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
color: white;
max-width: 400px;
position: relative;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Citizen skin dark mode compatibility */
.skin-theme-clientpref-night .staff-card,
.skin-theme-clientpref-auto .staff-card {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.skin-theme-clientpref-night .staff-card:hover,
.skin-theme-clientpref-auto .staff-card:hover {
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.staff-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.staff-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
.staff-card:hover::before {
opacity: 1;
}
.staff-card-header {
display: flex;
align-items: center;
margin-bottom: 15px;
position: relative;
z-index: 1;
}
.staff-card-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
margin-right: 15px;
border: 3px solid rgba(255, 255, 255, 0.3);
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: bold;
text-transform: uppercase;
}
.staff-card-avatar img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.staff-card-info h3 {
margin: 0 0 5px 0;
font-size: 1.4em;
font-weight: 600;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.staff-card-handle {
font-size: 0.9em;
opacity: 0.9;
margin-bottom: 3px;
}
.staff-card-ign {
font-size: 0.85em;
background: rgba(255, 255, 255, 0.2);
padding: 2px 8px;
border-radius: 12px;
display: inline-block;
font-family: 'Minecraft';
}
.staff-card-roles {
margin: 15px 0;
position: relative;
z-index: 1;
}
.staff-card-role {
display: inline-block;
background: rgba(255, 255, 255, 0.25);
padding: 4px 12px;
border-radius: 20px;
font-size: 0.8em;
margin: 2px 4px 2px 0;
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
}
.staff-card-bio {
font-size: 0.9em;
line-height: 1.4;
margin: 15px 0;
opacity: 0.95;
position: relative;
z-index: 1;
}
.staff-card-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
font-size: 0.8em;
opacity: 0.8;
position: relative;
z-index: 1;
}
.staff-card-status {
display: inline-block;
padding: 3px 8px;
border-radius: 10px;
font-size: 0.75em;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.staff-card-status.active {
background: rgba(76, 175, 80, 0.8);
color: white;
}
.staff-card-status.inactive {
background: rgba(158, 158, 158, 0.8);
color: white;
}
.staff-card-status.vacation {
background: rgba(255, 193, 7, 0.8);
color: white;
}
.staff-card-status.retired {
background: rgba(158, 158, 158, 0.8);
color: white;
}
.staff-card-pronouns {
font-style: italic;
opacity: 0.7;
}
.staff-card-meta {
display: flex;
gap: 10px;
flex-wrap: wrap;
align-items: center;
}
@media (max-width: 480px) {
.staff-card {
margin: 10px 0;
padding: 15px;
}
.staff-card-header {
flex-direction: column;
text-align: center;
}
.staff-card-avatar {
margin-right: 0;
margin-bottom: 10px;
}
.staff-card-footer {
flex-direction: column;
gap: 8px;
}
}